我环顾四周并在类似的主题中找到了某些答案,但对我而言却不起作用。
我尝试安装从此站点获取的驱动程序http://www.drivers.ga/2015/10/download-driver-asus-usb-n53-b1-n600.html适用于我的华硕 USB-N53 适配器 Wireless-N600。
按照以下自述文件中的说明进行操作:
Build Instructions:
====================
1> tar -jxvf 2011_1003_RT3572_Linux_STA_v2.5.0.0.DPO.tar.bz2
go to "./2011_1003_RT3572_Linux_STA_v2.5.0.0.DPO" directory.
2> switch to super user.
** for Fedora
$su
** for Ubuntu
$sudo su
3> in Makefile
set the "MODE = STA" in Makefile and chose the TARGET to Linux by set "TARGET = LINUX"
define the linux kernel source include file path LINUX_SRC
modify to meet your need.
4> in os/linux/config.mk
define the GCC and LD of the target machine
define the compiler flags CFLAGS
modify to meet your need.
** Build for being controlled by NetworkManager or wpa_supplicant wext functions
Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y'.
=> #>cd wpa_supplicant-x.x
=> #>./wpa_supplicant -Dwext -ira0 -c wpa_supplicant.conf -d
** Build for being controlled by WpaSupplicant with Ralink Driver
Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n'.
=> #>cd wpa_supplicant-0.5.7
=> #>./wpa_supplicant -Dralink -ira0 -c wpa_supplicant.conf -d
5> compile driver source code
$make
=======================================================================
Install Instructions:
================================
1> load driver
$make install
2> plug in USB dongle.
But I'm a total newbie, I want to learn how Linux works but I don't want to do bad things, so I found some help in this topic http://askubuntu.com/questions/102956/how-do-i-install-an-asus-usb-n53-wifi-adapter
After following these instructions I found myself stuck at the 7th step "Install the module".
I'm getting those errors :
DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Wrap: allocate %d bytes memory failure.
DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Wrap: allocate %d bytes memory failur
DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Unwrap: allocate %d bytes memory failur
DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Unwrap: allocate %d bytes memory failur
gned int’ [-Wformat=]
DBGPRINT(RT_DEBUG_ERROR, ("%s unable to alloc memory for measure report buffe
DBGPRINT(RT_DEBUG_ERROR, ("%s unable to alloc memory for measure report buffe
DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION_
^
DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION_
/home/lionel/Téléchargements/Linux/2011_1003_RT3572_Linux_STA_v2.5.0.0.DPO/os/linux/../../sta/sta_cfg.c:4926:85: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
intf(extra, size, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION, __DATE__, _
^
/home/lionel/Téléchargements/Linux/2011_1003_RT3572_Linux_STA_v2.5.0.0.DPO/os/linux/../../sta/sta_cfg.c:4926:95: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
, size, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION, __DATE__, __TIME__ );
^
cc1: some warnings being treated as errors
scripts/Makefile.build:258 : la recette pour la cible « /home/lionel/Téléchargements/Linux/2011_1003_RT3572_Linux_STA_v2.5.0.0.DPO/os/linux/../../sta/sta_cfg.o » a échouée
make[2]: *** [/home/lionel/Téléchargements/Linux/2011_1003_RT3572_Linux_STA_v2.5.0.0.DPO/os/linux/../../sta/sta_cfg.o] Erreur 1
Makefile:1403 : la recette pour la cible « _module_/home/lionel/Téléchargements/Linux/2011_1003_RT3572_Linux_STA_v2.5.0.0.DPO/os/linux » a échouée
make[1]: *** [_module_/home/lionel/Téléchargements/Linux/2011_1003_RT3572_Linux_STA_v2.5.0.0.DPO/os/linux] Erreur 2
make[1] : on quitte le répertoire « /usr/src/linux-headers-4.4.0-38-generic »
Makefile:243 : la recette pour la cible « LINUX » a échouée
make: *** [LINUX] Erreur 2
抱歉发了这么长的帖子,我不知道该向您展示什么来帮助我,而且我无法向您展示所有内容......
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Linux 4.4.0-38-generic #57-Ubuntu SMP Tue Sep 6 15:42:33 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Parameters: ro, quiet, splash, vt.handoff=7
lsusb
获取 Wi-Fi 密钥
Bus 003 Device 007: ID 0b05:180b ASUSTek Computer, Inc.
嘿,辣椒,谢谢你的回答!
我尝试了您告诉我的方法,但是遇到了一些麻烦。
我想尝试一下我的无线连接,因此我插入了 USB 密钥,当 Ubuntu 检测到它后,出现了一个错误,要求我报告它。
当我拔掉电源插头时,我的电脑就冻结了,我不得不手动关机。
从那时起,每次我插上它,我都无法退出终端或其他窗口,必须手动关机。在终端中出现警告:
/home/lionel/Netgear-A6210/os/linux/../../common/cmm_data.c: 在函数“TxPktClassification”中:/home/lionel/Netgear-A6210/os/linux/../../common/cmm_data.c:1085:4:警告:建议在“||”内的“&&”周围加上括号 [-Wparentheses] &&(TxFrameType == TX_LEGACY_FRAME)
我不知道这是否与我的问题有关。
我认为(我说我认为是因为钥匙的灯没有亮)已设法用它连接到 Wi-Fi,但我无法再这样做了。
答案1
我建议,通过以太网、网络共享或任何可能的方式建立临时的互联网连接,打开终端并执行以下操作:
sudo apt update
sudo apt install git
git clone https://github.com/jurobystricky/Netgear-A6210.git
cd Netgear-A6210
make
sudo make install
sudo modprobe mt7662u_sta
您的无线网络现在应该可以正常工作了。
当 Update Manager 安装更高版本的内核(也称为 linux-image)时,重新编译:
cd Netgear-A6210
make clean
make
sudo make install
sudo modprobe mt7662u_sta
请保留该文件和这些说明。
为了尽量减少内部无线和 USB 之间的冲突,我建议您将其驱动程序列入黑名单:
sudo -i
echo "blacklist ath9k" >> /etc/modprobe.d/blacklist.conf
exit
重启。