You are not logged in.

#1 2010-08-01 18:08:10

mac01021
Member
From: CT, USA
Registered: 2010-07-30
Posts: 5

[SOLVED] udev won't rename NICs?

Hi everyone.  I am trying to get Arch configured on my aluminum macbook pro (following the wiki, of course) and have run into a snag or two.  Any help is much appreciated.

The short version is that I created a udev rules file to rename my two network devices, but udev is not renaming them.  Read on for greater detail


As suggested in http://wiki.archlinux.org/index.php/Bro … every_time, I wrote a  /etc/udev/rules.d/10-network.rules file with the following.

SUBSYSTEM=="net",  ATTR{address}=="00:26:4A:03:3A:0A", NAME="wlan"
SUBSYSTEM=="net",  ATTR{address}=="00:26:08:E1:13:38", NAME="lan"

I made sure to use the two new names in the network section of /ect/rc.conf but, after rebooting, there is no working network connection, and

 ifconfig -a 

still yields eth0 and eth1, rather than lan and wlan.


I set udev's logging mode to "debug" and, after rebooting, looked at /var/log/message.log.  It appears that udev is reading my rules file when it starts up, but never ends up applying the rules to any device.

I also tried a couple of different rule variations (found via google), such as replacing SUBSYSTEM=="net" with KERNEL=="eth*", to no avail.

Also, while I'm here asking questions, can anybody tell me where the network section of rc.conf fits into the process described here ?

Last edited by mac01021 (2010-08-01 20:03:49)


mac

Offline

#2 2010-08-01 18:49:31

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

Re: [SOLVED] udev won't rename NICs?

Use lowercase.

In your address: e instead of E, a instead of A.

Last edited by karol (2010-08-01 18:52:05)

Offline

#3 2010-08-01 19:56:11

mac01021
Member
From: CT, USA
Registered: 2010-07-30
Posts: 5

Re: [SOLVED] udev won't rename NICs?

Brilliant. 

I'm happy that it was just a simple mistake on my part.

Many thanks.


mac

Offline

Board footer

Powered by FluxBB