删除 Windows 并安装 Ubuntu 20.04。互联网速度很快,然后变慢并完全断开连接

删除 Windows 并安装 Ubuntu 20.04。互联网速度很快,然后变慢并完全断开连接

我在使用联想 y740 Legion。

Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)

前 5 分钟:

sudo iwconfig
lo         no wireless extensions.

wls13      IEEE 802.11 ESSID: "C17H"
           Mode:Managed  Frequency:5.22 GHz Access Point: 43:CD:B2:54:9C:DE
           Bit Rate=866.7 Mb/s  Tx-Power=22 dBm
           Retry short limit:7  RTS thr:off  Fragment thr:off
           Encryption key:off
           Power Management:on
           Link Quality=59/70  Signal level=-51dBm
           Rx invalid nwid:0  Rx invalid crypt:0 Rx invalid frag:0
           Tx excessive retries:0  Invalid misc:53  Missed beacon:0

en12       no wireless extensions

10分钟后:

sudo iwconfig
lo         no wireless extensions.

wls13      IEEE 802.11 ESSID: "C17H"
           Mode:Managed  Frequency:5.22 GHz Access Point: 43:CD:B2:54:9C:DE
           Bit Rate=234 Mb/s  Tx-Power=22 dBm
           Retry short limit:7  RTS thr:off  Fragment thr:off
           Encryption key:off
           Power Management:on
           Link Quality=64/70  Signal level=-46dBm
           Rx invalid nwid:0  Rx invalid crypt:0 Rx invalid frag:0
           Tx excessive retries:0  Invalid misc:83  Missed beacon:0

en12       no wireless extensions

启动后已过 30 分钟

sudo iwconfig
lo         no wireless extensions.

wls13      IEEE 802.11 ESSID: "C17H"
           Mode:Managed  Frequency:5.22 GHz Access Point: 43:CD:B2:54:9C:DE
           Bit Rate=26 Mb/s  Tx-Power=22 dBm
           Retry short limit:7  RTS thr:off  Fragment thr:off
           Encryption key:off
           Power Management:on
           Link Quality=64/70  Signal level=-45dBm
           Rx invalid nwid:0  Rx invalid crypt:0 Rx invalid frag:0
           Tx excessive retries:0  Invalid misc:109  Missed beacon:0

en12       no wireless extensions

30分钟后:

连接速度又回升到 400Mb/s 左右。这个循环反复发生。我不知道是什么原因造成的,也不知道我能做些什么来保持稳定的连接。

答案1

这很可能是由于 中的激进节能配置造成的/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf。试试这个:

打开上面的系统文件:

sudo vi /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf 

你会看到这个:

[connection]
wifi.powersave = 3

powersave值从更改32

其他可能的值:

NM_SETTING_WIRELESS_POWERSAVE_DEFAULT (0): use the default value
NM_SETTING_WIRELESS_POWERSAVE_IGNORE  (1): don't touch existing setting
NM_SETTING_WIRELESS_POWERSAVE_DISABLE (2): disable powersave
NM_SETTING_WIRELESS_POWERSAVE_ENABLE  (3): enable powersave

相关内容