Bryce Stenberg wrote, On 27/01/10 13:14:
I've been continuing my experimentation with backup and restore using
Ubuntu server 9.04.
Today I restored my system to completely different hardware to see how
it coped. Went from an old Intel P4 with PATA drives and 100mbps realtek
network card to an Intel quad core with sata drives, nvidia graphics
card and onboard 1Gbps network card.
After restoring the only thing not going seems to be my network connection.
In my /etc/network/interfaces I still have the lines:
auto eth0
iface eth0 inet dhcp
ifconfig only shows local loopback.
I may have restored something that I shouldn't have, or missed something off?
I was hoping someone could give me ideas of what to look at to locate
the problem as I really haven't got my head around how linux handles
things like network cards and how the drivers fit in...
Sounds like you haven't got a module loaded for the NIC in the new
machine. What kind of network card does it have?
You might need to twiddle the contents of
/etc/modules or /etc/modules.conf if the old one has been explicitly
specified there.
Or try doing an ifconfig -a because plain ifconfig only shows
interfaces that are up.
dmesg | grep -i eth should give some kind of hints
lspci | grep -i eth also should suggest something useful
Is the onboard NIC disabled in the BIOS ?
--
Craig Falconer