Cheers Craig, With ifconfig -a I was able to see it was using eth1 so changed /etc/network/interfaces to use eth1 and it is all good now.
Regards, Bryce. > -----Original Message----- > From: Craig Falconer [mailto:cfalco...@totalteam.co.nz] > Sent: Wednesday, 27 January 2010 1:23 p.m. > To: linux-users@it.canterbury.ac.nz > Subject: Re: Ubuntu server: no network after restore to new hardware? > > 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 > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 9.0.730 / Virus Database: 271.1.1/2646 - Release > Date: 01/26/10 20:46:00 > DISCLAIMER: If you have received this email in error, please notify us immediately by reply email, facsimile or collect telephone call to +64 3 9641200 and destroy the original. Please refer to full DISCLAIMER at http://www.hrnz.co.nz/eDisclaimer.htm