You are not logged in.

#1 2011-09-24 18:44:10

iamsmrt
Member
Registered: 2009-08-12
Posts: 138

Connected to AP but can't ping anything

I've been having some issues with my network at work on my Asus 901 eee pc ever since I upgraded to Kernel 3.0 (rt2860sta -> rt2800pci). I can connect to the network via netcfg but I get "Destination Host Unreachable" whenever I try to ping anything (google, gateway, etc.). I'm at my wits end here and can't figure out why this is going on especially since I don't have this problem with any other wireless networks. Here's some output that I thought would help:

ifconfig

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:2733 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2733 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:277512 (271.0 Kb)  TX bytes:277512 (271.0 Kb)

wlan0     Link encap:Ethernet  HWaddr 00:15:AF:BC:04:61  
          inet addr:192.168.1.118  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::215:afff:febc:461/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:62 errors:0 dropped:0 overruns:0 frame:0
          TX packets:136 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:9571 (9.3 Kb)  TX bytes:10598 (10.3 Kb)

route:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         192.168.1.1     0.0.0.0         UG    307    0        0 wlan0
192.168.1.0     *               255.255.255.0   U     307    0        0 wlan0

route -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    307    0        0 wlan0
192.168.1.0     0.0.0.0         255.255.255.0   U     307    0        0 wlan0

Offline

#2 2011-09-24 18:51:59

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,815

Re: Connected to AP but can't ping anything

How do you obtain an address? Are you using a static address, or a dynamic address?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2011-09-24 19:05:13

iamsmrt
Member
Registered: 2009-08-12
Posts: 138

Re: Connected to AP but can't ping anything

ewaller wrote:

How do you obtain an address? Are you using a static address, or a dynamic address?

It's a dynamic address.

Offline

#4 2011-09-24 21:23:03

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,815

Re: Connected to AP but can't ping anything

Okay,
That you are using dynamic addresses, and you have an address, it indicates you are not only associated, but that you have all of the correct credentials in place; allowing you to acquire an address via DHCP. 

The route looks reasonable.  You said you had tried pinging the gateway, but was it by name, or by IP address.

Can you ping 127.0.0.1 (This is just a sanity check)?
Can you ping localhost (This, too, is just a sanity check)?
Can you ping 192.168.1.118  (Your IP address)?
Can you ping 192.168.1.1 (your router or gateway)?
Can you ping 66.211.214.131 (archlinux.org)?
If the above all worked, what is the output of host -v archlinux.org
On my system

ewaller@odin:~ 1017 %host -v archlinux.org 
Trying "archlinux.org"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11632
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 3

;; QUESTION SECTION:
;archlinux.org.			IN	A

;; ANSWER SECTION:
archlinux.org.		3280	IN	A	66.211.214.131

;; AUTHORITY SECTION:
archlinux.org.		5760	IN	NS	robotns2.second-ns.de.
archlinux.org.		5760	IN	NS	ns1.first-ns.de.
archlinux.org.		5760	IN	NS	robotns3.second-ns.com.

;; ADDITIONAL SECTION:
ns1.first-ns.de.	368	IN	A	213.239.242.238
robotns2.second-ns.de.	83677	IN	A	213.133.105.6
robotns3.second-ns.com.	6642	IN	A	193.47.99.3

Received 193 bytes from 192.168.1.1#53 in 34 ms
Trying "archlinux.org"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16360
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;archlinux.org.			IN	AAAA

;; AUTHORITY SECTION:
archlinux.org.		3385	IN	SOA	ns1.first-ns.de. ibiru.archlinux.org. 2011082200 3600 900 1209600 3600

Received 88 bytes from 192.168.1.1#53 in 40 ms
Trying "archlinux.org"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27232
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 4

;; QUESTION SECTION:
;archlinux.org.			IN	MX

;; ANSWER SECTION:
archlinux.org.		3385	IN	MX	10 mail.archlinux.org.

;; AUTHORITY SECTION:
archlinux.org.		5760	IN	NS	ns1.first-ns.de.
archlinux.org.		5760	IN	NS	robotns2.second-ns.de.
archlinux.org.		5760	IN	NS	robotns3.second-ns.com.

;; ADDITIONAL SECTION:
mail.archlinux.org.	3385	IN	A	66.211.214.132
ns1.first-ns.de.	368	IN	A	213.239.242.238
robotns2.second-ns.de.	83677	IN	A	213.133.105.6
robotns3.second-ns.com.	6642	IN	A	193.47.99.3

Received 214 bytes from 192.168.1.1#53 in 62 ms
ewaller@odin:~ 1018 %

Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2011-09-24 22:55:16

iamsmrt
Member
Registered: 2009-08-12
Posts: 138

Re: Connected to AP but can't ping anything

ewaller wrote:

Okay,
That you are using dynamic addresses, and you have an address, it indicates you are not only associated, but that you have all of the correct credentials in place; allowing you to acquire an address via DHCP. 

The route looks reasonable.  You said you had tried pinging the gateway, but was it by name, or by IP address.

Can you ping 127.0.0.1 (This is just a sanity check)?
Can you ping localhost (This, too, is just a sanity check)?
Can you ping 192.168.1.118  (Your IP address)?
Can you ping 192.168.1.1 (your router or gateway)?
Can you ping 66.211.214.131 (archlinux.org)?

I can ping myself (127.0.0.1, localhost and 192.168.1.118 all work).
When I try and ping anything else (your last two suggestions) I get a "Destination Host Unreachable".

If the above all worked, what is the output of host -v archlinux.org
On my system

ewaller@odin:~ 1017 %host -v archlinux.org 
Trying "archlinux.org"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11632
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 3

