可以连接无线路由器但无法浏览互联网

可以连接无线路由器但无法浏览互联网

我有一台运行 Fedora 17 的 Dell Studio 1450。我最近在办公室安装了一个新的无线路由器。除了我之外,每个人都可以通过它连接到互联网。谷歌透露http://forums.fedoraforum.org/showthread.php?t=276645这与我的问题非常相似。以下是一些命令的输出日志,供您帮助我。

$ ifconfig wlan0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.11.5  netmask 255.255.255.0  broadcast 192.168.11.255
        inet6 fe80::222:fbff:febd:a1d4  prefixlen 64  scopeid 0x20<link>
        ether 00:22:fb:bd:a1:d4  txqueuelen 1000  (Ethernet)
        RX packets 217025  bytes 207399872 (197.7 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 140947  bytes 22960122 (21.8 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

$ ping -c 3 192.168.11.1
PING 192.168.11.1 (192.168.11.1) 56(84) bytes of data.
^C
--- 192.168.11.1 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 1999ms

$ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.11.1    0.0.0.0         UG    0      0        0 wlan0
192.168.11.0    0.0.0.0         255.255.255.0   U     0      0        0 wlan0

$ cat /etc/resolv.conf 
# Generated by NetworkManager
nameserver 192.168.11.1
nameserver 192.168.1.1

问候

编辑 1:来自运行 Linux Mint 的其他机器的输出,通常在网络上运行。

$ ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr e0:ca:94:8a:f4:08  
          inet addr:192.168.11.2  Bcast:192.168.11.255  Mask:255.255.255.0
          inet6 addr: fe80::e2ca:94ff:fe8a:f408/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:795989 errors:0 dropped:0 overruns:0 frame:0
          TX packets:729687 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:871899683 (871.8 MB)  TX bytes:83227427 (83.2 MB)


$ ping -c 3 192.168.11.1
PING 192.168.11.1 (192.168.11.1) 56(84) bytes of data.
64 bytes from 192.168.11.1: icmp_req=1 ttl=64 time=1.12 ms
64 bytes from 192.168.11.1: icmp_req=2 ttl=64 time=1.17 ms
64 bytes from 192.168.11.1: icmp_req=3 ttl=64 time=1.12 ms

--- 192.168.11.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 1.123/1.139/1.172/0.035 ms


$ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.11.1    0.0.0.0         UG    0      0        0 wlan0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 wlan0
192.168.11.0    0.0.0.0         255.255.255.0   U     2      0        0 wlan0


$ cat /etc/resolv.conf
cat: /etc/resolv.conf: No such file or directory

更新:这不是 Fedora 的问题,而是我的笔记本电脑的问题。我尝试使用其他发行版(Ubuntu 12.04 和 Bodhi Linux),也存在同样的问题。

答案1

Anurat - 尝试分配静态 IP 地址,而不是从 DHCP 将其获取到无线接口并 ping 网关。您的路由器可能会阻止来自特定 IP 范围的流量。特别是,尝试使用分配给网络中可以访问 Internet 的另一个客户端的 IP 地址。

答案2

这是我的硬件问题。新路由器运行 802.11n 网络,而我的 Dell Studio 1450 中的 Intel WiFi Link 5100 卡不支持它。办公室里其他相对较新的笔记本电脑运行良好。

解决方案:将路由器设置更改为在 b/g 模式下运行,现在一切都恢复正常。

相关内容