[lfs-support] udev problem

Casey Daniels mailinglist at cd.kcfam.net
Sun Oct 20 10:47:21 PDT 2013


On 10/20/2013 11:25 AM, Bruce Dubbs wrote:
>
> Are these lines split for email or are they that way in the file?  I
> think you need to escape some newlines. For example,
>
> # 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"
>
> You can also try:
>
> udevadm test --action=ADD /sys/class/net/<device>
>
>     -- Bruce
>
>
Found out something interesting.  As long as I don't try to assign 
anything except the onboard NIC to eth0, it will let me do as I please.  
I can even name the onboard NIC to something other than eth0, but 
anytime I try to name something eth0 (besides the onboard nic) udev just 
does what ever it wants to do.
Casey



More information about the lfs-support mailing list