我使用Ubuntu 11.04有Trim-Slice值。它带有Ralink RT5370 802.11n WiFi加密狗。
当我插入加密狗时,它“无法正常工作”;ifconfig
并且iwconfig
不显示设备,尽管lsusb
确实显示了列出的设备:
phrogz@trimslice:~$ lsusb | grep Ralink
Bus 001 Device 004: ID 148f:5370 Ralink Technology, Corp.
我从Ralink的Linux Drivers网站下载了RT5370的链接,结果得到一个名为的文件2011_0225_RT5370_RT5372_Linux_STA_V2.5.0.1_DPO.tar.bz2
。解压缩后,文件中唯一的自述文件提到了“ RT2870 Wireless Lan Linux Driver”。但是,目录根目录下的Makefile确实包含以下几行:
ifeq ($(CHIPSET),)
CHIPSET = 5370
endif
我进行了编辑os/linux/config.mk
以具有以下设置:
# Support Wpa_Supplicant
HAS_WPA_SUPPLICANT=y
# Support Native WpaSupplicant for Network Maganger
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y
但是,当我返回解压缩目录的根目录并运行make
时,它将失败:
phrogz@trimslice:~/2011_0225_RT5370_RT5372_Linux_STA_V2.5.0.1_DPO$ sudo make
[sudo] password for phrogz:
make -C tools
make[1]: Entering directory `/home/phrogz/2011_0225_RT5370_RT5372_Linux_STA_V2.5.0.1_DPO/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/home/phrogz/2011_0225_RT5370_RT5372_Linux_STA_V2.5.0.1_DPO/tools'
/home/phrogz/2011_0225_RT5370_RT5372_Linux_STA_V2.5.0.1_DPO/tools/bin2h
cp -f os/linux/Makefile.6 /home/phrogz/2011_0225_RT5370_RT5372_Linux_STA_V2.5.0.1_DPO/os/linux/Makefile
make -C /lib/modules/2.6.38.3-trimslice-1.03/build SUBDIRS=/home/phrogz/2011_0225_RT5370_RT5372_Linux_STA_V2.5.0.1_DPO/os/linux modules
make: *** /lib/modules/2.6.38.3-trimslice-1.03/build: No such file or directory. Stop.
make: *** [LINUX] Error 2
如何为该设备构建驱动程序?
我使用使用相同芯片的Tenda W311M。感谢您提及驱动程序的下载URL。
这个线程http://ubuntuforums.org/showthread.php?t=1285828提到了解决方案。
我希望这个对你有用。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句