NavigationUser loginSpam?See spam posts on this site? If so, please don't reply to the spam! Instead, just report the URL to the webmaster. |
how to re-install/detect NICI'm running Debian 4 on a server that was dying on me. I took the HD and put it in a new server and everything seems to work except the NIC (they are different NICs entirely). I don't know how to tell Debian how to use the new NIC. I can do a lspci and get the NIC model, but how to I insert it into modprobe? Or is there another way to do this? |
Re: how to re-install/detect NIC
In short:
1) Find the NIC model (yes, lspci is a good start)
2) Find the correct driver, look in /lib/modules/[kernel-version]/kernel/drivers/net
3) Use modprobe to insert the driver
4) verify the correct operation of the driver (configure with ifconfig, use ping)
5) When all works, add the module in /etc/modules.conf (the driver will be loaded on reboot)
HTH,
if not, please let me know.
Marcel