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

Re: udev - set persistent name for WLAN Adapter



songbird <songbird@anthive.com> writes:

> csanyipal@gmail.com wrote:
>> Hello,
>>
>> on my Wheezy system I just can't set a persistent 'wlan0' name for my
>> USB WiFi apadter.
>>
>> In /etc/udev/rules.d/70-persistent-net.rules I have the line:
>> # USB device 0x:0x (rtl8192cu)
>> SUBSYSTEM=="usb", ACTION=="add", DRIVERS=="usb",
>> ATTRS{idVendor}=="0586", ATTRS{idProduct}=="341f", ATT
>> R{manufacturer}=="Realtek", ATTR{product}=="802.11n WLAN Adapter",
>> ATTR{dev_id}=="0x0", ATTR{type}=="1"
>> , KERNEL=="wlan*", NAME="wlan0"

>   i'm not sure if the above is the exact entry, but if it
> is the entry should be all on one line.

Actually it is all on one line in the 70-persistent-net.rules file .

I should wrote here like:
# USB device 0x:0x (rtl8192cu)
SUBSYSTEM=="usb", ACTION=="add", DRIVERS=="usb", \
ATTR{idVendor}=="0586", ATTR{idProduct}=="341f", \
ATTR{manufacturer}=="Realtek", \
ATTR{product}=="802.11n WLAN Adapter", ATTR{dev_id}=="0x0", \
ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

-- 
Regards from Pal


Reply to: