Moved HDD to another server and networking wont work
The name of your network device will likely have changed. Run
/sbin/ifconfig -a
That should list all of the interfaces that have been detected. You will likely find something like eth1
in there. If you replace eth0
with eth1
in /etc/network/interfaces
and then run
/sbin/ifup eth1
it should bring your network up.
An alternative is to rename your new eth1
to eth0
by editing /etc/udev/rules.d/70-persistent-net.rules
and rebooting.
Note that the interface names may differ on your specific system.