Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
udev-104-r9 ruins net connection, can be fixed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
agrypa1
Apprentice
Apprentice


Joined: 31 Mar 2005
Posts: 244

PostPosted: Wed Feb 14, 2007 4:41 am    Post subject: udev-104-r9 ruins net connection, can be fixed Reply with quote

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
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Wed Feb 14, 2007 6:11 am    Post subject: Reply with quote

Create a udev rule to rename eth0 to "lan" or "inet", or any other name you fancy.
Back to top
View user's profile Send private message
Danse Macabre
n00b
n00b


Joined: 27 Feb 2007
Posts: 1

PostPosted: Tue Feb 27, 2007 10:45 pm    Post subject: Thank you Reply with quote

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. :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum