Netbuar A6100在ubuntu 14.04上

我正在尝试在安装了Ubuntu 14.04的Sony Vaio笔记本电脑上使用Netgear A6100无线USB WIFI适配器。 我尝试过其他一些线程无济于事。 安装ubuntu后,预安装的无线网卡从我的wifi路由器丢失了信号。 所以我买了一个usb wireles适配器来解决我的连接问题。 我对使用linux比较陌生,而且还有很多需要学习的东西。

这是lsusb的输出:

Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 003: ID 5986:02d3 Acer, Inc Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 003: ID 3938:1032 Bus 003 Device 002: ID 0846:9052 NetGear, Inc. Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 

任何帮助将不胜感激。

这是输出

 sudo lshw -c network *-network description: Wireless interface product: AR9485 Wireless Network Adapter vendor: Qualcomm Atheros physical id: 0 bus info: pci@0000:01:00.0 logical name: wlan0 version: 01 serial: 08:ed:b9:b8:88:cb width: 64 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical wireless configuration: broadcast=yes driver=ath9k driverversion=3.16.0-46-generic firmware=N/A ip=192.168.1.11 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn resources: irq:16 memory:c0600000-c067ffff memory:c0680000-c068ffff *-network description: Ethernet interface product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller vendor: Realtek Semiconductor Co., Ltd. physical id: 0 bus info: pci@0000:03:00.0 logical name: eth0 version: 07 serial: 30:f9:ed:af:9f:a4 size: 10Mbit/s capacity: 1Gbit/s width: 64 bits clock: 33MHz capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8168e-3_0.0.4 03/27/12 latency=0 link=no multicast=yes port=MII speed=10Mbit/s resources: irq:43 ioport:2000(size=256) memory:c0404000-c0404fff memory:c0400000-c0403fff *-network description: Wireless interface physical id: 1 bus info: usb@3:2 logical name: wlan1 serial: 6c:b0:ce:22:ed:3a capabilities: ethernet physical wireless configuration: broadcast=yes driver=rtl8812au driverversion=3.16.0-46-generic firmware=N/A link=no multicast=yes wireless=unassociated 

您的设备使用罕见且难以捉摸的驱动程序8812au。 请获取临时有线以太网或类似连接,打开终端并执行:

 sudo apt-get update sudo apt-get install linux-headers-generic build-essential git git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git cd ~/rtl8812AU_8821AU_linux make sudo make install sudo modprobe 8812au 

您的无线现在应该正常工作。

当Update Manager安装更高版本的linux映像时,重新编译:

 cd rtl8812AU_8821AU_linux/ make clean make sudo make install sudo modprobe 8812au 

请保留该文件和这些说明。

我们可能需要将内部驱动程序列入黑名单以防止干扰。 请从命令告诉我它的驱动程序:

  sudo lshw -C network 

然后,我将编辑此答案以提供说明。

除了上面的辣椒说明之外,此驱动程序还提供了dkms选项。

 cd git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git cd rtl8812AU_8821AU_linux sudo cp -R . /usr/src/rtl8812AU_8821AU_linux-1.0 sudo dkms add -m rtl8812AU_8821AU_linux -v 1.0 sudo dkms build -m rtl8812AU_8821AU_linux -v 1.0 sudo dkms install -m rtl8812AU_8821AU_linux -v 1.0 

这样,每次更新内核时都不必重新编译驱动程序。

16.04

这个驱动程序的更新版本在更新的内核4+上运行得更好。 WPS LED灯工作,连接更加一致,更多的范围。

运行以下命令进行安装:

 sudo apt-get install linux-headers-$(uname -r) build-essential git gcc-5 git clone https://github.com/diederikdehaas/rtl8812AU.git make CC=/usr/bin/gcc-5 sudo make install sudo modprobe 8812au echo 8812au | sudo tee -a /etc/modules 

点击这里获取更多信息

16.04 Xenial

我在这个网站上没有足够的“声誉”来评论mchid建议使用diederikdehaas驱动程序,但在撰写本文时,diederikdehaas驱动程序不适用于Netgear A6100。 它中缺少一些文件。 为了获得适用于A6100的模块,需要在编译期间启用CONFIG_RTL8821AU,然后由于缺少头文件而导致构建失败。 请参阅https://github.com/diederikdehaas/rtl8812AU/issues/99

我偶然发现了一个看似更完整的类似Github存储库: https ://github.com/Rajpratik71/Realtek-rtl8811AU_8812AU_8821AU_linux-source-code.git此存储库生成的8812au驱动程序与a6100一起使用。

另外还有来自https://github.com/abperiasamy/rtl8812AU_8821AU_linux的rtl8812au驱动程序。

所有这些驱动程序似乎都基于Realtek的MS Window设备驱动程序代码,但没有归属,我没有看到源代码的来源。

上面的8812au驱动器有大约20%的丢包; rtl8812au驱动程序下降了300%。

使用4.4.0内核源代码时,8821ae有一个驱动程序,它是PCI,而不是USB。 也许这个可以适应。