[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: udev - set persistent name for WLAN Adapter



Am 25.04.2015 um 22:20 schrieb Pascal Hambourg:
> csanyipal@gmail.com a écrit :

>> After that, when I replug the WLAN Adapter, I get in
>> 70-persistent-net.rules another line:
>> # USB device 0x:0x (rtl8192cu)
>> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
>> ATTR{address}=="00:e0:4c:81:92:e7", ATTR{dev_id}=="0x0"
>> , ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan1"
>>
>> and after another replugging I get:
>> # USB device 0x:0x (rtl8192cu)
>> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
>> ATTR{address}=="00:e0:4c:81:92:77", ATTR{dev_id}=="0x0"
>> , ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan2"
> 
> Weird that the interface has a different MAC (although very similar)
> address each time.

Indeed, that seems to be the root of the problem.
The changing MAC address causes /lib/udev/write_net_rules to create new
entries.

Pal, what hardware is that specifically?
Any idea why it changes the MAC?

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: