Ever had to replace a NIC in a Linux box and not had it automagically configured by the system? The first hurdle is to make sure you've got the right drivers loaded. One trick to overcome this is to load every driver available; this can be done with the following one-liner:
Code:
for x in `ls /lib/modules/*/kernel/drivers/net/ | sed s/.ko//g`; do modprobe $x; done
Make sure you get the exact syntax correct. The "`" is the button next to the 1 at the top left corner of the keyboard.
After doing this, commands like "ifup eth0" should work. If they don't, You'll want to take a look at
Managing NICs In Linux.