;; QUESTION SECTION:
;archlinux.org.			IN	A

;; ANSWER SECTION:
archlinux.org.		3280	IN	A	66.211.214.131

;; AUTHORITY SECTION:
archlinux.org.		5760	IN	NS	robotns2.second-ns.de.
archlinux.org.		5760	IN	NS	ns1.first-ns.de.
archlinux.org.		5760	IN	NS	robotns3.second-ns.com.

;; ADDITIONAL SECTION:
ns1.first-ns.de.	368	IN	A	213.239.242.238
robotns2.second-ns.de.	83677	IN	A	213.133.105.6
robotns3.second-ns.com.	6642	IN	A	193.47.99.3

Received 193 bytes from 192.168.1.1#53 in 34 ms
Trying "archlinux.org"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16360
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;archlinux.org.			IN	AAAA

;; AUTHORITY SECTION:
archlinux.org.		3385	IN	SOA	ns1.first-ns.de. ibiru.archlinux.org. 2011082200 3600 900 1209600 3600

Received 88 bytes from 192.168.1.1#53 in 40 ms
Trying "archlinux.org"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27232
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 4

;; QUESTION SECTION:
;archlinux.org.			IN	MX

;; ANSWER SECTION:
archlinux.org.		3385	IN	MX	10 mail.archlinux.org.

;; AUTHORITY SECTION:
archlinux.org.		5760	IN	NS	ns1.first-ns.de.
archlinux.org.		5760	IN	NS	robotns2.second-ns.de.
archlinux.org.		5760	IN	NS	robotns3.second-ns.com.

;; ADDITIONAL SECTION:
mail.archlinux.org.	3385	IN	A	66.211.214.132
ns1.first-ns.de.	368	IN	A	213.239.242.238
robotns2.second-ns.de.	83677	IN	A	213.133.105.6
robotns3.second-ns.com.	6642	IN	A	193.47.99.3

Received 214 bytes from 192.168.1.1#53 in 62 ms
ewaller@odin:~ 1018 %

I don't have a "host" command sad, I'll work on getting it installed.

Offline

#6 2011-09-24 23:03:29

ferda
Member
Registered: 2010-02-05
Posts: 67

Re: Connected to AP but can't ping anything

iamsmrt wrote:

I don't have a "host" command sad, I'll work on getting it installed.

It’s in the package "dnsutils".

Offline

#7 2011-09-25 01:50:26

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,815

Re: Connected to AP but can't ping anything

Do you own the router/AP ?  If so, do you have the ability to connect to it through another machine, log in and see the logs?

If you do not own it, is it possible that it is of the flavor that require you to log in using a web browser to provide credentials?  This sort of router are found at schools, hotels, cafes, etc... They will place you into an IP jail until you provide credentials amd/or consent to usage policies.  If so, can you browse to 192.168.1.1 ?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#8 2011-09-25 21:25:30

iamsmrt
Member
Registered: 2009-08-12
Posts: 138

Re: Connected to AP but can't ping anything

ferda wrote:
iamsmrt wrote:

I don't have a "host" command sad, I'll work on getting it installed.

It’s in the package "dnsutils".

Thanks!

ewaller wrote:

Do you own the router/AP ?  If so, do you have the ability to connect to it through another machine, log in and see the logs?

Unfortunately, I don't own it. IT here doesn't let me play with much.

ewaller wrote:

If you do not own it, is it possible that it is of the flavor that require you to log in using a web browser to provide credentials?  This sort of router are found at schools, hotels, cafes, etc... They will place you into an IP jail until you provide credentials amd/or consent to usage policies.  If so, can you browse to 192.168.1.1 ?

Nope, it's not one of those AP's where you have to register/provide credentials or anything. I also can't browse to 192.168.1.1.

I got dnsutils installed and the results of host -v archlinux.org are:

brian@brian-netbook:~$ host -v archlinux.org
Trying "archlinux.org"
;; connection timed out; no servers could be reached

This is a very strange problem, maybe I should talk to IT about it.

Last edited by iamsmrt (2011-09-25 21:27:26)

Offline

#9 2011-12-22 21:44:53

totallymike
Member
Registered: 2011-12-22
Posts: 2

Re: Connected to AP but can't ping anything

This to the letter describes my problem.  I have the exact same circumstances and responses to the helpful queries.  Does anyone have any ideas?

Offline

#10 2011-12-27 14:31:19

eberan
Member
Registered: 2011-02-11
Posts: 6

Re: Connected to AP but can't ping anything

I have the same symptoms with an Intel 6230.  The same machine works fine with win7, very strange.

Offline

#11 2011-12-27 16:05:09

totallymike
Member
Registered: 2011-12-22
Posts: 2

Re: Connected to AP but can't ping anything

I figured it out, at least for me.  The problem was with the kernel.  If you downgrade your kernel to the one that matches the USB environment you should have no problems.

Use the ARM directory as described at https://wiki.archlinux.org/index.php/Do … g_Packages to downgrade to the linux kernel that matches the USB environment, then blacklist linux from pacman upgrades, and you should be all set.  I'd recommend you keep that kernel around and experiment with future upgrades as it's likely a future update will work.

Offline

#12 2011-12-28 09:14:02

eberan
Member
Registered: 2011-02-11
Posts: 6

Re: Connected to AP but can't ping anything

Well, my problems didn't come from upgrading my system. They came from being on a new network while traveling.  It's a "BeWAN Elisa" router/modem (in Finland), and though I can tinker with it there are very few options and parameters in the default web-ui.
Not a big deal, but I thought I'd chime in anyway.

Offline

Board footer

Powered by FluxBB