View previous topic :: View next topic |
Author |
Message |
agrypa1 Apprentice
Joined: 31 Mar 2005 Posts: 244
|
Posted: Wed Feb 14, 2007 4:41 am Post subject: udev-104-r9 ruins net connection, can be fixed |
|
|
Hi,
I just wanted to share that upgrading from udev-087-r1 (stable on amd64) to udev-104-r9 (laso marked stable for amd64 just recently) ruined my internet connection. Bu it can be fixed. The trouble is that two firewire interfaces become eth0 and eth1 with new udev-104-r9 (ethernet card becoming eth2) That puts one in trouble if the ethernet interface was eth0 under udev-087-r1!!
The common error will read: eth0 is not Ethernet or Token Ring device
Quick fix:
rm -f /etc/init.d/net.eth0
ln -s /etc/init.d/net.lo /etc/init.d/net.eth2
And then in /etc/conf.d/net one has to change all the settings used for "eth0" and replace them with "eth2".
After that net.eth2 is to be added in the default runlevel for the kernel used.
eselect rc delete net.eth0 default
eselect rc add net.eth2 default
regards,
Agryppa _________________ The first successor of Saint Peter was Linus (a.d. 68-79) - whose namesake became the creator of Linux in our time. Torvalds' middle name is Benedict - the name assumed by the previous Pope who resigned from office. |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Wed Feb 14, 2007 6:11 am Post subject: |
|
|
Create a udev rule to rename eth0 to "lan" or "inet", or any other name you fancy. |
|
Back to top |
|
|
Danse Macabre n00b
Joined: 27 Feb 2007 Posts: 1
|
Posted: Tue Feb 27, 2007 10:45 pm Post subject: Thank you |
|
|
Quote: | The common error will read: eth0 is not Ethernet or Token Ring device |
I just ran into this exact problem. If you hadn't posted your solution, I would probably be
looking at dhcpcd documentation right now.
Thank you profoundly. |
|
Back to top |
|
|
|