几天前,我重启了笔记本电脑,WiFi 图标甚至不再显示。之前我的 WiFi 连接没有任何问题。在寻找答案时,我发现这些信息对于找出问题所在很有用:
是否配置
enp7s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether f4:8e:38:e5:fc:44 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`
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 1435 bytes 131490 (131.4 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1435 bytes 131490 (131.4 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.42.44 netmask 255.255.255.0 broadcast 192.168.42.255
inet6 fe80::f27b:2ce2:8d8d:5d59 prefixlen 64 scopeid 0x20<link>
ether 4a:e3:5f:89:e8:2f txqueuelen 1000 (Ethernet)
RX packets 57300 bytes 75633797 (75.6 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 32733 bytes 5043522 (5.0 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.123.1 netmask 255.255.255.0 broadcast 192.168.123.255
ether 52:54:00:1f:f9:13 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
sudo lshw -c 网络
'*-network
description: Ethernet interface
product: RTL810xE PCI Express Fast Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:07:00.0
logical name: enp7s0
version: 07
serial: f4:8e:38:e5:fc:44
capacity: 100Mbit/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 autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 firmware=rtl8106e-1_0.0.1 06/29/12 latency=0 link=no multicast=yes port=MII
resources: irq:19 ioport:e000(size=256) memory:f7000000-f7000fff memory:f0000000-f0003fff
*-network:0
description: Ethernet interface
physical id: 2
logical name: virbr0
serial: 52:54:00:1f:f9:13
capabilities: ethernet physical
configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A ip=192.168.123.1 link=no multicast=yes
*-network:1 DISABLED
description: Ethernet interface
physical id: 3
logical name: virbr0-nic
serial: 52:54:00:1f:f9:13
size: 10Mbit/s
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=tun driverversion=1.6 duplex=full link=no multicast=yes port=twisted pair speed=10Mbit/s
*-network:2
description: Ethernet interface
physical id: 4
bus info: usb@2:3
logical name: usb0
serial: 4a:e3:5f:89:e8:2f
capabilities: ethernet physical
configuration: broadcast=yes driver=rndis_host driverversion=22-Aug-2005 firmware=RNDIS device ip=192.168.42.44 link=yes multicast=yes´
rfkill 列出全部
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
当我打字时lspci -nnk | grep 0280 -A3
什么也没有发生。
我是 Linux 新手,对代码一无所知,真的需要我的 Wifi 和笔记本电脑正常工作才能完成我的工作和学习,也非常感谢能得到的任何帮助。
編輯:
我发现我的笔记本电脑挂起后,似乎会重新连接我的 wifi。不仅如此,当我关闭并打开它时,看起来我甚至没有 wifi 硬件,但在关闭并打开我的笔记本电脑后,wifi 再次出现并连接,我甚至在终端上收到不同的响应。
我可以在终端上输入一些我不记得的东西,但复制了响应:
*-network
description: Wireless interface
product: QCA9565 / AR9565 Wireless Network Adapter
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:06:00.0
logical name: wlp6s0
version: 01
serial: 94:53:30:aa:f5:bf
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical wireless
configuration: broadcast=yes driver=ath9k driverversion=5.8.0-25-generic firmware=N/A ip=192.168.1.4 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:18 memory:f7100000-f717ffff memory:f7180000-f718ffff
06:00.0 Network controller [0280]: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter [168c:0036] (rev 01)
Subsystem: Dell Vostro 3470 [1028:020e]
Kernel driver in use: ath9k
Kernel modules: ath9k
就是这样,仍然不知道问题是什么,但是有部分解决方案。
再次编辑:
清洁笔记本电脑并更换导热膏后问题解决。