- 上网一切正常,可以ping到局域网的其他机器
无法ping到192.168.1.1 (路由器没有设置忽略ping),浏览器无法访问192.168.1.1
windows下正常
代码: 全选
vivi@ubuntu:~$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:23:8b:b7:9a:5d
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:44
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:16436 Metric:1
RX packets:3784 errors:0 dropped:0 overruns:0 frame:0
TX packets:3784 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1915375 (1.9 MB) TX bytes:1915375 (1.9 MB)
wlan0 Link encap:Ethernet HWaddr 00:1e:65:35:5a:a6
inet addr:192.168.1.2 Bcast:255.255.255.255 Mask:255.255.255.0
inet6 addr: fe80::21e:65ff:fe35:5aa6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7853 errors:0 dropped:0 overruns:0 frame:0
TX packets:8589 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6577796 (6.5 MB) TX bytes:1607630 (1.6 MB)
代码: 全选
vivi@ubuntu:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 wlan0
default 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0
代码: 全选
vivi@ubuntu:~$ sudo dhclient wlan0
There is already a pid file /var/run/dhclient.pid with pid 8734
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/wlan0/00:1e:65:35:5a:a6
Sending on LPF/wlan0/00:1e:65:35:5a:a6
Sending on Socket/fallback
DHCPREQUEST of 192.168.1.2 on wlan0 to 255.255.255.255 port 67
DHCPACK of 192.168.1.2 from 192.168.1.1
bound to 192.168.1.2 -- renewal in 817133890 seconds.
google了好久都没找到解答,看论坛有类似的问题,但解决方法貌似不对啊
http://forum.ubuntu.org.cn/viewtopic.php?t=360610
求解决~~
