键盘的 wifi LED 无法正常工作

键盘的 wifi LED 无法正常工作

我的键盘的 WiFi LED 通常在关闭时应为橙色,在打开时应为蓝色,但它始终是橙色,这让我感到不舒服。

以下是我认为有用的一些输出:

root@Machine:~# uname -a
Linux Machine 4.9.0-kali4-amd64 #1 SMP Debian 4.9.30-2kali1 (2017-06-22) x86_64 GNU/Linux
root@Machine:~# lspci | grep Wireless
44:00.0 Network controller: Broadcom Limited BCM4313 802.11bgn Wireless Network Adapter (rev 01)
root@Machine:~# ifconfig 
eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether a2:b2:d6:d5:4a:b0  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 20  memory 0xd4800000-d4820000  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 1  (Local Loopback)
        RX packets 236821  bytes 65224834 (62.2 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 236821  bytes 65224834 (62.2 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.6  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::7670:459e:2cde:75ea  prefixlen 64  scopeid 0x20<link>
        inet6 fd9c:c172:b03b:ce00:204c:8ad8:2f5:d85b  prefixlen 64  scopeid 0x0<global>
        ether 26:26:10:c2:d4:f0  txqueuelen 1000  (Ethernet)
        RX packets 111523  bytes 113324698 (108.0 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 112290  bytes 26144479 (24.9 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

root@Machine:~# iwconfig 
wlan0     IEEE 802.11  ESSID:"3bdo"  
          Mode:Managed  Frequency:2.422 GHz  Access Point: 9C:C1:72:B0:3B:D4   
          Bit Rate=65 Mb/s   Tx-Power=19 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=60/70  Signal level=-50 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:275  Invalid misc:1391   Missed beacon:0

lo        no wireless extensions.

eth0      no wireless extensions.

PS:我之前已经安装过broadcom-sta-dkms,但我删除了它们,因为它们非常有问题(一遍又一遍地询问wifi密码,使我无法访问任何路由器,无法打开监控模式)。broadcom-sta-commonbroadcom-sta-source

答案1

问题出在我使用的模块上,将模块从 更改为brcmsmac即可wl解决问题;通过运行以下命令(添加deb http://httpredir.debian.org/debian/ stretch main contrib non-free到后/etc/apt/sources.list):

apt-get update
apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms
modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
modprobe wl

相关内容