ubuntu16.04 wifi 不稳定问题

在ThinkPad X201i用ubuntu16.04已经很久了, wifi连接一直不稳定, 用几分钟就自动断开, 无奈只能重连. 查询无线网卡具体情况如下:

$ lspci

02:00.0 Network controller: Intel Corporation Centrino Wireless-N 1000 [Condor Peak]

$ sudo lshw -class network
*-network
description: Wireless interface
product: Centrino Wireless-N 1000 [Condor Peak]
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlp2s0
version: 00
serial: 00:26:c7:69:8d:d0
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=4.13.0-26-generic firmware=39.31.5.1 build 35138 ip=192.168.0.107 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:28 memory:f2400000-f2401fff

网上搜的第一种解决方案, 感觉效果不太明显:

将/etc/ppp/options 文件中的 lcp-echo-failure 4 改为 lcp-echo-failure 40

第二种方案, 把无线网卡的power management 关掉. 试过之后效果明显, 基本上没再掉过线:

关掉之前查看wifi连接情况如下

$ sudo iwconfig
enp0s25   no wireless extensions.

wlp2s0    IEEE 802.11  ESSID:”wonderful_world”
Mode:Managed  Frequency:2.462 GHz  Access Point: 8C:A6:DF:AE:E0:17
Bit Rate=121.5 Mb/s   Tx-Power=14 dBm
Retry short limit:7   RTS thr:off   Fragment thr:off
Encryption key:off
Power Management:on
Link Quality=70/70  Signal level=-40 dBm
Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
Tx excessive retries:115  Invalid misc:121   Missed beacon:0

lo        no wireless extensions.

关掉wifi的power management
$ sudo iwconfig wlp2s0 power off

查看关掉之后的WiFi情况

$ sudo iwconfig

enp0s25   no wireless extensions.

wlp2s0    IEEE 802.11  ESSID:”wonderful_world”
Mode:Managed  Frequency:2.462 GHz  Access Point: 8C:A6:DF:AE:E0:17
Bit Rate=121.5 Mb/s   Tx-Power=14 dBm
Retry short limit:7   RTS thr:off   Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=70/70  Signal level=-31 dBm
Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
Tx excessive retries:119  Invalid misc:132   Missed beacon:0

lo        no wireless extensions.

参考网页:

ubuntu16.04 无法wifi链接一段时间掉线且无法再连接 : http://www.mamicode.com/info-detail-1705656.html

networking – Wifi regression on 16.04 Centrino Wireless-N 1000 – Ask Ubuntu : view-source:https://askubuntu.com/questions/770681/wifi-regression-on-16-04-centrino-wireless-n-1000

阅读:121

发表评论

电子邮件地址不会被公开。 必填项已用*标注