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.

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值