WiFi 随机断开连接且无法找到网络

WiFi 随机断开连接且无法找到网络

我运行的是 Ubuntu 18.10,有时在使用电脑一段时间后,我的 WiFi 会随机断开连接,无法找到任何网络。即使关闭并再次打开,这种情况仍会继续。唯一的解决办法是重新启动。我已经通过将 default-wifi-powersave-on.conf 中的 wifi.powermode 设置为 0 来禁用无线省电,但这种情况仍然持续。有什么方法可以调试和修复此错误?我对 Linux 还比较陌生。

nmcli 设备的输出:

DEVICE  TYPE      STATE        CONNECTION 
wlp6s0  wifi      connected    hi         
enp3s0  ethernet  unavailable  --         
lo      loopback  unmanaged    --

ip addr show 的输出:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether 1c:1b:0d:9c:bd:f0 brd ff:ff:ff:ff:ff:ff
3: wlp6s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 2c:4d:54:08:f0:5b brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.3/24 brd 192.168.1.255 scope global dynamic noprefixroute wlp6s0
       valid_lft 86152sec preferred_lft 86152sec
    inet6 fdc8:94bb:cc34:4600:2544:e37:c810:9016/64 scope global temporary dynamic 
       valid_lft 6954sec preferred_lft 3354sec
    inet6 fdc8:94bb:cc34:4600:e0af:85f3:6239:1088/64 scope global dynamic mngtmpaddr noprefixroute 
       valid_lft 6954sec preferred_lft 3354sec
    inet6 fe80::ca35:b176:9647:8489/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever

sudo lshw -short -class network 的输出:

[sudo] password for liaquore: 
H/W path                  Device     Class       Description
============================================================
/0/100/1.3/0.2/0/0        enp3s0     network     RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
/0/100/1.3/0.2/4/0        wlp6s0     network     RTL8192CE PCIe Wireless Network Adapter

lspci -k | grep -A 2 -i "VGA" 的输出:

07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Lexa PRO [Radeon RX 550/550X] (rev c7)
    Subsystem: Gigabyte Technology Co., Ltd Lexa PRO [Radeon RX 550/550X]
    Kernel driver in use: amdgpu

rfkill 的输出:

ID TYPE DEVICE      SOFT      HARD
 0 wlan phy0   unblocked unblocked

ls -l /etc/resolv.conf 的输出:

lrwxrwxrwx 1 root root 39 Apr 10 01:42 /etc/resolv.conf -> ../run/systemd/resolve/stub-resolv.conf

nmcli device show wlp6s0 | grep IP4.DNS 的输出:

IP4.DNS[1]:                             192.168.1.1

ls -l /etc/resolv.conf 的输出:

lrwxrwxrwx 1 root root 32 Apr 10 15:03 /etc/resolv.conf -> /run/systemd/resolve/resolv.conf

相关内容