Open alexharrington opened 7 years ago
Hi Alex,
I went ahead and followed your instruction successfully. I'm surprised this wasn't an option previously. Is there anyway to automatically check for updates or do I just check back periodically?
Also, if there is an update would you mind sharing the steps to replace? Do I delete the Netgear directory under /usr/src and simply reinstall/repeat the steps?
Edit: I just noticed you had your own updated zip with the dkms.conf. LOL I will keep following you in case you have any other improvements.
Ubuntu (Zorin) 14.04 x64 - Netgear A6210
Thanks for helping out!
I very much doubt I'll make any further changes. The adapter I was using with this wasn't working that well so I've swapped it out for now. I just wanted to be sure while I was using it, that if the kernel was updated the module would be automatically rebuilt for the newer version. There's no other automatic update built in.
The only change is the dkms.conf file which you can apply to the original maintainers repo locally if they choose not to merge this in.
Funnily enough I updated the kernel earlier yesterday - I wish I'd have found this prior just to fully test it.
So if the driver is updated or changed by the author do I just delete the folder under /usr/src and reinstall using the same procedure?
Thanks again.
Exactly so. Remove the /usr/src folder, pull down fresh source from the author, add the dkms.conf file, and then use dkms to rebuild.
I was reading a thread regarding a driver issue recompiling and the issue was resolved using the line: MAKE[0]="'make' all KVER=${kernelver}"
What is the difference between that and: MAKE[0]="make -j$(nproc) && make install" ?
Thanks again for the generosity.
I really don't know I'm afraid. I just took an example dkms.conf file and modified it until it works.
Add dkms.conf so that you can install the module via DKMS and have it automatically re-built on kernel upgrade.