If, like me, you are a fan of Ubuntu and a fan of keeping up to date, then you will have [fairly]recently upgraded to Ubuntu 8.04, or Hardy Heron.
If, like me, you have an nvidia chipset, and networking drivers on your motherboard, chances are you will be using Forcedeth drivers when booting a fresh install/upgrade. This can cause problems with the ethernet controller, rendering your NIC non-working.
Based on a motherboard running the Nvidia Nforce2 570 chipset.
Here is a fix:
Open a terminal and set:
| $ sudo su
# rmmod forcedeth # modprobe forcedeth msi=0 msix=0 # /etc/init.d/networking restart |
This will hopefully get your network up and running (if you’ve had problems). This works on the current session.
However, who wants to type that in every time you boot your computer? A few options here: You can either put it into a boot-time run script, or you can edit your config to automatically set it when the kernel runs it, which is what I’ve done:
| vi /etc/modprobe.d/options |
added the parameters line:
| options forcedeth msi=0 msix=0 |
and then made the changes to the system (assuming you are still logged in as root, otherwise sudo su/password):
| root@Macgyver: /etc/modprobe.d# update-initramfs -u Terminal returns: update-initramfs: Generating /boot/initrd.img-2.6.24-19-generic |
Thats it.
Obviously Ubuntu has moved on now, but for those still using Hardy Heron and the Nforce2 chipset, this fix is still good.