![如何在 Ubuntu 12.04 上运行 ID 148f:5370 Ralink Technology, Corp. RT5370 无线适配器](https://linux22.com/image/845505/%E5%A6%82%E4%BD%95%E5%9C%A8%20Ubuntu%2012.04%20%E4%B8%8A%E8%BF%90%E8%A1%8C%20ID%20148f%3A5370%20Ralink%20Technology%2C%20Corp.%20RT5370%20%E6%97%A0%E7%BA%BF%E9%80%82%E9%85%8D%E5%99%A8.png)
我在 Ubuntu 12.04 机器上运行 ID 148f:5370 Ralink Technology, Corp. RT5370 无线适配器时遇到了问题。我已从http://www.mediatek.com/_en/07_downloads/dl.php并编译它们并激活对以下项的支持:
HAS_WPA_SUPPLICANT=y
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y
make 和 make install 没有任何问题。
我还将其添加到黑名单中:
blacklist rt2800usb
blacklist rt2870sta
插入设备时我得到
[ 1625.120102] usb 1-1.2: new high-speed USB device number 7 using ehci_hcd
[ 1625.232103]
[ 1625.232106]
[ 1625.232107] === pAd = ffffc900228ea000, size = 598360 ===
[ 1625.232109]
[ 1625.232241] <-- RTMPAllocAdapterBlock, Status=0
[ 1625.232419] Efuse Size=0x2d [2d0-2fc]
[ 1625.232776] NVM is EFUSE
[ 1625.249500] ADDRCONF(NETDEV_UP): ra0: link is not ready
Syslog 对此进行了一些扩展:
Nov 19 17:27:03 betschwa kernel: [ 1625.120102] usb 1-1.2: new high-speed USB device number 7 using ehci_hcd
Nov 19 17:27:03 betschwa kernel: [ 1625.232103]
Nov 19 17:27:03 betschwa kernel: [ 1625.232106]
Nov 19 17:27:03 betschwa kernel: [ 1625.232107] === pAd = ffffc900228ea000, size = 598360 ===
Nov 19 17:27:03 betschwa kernel: [ 1625.232109]
Nov 19 17:27:03 betschwa kernel: [ 1625.232241] <-- RTMPAllocAdapterBlock, Status=0
Nov 19 17:27:03 betschwa mtp-probe: checking bus 1, device 7: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2"
Nov 19 17:27:03 betschwa kernel: [ 1625.232419] Efuse Size=0x2d [2d0-2fc]
Nov 19 17:27:03 betschwa kernel: [ 1625.232776] NVM is EFUSE
Nov 19 17:27:03 betschwa mtp-probe: bus: 1, device: 7 was not an MTP device
Nov 19 17:27:03 betschwa NetworkManager[1092]: SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/net/ra0, iface: ra0)
Nov 19 17:27:03 betschwa NetworkManager[1092]: SCPlugin-Ifupdown: device added (path: /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/net/ra0, iface: ra0): no ifupdown configuration found.
Nov 19 17:27:03 betschwa NetworkManager[1092]: <warn> failed to allocate link cache: (-10) Operation not supported
Nov 19 17:27:03 betschwa NetworkManager[1092]: <info> (ra0): driver does not support SSID scans (scan_capa 0x00).
Nov 19 17:27:03 betschwa NetworkManager[1092]: <info> (ra0): using WEXT for WiFi device control
Nov 19 17:27:03 betschwa NetworkManager[1092]: <error> [1384878423.166788] [nm-device-wifi.c:2591] real_update_permanent_hw_address(): (ra0): unable to read permanent MAC address (error 0)
Nov 19 17:27:03 betschwa NetworkManager[1092]: <info> (ra0): new 802.11 WiFi device (driver: 'usb' ifindex: 7)
Nov 19 17:27:03 betschwa NetworkManager[1092]: <info> (ra0): exported as /org/freedesktop/NetworkManager/Devices/6
Nov 19 17:27:03 betschwa NetworkManager[1092]: <info> (ra0): now managed
Nov 19 17:27:03 betschwa NetworkManager[1092]: <info> (ra0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Nov 19 17:27:03 betschwa NetworkManager[1092]: <info> (ra0): bringing up device.
Nov 19 17:27:03 betschwa NetworkManager[1092]: <info> (ra0): deactivating device (reason 'managed') [2]
Nov 19 17:27:03 betschwa NetworkManager[1092]: <warn> (ra0): error 100 getting card mode
Nov 19 17:27:03 betschwa NetworkManager[1092]: <error> [1384878423.168059] [wifi-utils-wext.c:155] wifi_wext_set_mode(): (ra0): error setting mode 2
Nov 19 17:27:03 betschwa kernel: [ 1625.249500] ADDRCONF(NETDEV_UP): ra0: link is not ready
Nov 19 17:27:03 betschwa NetworkManager[1092]: <warn> (ra0): error 100 getting card mode
我还遗漏了什么?是否有任何可用的 Ubuntu deb?