As others have said - a file in /etc/udev contains the ethX to mac assignment.
In debian, /etc/network/interfaces does NOT reference hardware IDs. Redhat derives have mac addresses in /etc/sysconfig/network-scripts which should be manually twiddled. Another problem is if you're moving from 32 to 64 bit then you should only sync config files. What about boot loader - if you're still using lilo then its... well its crap now. grub2 is the new deb package and it works much better. If you synched /boot and confused the new machine then boot loader could need some tweaking. Glenn Cogle wrote, On 04/12/2011 08:26 PM: > I'm trying to replicate a Debian server, so I > > 1. did a minimal Debian install on the new server, using a different IP > address, then > 2. used rsync to copy /etc /opt /home /usr /lib /bin /sbin /var to new > server, then > 3. rebooted to see how clever I had been. > > But because the hardware is so different, the network interfaces on the > new server are not recognised. > > Is there a file (or files) that I shouldn't have copied forward? > > Can I go though all or part of the Debian installation again to fix the NICs? > > i.e. what should I do different next time? -- Craig Falconer _______________________________________________ Linux-users mailing list [email protected] http://lists.canterbury.ac.nz/mailman/listinfo/linux-users
