-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi!

I had the same or at least a similar problem last night while
upgrading from lenny to squeeze.
I've made an apt-get upgrade with squeeze sources in my sources.list,
then upgraded my kernel as well as udev before actually rebooting and
then the server wasn't reachable anymore.

The machine has only one NIC with one IPv4 address on device eth0.

I bootet into a rescue system and /var/log/messages told me one
interesting thing:
==================== BEGIN
Jan 16 01:31:14 totoro kernel: [    5.982343] udev[578]: starting
version 164
Jan 16 01:31:14 totoro kernel: [    6.138042] udev[598]: renamed
network interface eth0 to eth1
==================== END


So i looked at my  /etc/udev/rules.d/70-persistent-net.rules which
then looked like this:
==================== BEGIN
# This file was automatically generated by the /lib/udev/write_net_rules
# program run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line.

# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="40:61:86:e9:d0:be", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="40:61:86:e9:d0:be", ATTR{type}=="1", KERNEL=="eth*",
NAME="eth1"
==================== END


The only thing I had to do to solve the problem is to uncomment the
second line which holds the wrong device name and a different ATTR
than the above. After rebooting the network was up again. :)

I remember that the same thing happened a while ago while i was
upgrading my laptop from lenny to squeeze.

This may be very suboptimal if you are upgrading a remote server and
there's no way to reboot in an rescue system like i did afterwards.


regards,
Norbert
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEAREKAAYFAk0zEicACgkQmwdzxHqfHXYvtgCggLNG3SdzJwOpWQT+E/VY4U8w
er8AoJaTKcgie728yKUKtXDCnU3IfiUL
=Ddkj
-----END PGP SIGNATURE-----




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to