当我的电脑首次启动时,互联网工作正常,大约 30 秒。在这 30 秒内,它加载数据时会遇到困难,30 秒后就无法再传输数据了。但它仍然保持连接状态。我在使用多个无线适配器时也遇到过同样的问题。
当我 ping 主机(192.168.1.1)时,我得到以下输出:
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.133 icmp_seq=1 Destination Host Unreachable
From 192.168.1.133 icmp_seq=2 Destination Host Unreachable
From 192.168.1.133 icmp_seq=3 Destination Host Unreachable
From 192.168.1.133 icmp_seq=4 Destination Host Unreachable
以下是...的输出
系统配置
wlan1 IEEE 802.11AC ESSID:"EEE" Nickname:"<WIFI@REALTEK>"
Mode:Managed Frequency:5.745 GHz Access Point: 94:10:3E:02:65:91
Bit Rate:867 Mb/s Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Power Management:off
Link Quality=100/100 Signal level=86/100 Noise level=0/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
eth0 no wireless extensions.
lo no wireless extensions.
virbr0 no wireless extensions.
配置文件
eth0 Link encap:Ethernet HWaddr f4:6d:04:65:3f:e2
inet addr:192.168.1.133 Bcast:192.168.1.255 Mask:255.255.255.0
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)
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:556 errors:0 dropped:0 overruns:0 frame:0
TX packets:556 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:91777 (91.7 KB) TX bytes:91777 (91.7 KB)
virbr0 Link encap:Ethernet HWaddr 9a:52:d3:99:6e:92
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wlan1 Link encap:Ethernet HWaddr c4:e9:84:09:4e:ec
inet addr:192.168.1.187 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::c6e9:84ff:fe09:4eec/64 Scope:Link
inet6 addr: 2601:85:c202:9f32:c6e9:84ff:fe09:4eec/64 Scope:Global
inet6 addr: 2601:85:c202:9f32:fcd1:c449:5d45:7b24/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1100 errors:0 dropped:1 overruns:0 frame:0
TX packets:554 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:289511 (289.5 KB) TX bytes:78165 (78.1 KB)
路线-n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan1
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 9 0 0 wlan1
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0
答案1
事实上,20 分钟前我就遇到了这个问题。我修复它的方法可能对你不起作用,但对我来说却有效。
1:关闭硬件开关,2:打开硬件开关,3:让笔记本电脑进入睡眠模式,4:按键盘上的任意键将笔记本电脑从睡眠模式唤醒,5:在无线下拉菜单中选择“连接到隐藏的 Wi-Fi 网络...”选项,6:在下拉菜单中选择您想要的 Wi-Fi 网络并连接。
(注意:在步骤 5 中,如果您已经看到网络名称,则可能不必选择“连接到隐藏的 Wi-Fi 网络...”)
再说一遍,它可能对你不起作用,但对我来说却有效。
答案2
我将/etc/network/interfaces
文件重置为 14.04 默认设置。我以前曾对它进行过修改,很可能是我添加或删除的某些内容导致了我的问题。