Wifi 已连接,但一段时间后互联网断线

Wifi 已连接,但一段时间后互联网断线

互联网连接会在随机时间后断开,时间从几秒到 15 分钟不等。但是,WiFi 仍处于满负荷状态。每次发生这种情况时,我都必须断开连接并重新连接。搜索了互联网。

  • 尝试过这个:相关问题,完全失去了互联网连接,但我设法收回我所做的一切。
  • 尝试过这个:英特尔迅驰问题, 不用找了。

这个问题仍然存在。

如何解决这个问题呢?

操作系统:Ubuntu 14.04

结果来自lspci -nnk | grep -iA2 net; iwconfig

07:00.0 Network controller [0280]: Intel Corporation Centrino Wireless-N 1030 [Rainbow Peak] [8086:008a] (rev 34)
    Subsystem: Intel Corporation Centrino Wireless-N 1030 BGN [8086:5305]
    Kernel driver in use: iwlwifi
0d:00.0 Ethernet controller [0200]: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet [1969:1083] (rev c0)
    Subsystem: QUANTA Computer Inc Device [152d:0873]
    Kernel driver in use: atl1c
lo        no wireless extensions.

wlan0     IEEE 802.11bg  ESSID:"No Service"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: FC:4A:E9:38:99:0B   
          Bit Rate=54 Mb/s   Tx-Power=15 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=68/70  Signal level=-42 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:69   Missed beacon:0

eth0      no wireless extensions.

./wireless-info网络连接正常时的结果:http://paste.ubuntu.com/21463166/./wireless-info互联网连接断开的 结果:http://paste.ubuntu.com/21465233/

笔记:然而,这次互联网连接在短暂的时间之后就恢复了,没有重新连接。

答案1

我会更改你的 wifi 频道,因为频道 1 上有 10 个接入点

Channel occupancy:

  10   APs on   Frequency:2.412 GHz (Channel 1)
  1   APs on   Frequency:2.427 GHz (Channel 4)
  5   APs on   Frequency:2.437 GHz (Channel 6)
  1   APs on   Frequency:2.447 GHz (Channel 8)
  1   APs on   Frequency:2.457 GHz (Channel 10)
  7   APs on   Frequency:2.462 GHz (Channel 11)

您可以从脚本结果中看到正在使用的 wifi 信道。我还将 SSID 更改为 No-Service,并消除名称中的空格。

还有另一个同名网络,可能是来宾网络。我会将其更改为 No-Service2,为其指定一个唯一名称并删除空格。还要更改加密以匹配,因为这个网络已启用 TKIP

Cell 01 - Address: 
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=59/70  Signal level=-51 dBm
Encryption key:on ESSID:"No Service" Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s 24 Mb/s; 36 Mb/s; 54 Mb/s Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s Mode:Master Extra:tsf=0000000004b54ad8 Extra: Last beacon: 88ms ago IE: IEEE 802.11i/WPA2 Version 1 Group Cipher : CCMP Pairwise Ciphers (1) : CCMP Authentication Suites (1) : PSK Cell 02 - Address: Channel:1 Frequency:2.412 GHz (Channel 1) Quality=29/70 Signal level=-81 dBm
Encryption key:on ESSID:"No Service" Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s 9 Mb/s; 12 Mb/s; 18 Mb/s Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s Mode:Master Extra:tsf=0000009216a456e8 Extra: Last beacon: 88ms ago IE: IEEE 802.11i/WPA2 Version 1 Group Cipher : TKIP Pairwise Ciphers (2) : CCMP TKIP Authentication Suites (1) : PSK

我在你的无线脚本中看到的问题是信道 1 拥挤,并且有 2 个同名的接入点,你的计算机从一个接入点跳到另一个接入点

[  241.663063] wlan0: authenticate with 
[  241.663537] wlan0: send auth to  (try 1/3)
[  241.665598] wlan0: authenticated
[  241.665740] wlan0: waiting for beacon from 
[  241.927534] wlan0: authenticate with 
[  241.934607] wlan0: send auth to  (try 1/3)
[  241.963944] wlan0: authenticated
[  241.968113] wlan0: associate with  (try 1/3)
[  241.986164] wlan0: RX AssocResp from  (capab=0x431 status=0 aid=3)
“无服务” [AC1] 是脚本结果中信号较强且首选加密的选项。“无服务” [AC2] 启用了 TKIP 加密。

完成这些更改后,你的 wifi 可能会受益于使用以下命令更改模块参数

echo "options iwlwifi 11n_disable=8" | sudo tee /etc/modprobe.d/iwlwifi.conf

重启

相关内容