我已阅读并关注了有关此主题的几篇不同帖子,包括尝试使用 ndiswrapper。似乎没有什么能让这个 USB 无线适配器正常工作。我需要一位专家来帮助我完成这项工作。
mark@mark-Studio:~$ lsusb
Bus 002 Device 004: ID 058f:6363 Alcor Micro Corp.
Bus 002 Device 005: ID 18d1:4ee1 Google Inc. Nexus 4
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 002: ID 0461:4d64 Primax Electronics, Ltd
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 13b1:0039 Linksys AE1200 802.11bgn Wireless Adapter [Broadcom BCM43235]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
mark@mark-Studio:~$ ndiswrapper -l
bcmwlhigh6 : driver installed
device (13B1:0039) present
mark@mark-Studio:~$
这是 dmeg 的东西......
mark@mark-Studio:~$ dmesg | grep ndis
[ 22.443197] ndiswrapper: module verification failed: signature and/or required key missing - tainting kernel
[ 22.444103] ndiswrapper version 1.59 loaded (smp=yes, preempt=no)
[ 22.678387] usbcore: registered new interface driver ndiswrapper
[127938.097580] ndiswrapper (import:232): unknown symbol: NDIS.SYS:'NdisAllocateIoWorkItem'
[127938.097589] ndiswrapper (import:232): unknown symbol: NDIS.SYS:'NdisQueueIoWorkItem'
[127938.097593] ndiswrapper (import:232): unknown symbol: NDIS.SYS:'NdisMSendNetBufferListsComplete'
[127938.097598] ndiswrapper (import:232): unknown symbol: NDIS.SYS:'NdisMIndicateReceiveNetBufferLists'
[127938.097602] ndiswrapper (import:232): unknown symbol: NDIS.SYS:'NdisFreeIoWorkItem'
[127938.097606] ndiswrapper (import:232): unknown symbol: NDIS.SYS:'NdisMSetMiniportAttributes'
[127938.097612] ndiswrapper (import:232): unknown symbol: NDIS.SYS:'NdisMDeregisterMiniportDriver'
[127938.097616] ndiswrapper (import:232): unknown symbol: NDIS.SYS:'NdisMResetComplete'
[127938.097620] ndiswrapper (import:232): unknown symbol: NDIS.SYS:'NdisMPauseComplete'
[127938.097624] ndiswrapper (import:232): unknown symbol: NDIS.SYS:'NdisAllocateNetBufferListPool'
[127938.097632] ndiswrapper (import:232): unknown symbol: NDIS.SYS:'NdisMOidRequestComplete'
[127938.097636] ndiswrapper (import:232): unknown symbol: NDIS.SYS:'NdisFreeNetBufferListPool'
[127938.097640] ndiswrapper (import:232): unknown symbol: NDIS.SYS:'NdisMRegisterMiniportDriver'
[127938.097644] ndiswrapper (import:232): unknown symbol: NDIS.SYS:'NdisOpenConfigurationEx'
[127938.097648] ndiswrapper (import:232): unknown symbol: NDIS.SYS:'NdisSetTimerObject'
[127938.097653] ndiswrapper (import:232): unknown symbol: NDIS.SYS:'NdisAllocateTimerObject'
[127938.097658] ndiswrapper (import:232): unknown symbol: NDIS.SYS:'NdisCancelTimerObject'
[127938.097662] ndiswrapper (import:232): unknown symbol: NDIS.SYS:'NdisFreeNetBufferList'
[127938.097666] ndiswrapper (import:232): unknown symbol: NDIS.SYS:'NdisMIndicateStatusEx'
[127938.097672] ndiswrapper (import:232): unknown symbol: NDIS.SYS:'NdisGetSystemUpTimeEx'
[127938.097676] ndiswrapper (import:232): unknown symbol: NDIS.SYS:'NdisAllocateNetBufferAndNetBufferList'
[127938.097680] ndiswrapper (import:232): unknown symbol: NDIS.SYS:'NdisAllocateMdl'
[127938.097684] ndiswrapper (import:232): unknown symbol: NDIS.SYS:'NdisFreeMdl'
[127938.097692] ndiswrapper (import:232): unknown symbol: NDIS.SYS:'NdisMGetBusData'
[127938.097703] ndiswrapper (import:232): unknown symbol: NDIS.SYS:'NdisFreeTimerObject'
[127938.097708] ndiswrapper (import:232): unknown symbol: NDIS.SYS:'NdisAllocateMemoryWithTagPriority'
[127938.097713] ndiswrapper (import:232): unknown symbol: WDFLDR.SYS:'WdfVersionBind'
[127938.097717] ndiswrapper (import:232): unknown symbol: WDFLDR.SYS:'WdfVersionUnbind'
[127938.097719] ndiswrapper (load_sys_files:200): couldn't prepare driver 'bcmwlhigh6'
[127938.098347] ndiswrapper (load_wrap_driver:103): couldn't load driver bcmwlhigh6; check system log for messages from 'loadndisdriver'
mark@mark-Studio:~$
答案1
请确认您使用的是 Windows经验值驱动程序文件。ndiswrapper 需要 XP。来自man ndiswrapper-1.9
:
描述 ndiswrapper 由两部分组成:用于安装 Windows XP 驱动程序的用户空间工具和用于加载 Windows XP 驱动程序的内核模块。两者都称为 ndiswrapper。
文件夹中是否还有文件 bcmwlhigh5.inf?我建议您删除 6 并尝试 5:
sudo ndiswrapper -e bcmwlhigh6
sudo ndiswrapper -i /path/to/folder/bcmwlhigh5.inf
重启并检查:
dmesg | grep ndis
iwconfig
如果此方法仍然产生错误dmesg
并且无线无法正常工作,我建议您尝试此处的驱动程序文件:http://wikidevi.com/files/Drivers/Broadcom/bcm4323x_5.100.68.46_XP.zip如果仍然不起作用,请从这里开始:http://wikidevi.com/files/Drivers/Broadcom/bcm4323x_6.30.145.26_XP.zip
在每次试验中,删除以前有缺陷的驱动程序文件:
sudo ndiswrapper -e bcmwlhigh5
sudo rm -rf /etc/ndiswrapper/*
然后按照我上面描述的方法安装较新的驱动程序文件。然后测试:
ndiswrapper -l
这是小写的 L,代表“列表”。它应该报告驱动程序已加载和相应的设备是否存在。如果是,则:
sudo modprobe ndiswrapper
dmesg | grep ndis
iwconfig
如果你有很长的日志文件要展示给我们,请在这里发布http://paste.ubuntu.com并提供链接给我们。