Re: new problem - networking is strange
On Saturday 04 April 2009 19:07:53 Miles Fidelman wrote:
> H.S. wrote:
> > Miles Fidelman wrote:
> > Is udev giving your interface a new name (ethx instead of, say eth0)?
> how would I check that, and why would it just start doing that?
I ran into this a while ago.
In "etch" systems, udev maintains a list of mappings between
MAC addresses and network device names -- it's in a file
with a name like "persistent-net.rules" or something.
If you transplant a system image including this file onto
new hardware, the system refuses to assign an existing device
name to a "conflicting" MAC address, and increments the device
name instead. If (as is very likely) your transplanted system
image includes /etc/network/interface files and/or firewall
rules which refer to the interface by name, they break.
The solution is to edit the file and remove the stanza
with the "conflicting" MAC address.
I just tried to find the exact file name on my current
"lenny" system, but things appear to be more complicated --
maybe this behavior is fixed in lenny?
Andrew Reid / email@example.com