[lfs-support] udev problem

Casey Daniels mailinglist at cd.kcfam.net
Sun Oct 20 08:04:08 PDT 2013


On 10/20/2013 10:36 AM, Bruce Dubbs wrote:
> Casey Daniels wrote:
>> My system was working fine, until I decided that I needed to add an
>> additional Network interface card (turned on the previous deactivated
>> onboard NIC).  Now my network card names are all messed up.  I've edited
>> the 70-persistent-net.rules file, but udev seems to be ignoring it and
>> naming devices as it pleases.
>>
>> I have 4 Ethernet Devices and 2 wlan Devices, is that too many for udev
>> to rename properly?
> No.
>
> Can you post your 70-persistent-net.rules file?
>
>     -- Bruce
>
>
>
# 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, and change only the value of the NAME= key.

# net device e1000e
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
ATTR{address}=="XX:XX:XX:XX:XX:XX", ATTR{dev_id}=="0x0", 
ATTR{type}=="1", KERNEL=="eth*", NAME="eth3"

# net device e1000e
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
ATTR{address}=="XX:XX:XX:XX:XX:XX", ATTR{dev_id}=="0x0", 
ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# net device e1000e
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
ATTR{address}=="XX:XX:XX:XX:XX:XX", ATTR{dev_id}=="0x0", 
ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

# net device e1000e
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
ATTR{address}=="XX:XX:XX:XX:XX:XX", ATTR{dev_id}=="0x0", 
ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"

# net device iwlwifi
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
ATTR{address}=="XX:XX:XX:XX:XX:XX", ATTR{dev_id}=="0x0", 
ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

# net device iwlwifi
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
ATTR{address}=="XX:XX:XX:XX:XX:XX", ATTR{dev_id}=="0x0", 
ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan1"

MAC Address replaced with X's, if you need the actual address let me know.

Casey



More information about the lfs-support mailing list