![为什么我必须一直断开并连接互联网?](https://linux22.com/image/37407/%E4%B8%BA%E4%BB%80%E4%B9%88%E6%88%91%E5%BF%85%E9%A1%BB%E4%B8%80%E7%9B%B4%E6%96%AD%E5%BC%80%E5%B9%B6%E8%BF%9E%E6%8E%A5%E4%BA%92%E8%81%94%E7%BD%91%EF%BC%9F.png)
目前,我必须断开连接并再次连接才能为我的 Linux 计算机使用互联网。它适用于我的平板电脑。
你知道这可能是什么原因吗?
当我使用互联网超过一分钟左右时,它就不再起作用了。
我是不用电线连接的。
$ cat /etc/issue
Linux Mint 16 Petra \n \l
$ uname -a
Linux pc08 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
$ ifconfig
eth0 Link encap:Ethernet HWaddr e8:40:f2:93:ff:ab
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:17
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:6760 errors:0 dropped:0 overruns:0 frame:0
TX packets:6760 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:534518 (534.5 KB) TX bytes:534518 (534.5 KB)
wlan0 Link encap:Ethernet HWaddr 9c:b7:0d:f1:35:65
inet addr:192.168.1.4 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::9eb7:dff:fef1:3565/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:58102 errors:0 dropped:0 overruns:0 frame:0
TX packets:40615 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:63722853 (63.7 MB) TX bytes:6852895 (6.8 MB)
$ traceroute 4.2.2.2
traceroute to 4.2.2.2 (4.2.2.2), 30 hops max, 60 byte packets
1 192.168.1.1 (192.168.1.1) 13.115 ms 13.090 ms 13.069 ms
2 * * *
3 te-0-1-0-5-sur01.pittsburgh.pa.pitt.comcast.net (68.85.234.9) 180.382 ms 180.372 ms 180.356 ms
4 162-151-21-129-static.hfc.comcastbusiness.net (162.151.21.129) 179.660 ms te-0-10-0-13-ar03.pittsburgh.pa.pitt.comcast.net (69.139.168.57) 174.513 ms te-0-8-0-12-ar03.pittsburgh.pa.pitt.comcast.net (68.85.75.189) 179.609 ms
5 he-4-14-0-0-cr01.newyork.ny.ibone.comcast.net (68.86.94.185) 186.009 ms 186.002 ms 185.987 ms
6 ae12.edge1.NewYork2.level3.net (4.68.127.1) 185.288 ms 54.871 ms 81.634 ms
7 vlan51.ebr1.NewYork2.Level3.net (4.69.138.222) 103.096 ms 173.070 ms vlan52.ebr2.NewYork2.Level3.net (4.69.138.254) 173.044 ms
8 ae-48-48.ebr2.NewYork1.Level3.net (4.69.201.37) 173.010 ms ae-47-47.ebr1.NewYork1.Level3.net (4.69.201.45) 172.915 ms 172.908 ms
9 ae-62-62.csw1.NewYork1.Level3.net (4.69.148.34) 172.821 ms ae-92-92.csw4.NewYork1.Level3.net (4.69.148.46) 172.947 ms ae-91-91.csw4.NewYork1.Level3.net (4.69.134.78) 171.584 ms
10 ae-2-70.edge2.NewYork1.Level3.net (4.69.155.80) 172.802 ms 172.808 ms ae-1-60.edge2.NewYork1.Level3.net (4.69.155.16) 172.732 ms
11 b.resolvers.Level3.net (4.2.2.2) 172.808 ms 172.760 ms 47.988 ms
$ lspci | grep -i ethernet
03:00.0 Ethernet controller: Broadcom Corporation NetLink BCM57780 Gigabit Ethernet PCIe (rev 01)
答案1
我以前也遇到过这种情况。似乎有些无线网卡在 *nix 上无法很好地与 802.11n 配合使用。答案(如果这确实是你的问题)如下所述这里例如,完全禁用 802.11n:
echo "options iwlagn 11n_disable=1" | sudo tee /etc/modprobe.d/iwlagn.conf
sudo modprobe -rf iwlagn
sudo modprobe -v iwlagn
要了解您拥有的无线网卡类型:
lspci | grep -i ethernet