![无线互联网连接不起作用,有线连接有互联网](https://linux22.com/image/1377324/%E6%97%A0%E7%BA%BF%E4%BA%92%E8%81%94%E7%BD%91%E8%BF%9E%E6%8E%A5%E4%B8%8D%E8%B5%B7%E4%BD%9C%E7%94%A8%EF%BC%8C%E6%9C%89%E7%BA%BF%E8%BF%9E%E6%8E%A5%E6%9C%89%E4%BA%92%E8%81%94%E7%BD%91.png)
我有一台 iball 150M ADSL 路由器,我使用这个路由器已经一年了,没有任何问题。
最近我注意到我可以使用局域网线通过该路由器浏览互联网。
无线连接时,路由器无法连接到互联网。当我启动任何计算机或携带手机等时,这些设备可以通过 wifi 连接到此路由器,但无法访问互联网。
而在同样的情况下,如果我接上局域网线,我就可以连接到互联网。我应该检查或做什么?以下是路由器 http://www.flipkart.com/iball-150m-wireless-n-adsl2-router/p/itmd375x5yfzbsgb]Iball 150M Wireless-N ADSL2+ 路由器 - iBall:Flipkart.com
以下是使用 RJ-45 网线连接时的 ping 回复
nerd@ubuntu:~$ ping www.google.com
PING www.google.com (74.125.236.178) 56(84) bytes of data.
64 bytes from maa03s16-in-f18.1e100.net (74.125.236.178): icmp_req=1
ttl=55 time=378 ms
64 bytes from maa03s16-in-f18.1e100.net (74.125.236.178): icmp_req=2
ttl=55 time=381 ms
64 bytes from maa03s16-in-f18.1e100.net (74.125.236.178): icmp_req=3
ttl=55 time=382 ms
^C
--- www.google.com ping statistics ---
4 packets transmitted, 3 received, 25% packet loss, time 3000ms
rtt min/avg/max/mdev = 378.491/380.703/382.488/1.806 ms
以下是无线连接时的情况
nerd@ubuntu:~$ ping www.google.com
ping: unknown host www.google.com
通过无线连接
nerd@ubuntu:~$ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.5 icmp_seq=4 Destination Host Unreachable
From 192.168.1.5 icmp_seq=10 Destination Host Unreachable
From 192.168.1.5 icmp_seq=13 Destination Host Unreachable
From 192.168.1.5 icmp_seq=16 Destination Host Unreachable
From 192.168.1.5 icmp_seq=19 Destination Host Unreachable
From 192.168.1.5 icmp_seq=22 Destination Host Unreachable
^C
--- 192.168.1.1 ping statistics ---
29 packets transmitted, 0 received, +6 errors, 100% packet loss, time 28149ms
通过有线连接
nerd@ubuntu:~$ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_req=1 ttl=254 time=0.495 ms
64 bytes from 192.168.1.1: icmp_req=2 ttl=254 time=0.572 ms
64 bytes from 192.168.1.1: icmp_req=3 ttl=254 time=0.626 ms
64 bytes from 192.168.1.1: icmp_req=4 ttl=254 time=0.480 ms
64 bytes from 192.168.1.1: icmp_req=5 ttl=254 time=0.506 ms
64 bytes from 192.168.1.1: icmp_req=6 ttl=254 time=0.464 ms
^C
--- 192.168.1.1 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5000ms
rtt min/avg/max/mdev = 0.464/0.523/0.626/0.064 ms
扫描 WiFi 网络
nerd@ubuntu:~$ sudo iwlist eth1 scanning | egrep 'Cell
|Encryption|Quality|Last beacon|ESSID'
Cell 01 - Address: Lolz:Lolz:Lolz:Lolz:Lolz
ESSID:"abit2"
Quality:5/5 Signal level:-40 dBm Noise level:-92 dBm
Encryption key:on
Device: eth1 [abit2] --------------------------------------------------------
Type: 802.11 WiFi
Driver: wl
State: connected
Default: no
HW Address:
Capabilities:
Speed: 54 Mb/s
Wireless Properties
WEP Encryption: yes
WPA Encryption: yes
WPA2 Encryption: yes
Wireless Access Points (* = current AP)
*abit2: Infra, sssssss, Freq 2422 MHz, Rate 0 Mb/s, Strength 100 WPA2
IPv4 Settings:
Address: 192.168.1.5
Prefix: 24 (255.255.255.0)
Gateway: 192.168.1.1
DNS: 192.168.1.1
所以这意味着至少我通过无线连接到 192.168.1.1,我的 IP 是 192.168.1.5,但互联网不工作,互联网在路由器上,我可以在相同条件下通过 LAN 线访问互联网。但不能使用无线连接。
答案1
尝试 ping 一些公共 IP——例如 google DNS 服务器 8.8.8.8。如果可以 ping 通,那肯定是某个地方的 DNS 问题。