2

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?

Tamás Szelei
  • 4,032
  • 5
  • 21
  • 21

1 Answers1

3

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
Lekensteyn
  • 171,743
  • 65
  • 311
  • 401
mikewhatever
  • 32,243
  • 10
  • 87
  • 98