There's IP but can't reach gateway
Posted
by
icky
on Ask Ubuntu
See other posts from Ask Ubuntu
or by icky
Published on 2012-11-08T14:58:38Z
Indexed on
2012/11/09
17:21 UTC
Read the original article
Hit count: 277
networking
I have just installed ubuntu 12.04 on my new laptop, and brought it back to home, but I found the wireless network does not work.
Strangely, it has the correct ip, but can't connect to the gateway.
ifconfig
gives ip 192.168.64.36, with broadcast 192.168.79.255 and mask 255.255.240.0, this are all correct, the gateway is at 192.168.64.1
cat /etc/resolv.conf
nameserver 192.168.64.1
nameserver 127.0.0.1
which i think it's also right.
but when I ping 192.168.64.1, all packages are lost.
Please help me with this, I really do not know what happened to my network settings.
Huckle,
Thank you for your reply
ifconfig wlan0
Link encap:Ethernet Hwaddr 88:f9:af:2a:ca:1b
inet addr:192.168.64.36 Bcast:192.168.79.255 Mask:255.255.240.0
inet6 addr: fe80::8a9f:faff:fea2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:27 errors:0 dropped:0 overruns:0 frame:0
TX packets:376 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3950 TX byetes:60288
iwconfig wlan0
IEEE 802.11bgn ESSID:"Chiono"
Mode:Managed Frequency:2.417 GHz Access Point: 82:54:99:94:6D:43
Bit Rate=13.5 Mb/s Tx-Power=13 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on
Link Quality=70/70 Signal Level=-32 dBm
Rx invalid nwid:0 Rx invalid crypt:0 RX invalid frag:0
Tx excessive retries: 9 Invalid misc:10 Missed beacon:0
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.64.1 0.0.0.0 UG 0 0 0 wlan0
link-local * 255.255.0.0 U 1000 0 0 wlan0
192.168.64.0 * 255.255.240.0 U 2 0 0 0 wlan0
Thank you very much
© Ask Ubuntu or respective owner