Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Although my ethernet card worked, I had very bad latency and speed. I looked up the hardware and I found a driver. Having run its autorun.sh script makes the hardware work correctly. It loads the module by calling modprobe. However, I have to do this after every boot. How can I permanently install this module?

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

Just add the module to /etc/modules to make sure it's autoloaded at boot. Use the following command

echo r8168 | sudo tee -a /etc/modules

or edit /etc/modules with your favorite text editor and add r8168 to the bottom.

After adding the module, the initial ramdisk should be updated with this driver, run:

sudo update-initramfs -u
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.