我真的需要帮助才能在 Xubuntu 14.10 上安装此驱动程序。我无法获得我的 WiFi USB 网络加密狗 (elmak SAVIO CL-63),它附带一张 CD-ROM,其中包含适用于 Linux 的芯片组 RT5370 的驱动器。
我有最新的 Linux 头文件,当我运行lsusb
命令时,结果是:
Bus 001 Device 016: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
我运行了命令sudo make clean
,sudo make && make install
编译结束后是:
CC [M] /home/vladimir/2011_0225_RT5370_RT5372_Linux_STA_V2.5.0.1_DPO/os/linux/../../sta/wpa.o
CC [M] /home/vladimir/2011_0225_RT5370_RT5372_Linux_STA_V2.5.0.1_DPO/os/linux/../../sta/ags.o
CC [M] /home/vladimir/2011_0225_RT5370_RT5372_Linux_STA_V2.5.0.1_DPO/os/linux/../../sta/sta_cfg.o
/home/vladimir/2011_0225_RT5370_RT5372_Linux_STA_V2.5.0.1_DPO/os/linux/../../sta/sta_cfg.c: In function ‘RTMPIoctlShow’:
/home/vladimir/2011_0225_RT5370_RT5372_Linux_STA_V2.5.0.1_DPO/os/linux/../../sta/sta_cfg.c:4935:85: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
snprintf(extra, size, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION, __DATE__, __TIME__ );
^
/home/vladimir/2011_0225_RT5370_RT5372_Linux_STA_V2.5.0.1_DPO/os/linux/../../sta/sta_cfg.c:4935:95: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
snprintf(extra, size, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION, __DATE__, __TIME__ );
^
cc1: some warnings being treated as errors
scripts/Makefile.build:257: recipe for target '/home/vladimir/2011_0225_RT5370_RT5372_Linux_STA_V2.5.0.1_DPO/os/linux/../../sta/sta_cfg.o' failed
make[2]: *** [/home/vladimir/2011_0225_RT5370_RT5372_Linux_STA_V2.5.0.1_DPO/os/linux/../../sta/sta_cfg.o] Error 1
Makefile:1345: recipe for target '_module_/home/vladimir/2011_0225_RT5370_RT5372_Linux_STA_V2.5.0.1_DPO/os/linux' failed
make[1]: *** [_module_/home/vladimir/2011_0225_RT5370_RT5372_Linux_STA_V2.5.0.1_DPO/os/linux] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.16.0-28-generic'
Makefile:356: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2
所以我无法安装驱动程序。我添加到blacklist.conf
:
blacklist rt2x00usb
blacklist rt2x00lib
blacklist rt2800usb
/etc/Wireless/RT2870STA$/RT2870STA.dat
并创建了一个目录
我该如何进行?
我建议的第一步是将内部卡的驱动程序列入黑名单,这样驱动程序套件就不会干扰。从终端:
可能需要重新启动。如果这无效,我将通过进一步的步骤编辑此答案。