我的 netgear 无线适配器似乎与这线程,但这些步骤最终对我不起作用。没有给出错误。注意:这是第二次尝试,因此一些文件已经安装/更新。我使用的是全新安装的 Ubuntu 16.04,我不习惯这个环境。
这是每个步骤之后的终端:
注意:我不能发布超过 2 个链接,因此我删除了 hits/gets 前面的 http://。
$ lsusb Bus 001 Device 005: ID 0846:9011 NetGear, Inc. WNDA3100v2 802.11abgn [Broadcom BCM4323] $ sudo apt-get update Hit:1 us.archive.ubuntu.com/ubuntu xenial InRelease Get:2 us.archive.ubuntu.com/ubuntu xenial-updates InRelease [95.7 kB] Hit:3 us.archive.ubuntu.com/ubuntu xenial-backports InRelease Get:4 us.archive.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB] Fetched 190 kB in 1s (142 kB/s) Reading package lists... Done $ sudo apt-get install ndiswrapper-common ndiswrapper-utils-1.9 Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'ndiswrapper' instead of 'ndiswrapper-common' ndiswrapper is already the newest version (1.59-6). ndiswrapper-utils-1.9 is already the newest version (1.59-6). 0 upgraded, 0 newly installed, 0 to remove and 59 not upgraded.
下载了帖子#6 中的文件并将其放到我的桌面上。
$ arch x86_64 $ cd ~/Desktop/Broadcom_bcm43xx_USB_32_64bit_v2
我的命令行现在显示为:
shawn@shawn-Z68XP-UD3P:~/Desktop/Broadcom_bcm43xx_USB_32_64bit_v2$
由于 arch 返回 x84_64 我发出了:
$ sudo ndiswrapper -i bcmn43xx64.inf driver bcmn43xx64 is already installed $ sudo ndiswrapper -ma module configuration information is stored in /etc/modprobe.d/ndiswrapper.conf
这一步没有返回任何信息。
sudo depmod -a
这一步也没有返回任何信息。
sudo modprobe ndiswrapper
感谢您的帮助。我本来想给上一个帖子的答案作者 Chili555 发私信,但我找不到选项。(也许我需要更多的声誉?)
编辑1:
$ dmesg | grep ndis
[25668.481615] rndis_host 5-2:1.0 usb0: register 'rndis_host' at usb-0000:06:00.0-2, RNDIS device, 02:06:52:50:34:39
[25668.481640] usbcore: registered new interface driver rndis_host
[25668.490912] rndis_host 5-2:1.0 enp6s0u2: renamed from usb0
使用正确的适配器:
$ dmesg | grep ndis
[25668.481615] rndis_host 5-2:1.0 usb0: register 'rndis_host' at usb-0000:06:00.0-2, RNDIS device, 02:06:52:50:34:39
[25668.481640] usbcore: registered new interface driver rndis_host
[25668.490912] rndis_host 5-2:1.0 enp6s0u2: renamed from usb0
[27435.290896] rndis_host 5-2:1.0 enp6s0u2: unregister 'rndis_host' usb-0000:06:00.0-2, RNDIS device
[53404.308888] rndis_host 5-2:1.0 usb0: register 'rndis_host' at usb-0000:06:00.0-2, RNDIS device, 02:06:52:50:34:39
[53404.321914] rndis_host 5-2:1.0 enp6s0u2: renamed from usb0
[53499.506118] ndiswrapper: module verification failed: signature and/or required key missing - tainting kernel
[53499.507750] ndiswrapper version 1.59 loaded (smp=yes, preempt=no)
[53499.681200] ndiswrapper: driver bcmn43xx64 (,08/26/2009, 5.10.79.30) loaded
[53499.788872] rndis_host 5-2:1.0 enp6s0u2: unregister 'rndis_host' usb-0000:06:00.0-2, RNDIS device
[53500.230542] usbcore: registered new interface driver ndiswrapper
[53500.236500] ndiswrapper 1-1.4:1.0 enxe0469a00acaa: renamed from wlan0
[53500.261564] ndiswrapper: interface renamed to 'enxe0469a00acaa'
[53522.657592] rndis_host 5-2:1.0 usb0: register 'rndis_host' at usb-0000:06:00.0-2, RNDIS device, 02:06:52:50:34:39
[53522.676968] rndis_host 5-2:1.0 enp6s0u2: renamed from usb0
答案1
根据评论,重新安装ndiswrapper
并重新执行安装后的步骤解决了该问题。要重新安装ndiswrapper
:
sudo apt-get install --reinstall ndiswrapper ndiswrapper-dkms