最近安装了 debian,但没有 wifi 和 wlan0
输出ifconfig
:
enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.193 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::5648:10ff:feca:63f9 prefixlen 64 scopeid 0x20<link>
ether 54:48:10:ca:63:f9 txqueuelen 1000 (Ethernet)
RX packets 90224 bytes 95178748 (90.7 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 62997 bytes 7432087 (7.0 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 8 bytes 396 (396.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8 bytes 396 (396.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
输出lspci -nn | grep Wireless
:
01:00.0 Network controller [0280]: Qualcomm Atheros QCA9377 802.11ac
Wireless Network Adapter [168c:0042] (rev 31)
答案1
您必须安装专有驱动程序,请转到Debian固件下载页面-atheros_20161130-5_all.deb,然后从其中的任何链接下载驱动程序,您将获得一个 .deb 文件,打开终端并 cd 进入您下载它的目录,然后执行以下操作:
sudo dpkg -i "the file".deb
sudo apt-get install -f
您可能需要重新启动系统。