You are not logged in.

#1 2010-07-05 14:41:48

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,464

[SOLVED] Here's another eth0-eth1 swapping names thread!

Hi all, i know the solution has been posted many times, but a solution i found in the wiki doesn't seems to work for me.

Gozer ~ # cat /etc/udev/rules.d/10-network.rules 
SUBSYSTEM=="net", ATTR{address}=="00:22:B0:BC:9C:A7", NAME="eth0"
SUBSYSTEM=="net", ATTR{address}=="90:E6:BA:77:5F:35", NAME="eth1"

Gozer ~ # ifconfig -a eth0 |grep HWaddr
eth0      Link encap:Ethernet  HWaddr 90:E6:BA:77:5F:35  
Gozer ~ # ifconfig -a eth1 |grep HWaddr
eth1      Link encap:Ethernet  HWaddr 00:22:B0:BC:9C:A7

They just swapped again, what am i doing wrong?
Is there a way to debug udev?

Thanks.

Last edited by kokoko3k (2010-07-05 15:07:55)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#2 2010-07-05 14:51:13

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Here's another eth0-eth1 swapping names thread!

Do you need both cards? If not maybe you can simply remove the other network card and put it on the shelf. Problem solved.

http://wiki.archlinux.org/index.php/Ude … _Each_Boot

Make sure to use the lower-case hex values in your udev rules. It doesn't like upper-case.

Edit: typo.

Last edited by karol (2010-07-05 14:54:12)

Offline

#3 2010-07-05 14:53:09

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,464

Re: [SOLVED] Here's another eth0-eth1 swapping names thread!

Yes, i need them both.
And
"d'oh"
going to lowercase them, sorry.


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

Board footer

Powered by FluxBB