在 Xubuntu 14.10 上“不可能”安装 Ralink rt5370 驱动程序

在 Xubuntu 14.10 上“不可能”安装 Ralink rt5370 驱动程序

我确实需要帮助才能在 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并创建了一个目录

我该如何继续?

答案1

我建议的第一步是将内部卡的驱动程序列入黑名单,以便驱动程序套件不会干扰。从终端:

sudo -i
echo "blacklist ath5k"  >>  /etc/modprobe.d/blacklist.conf
modprobe -r ath5k
exit

可能需要重新启动。如果此方法无效,我将编辑此答案并添加进一步的步骤。

相关内容