csanyi...@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 did run: > # udevadm control --reload-rules > > 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" > > So what am I missing here? > Why can't I set a persistent name for my WLAN Adapter?
i'm not sure if the above is the exact entry, but if it is the entry should be all on one line. i don't use the dev_id or kernel bits (not sure if this matters). songbird -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/3s9t0c-tu2....@id-306963.user.uni-berlin.de