Problem: | When a USB wireless device using the rt73 driver is plugged in under Linux, it appears (e.g. in ifconfig) as rausb0 rather than the more familiar device name wlan0. |
Solution: | Add the following line to your /etc/udev/rules.d/70-persistent-net.rules in order to rename the device:ACTION=="add", KERNEL=="rausb0", NAME="wlan0" |
To diagnose this sort of problems, launch udevadm monitor
before running modprobe rt73
. The correct output of udevadm monitor
while the renaming rule is in effect should look as follows:
UEVENT[1232279287.492254] add /module/rt73 (module) UEVENT[1232279287.494837] add /bus/usb/drivers/rt73 (drivers) UEVENT[1232279287.496842] add /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1:1.0/rausb0 (net) UEVENT[1232279287.501910] add /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1 (firmware) UDEV [1232279287.505345] add /module/rt73 (module) UDEV [1232279287.508952] add /bus/usb/drivers/rt73 (drivers) UDEV [1232279287.534015] add /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1:1.0/wlan0 (net) UEVENT[1232279287.555346] remove /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1 (firmware) UDEV [1232279287.558466] remove /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1 (firmware) UDEV [1232279287.561163] add /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1 (firmware)
No comments:
Post a Comment