Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unable to ping anything. Help me diagnose :/
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
qdii
Tux's lil' helper
Tux's lil' helper


Joined: 19 Sep 2009
Posts: 106
Location: Madrid

PostPosted: Wed Oct 26, 2011 7:28 pm    Post subject: Unable to ping anything. Help me diagnose :/ Reply with quote

Hey, here how it goes :

Symptoms
I connect to a WPA2-protected wifi spot using wicd. Association goes fine, and I get allotted IP address 192.168.0.100
Now opening a webpage fails : it times out.
Pinging a known online IP address times out too.
Pinging 192.168.0.1 times out (but works from another computer)

The tests I have been through but did not make a difference:
- Using another version of the firmware
- Forcing the packets to route by 192.168.0.1 (route add default gw 192.168.0.1)
- Having /etc/resolv.conf point to a known DNS server
- Compiling iwlagn as a module and unloading/reloading it
- Enabling debug mode on iwlagn issues nothing but “iwlagn aggregation not enabled for tid”

Some info about my settings :
I’m using iwlagn and the iwl-1000 ucode firmware (my card is an intel wifi link 1000 series).
iptables has no rules.
A technical defect can be ruled out since the wifi works perfectly on my windows partition.

Any help/ideas are welcome
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 46326
Location: 56N 3W

PostPosted: Wed Oct 26, 2011 7:50 pm    Post subject: Reply with quote

qdii,

Please post the content of /etc/conf.d/net, your wpa_supplicant.conf (obscure your pass phrase if you wish)
and the output of iwconfig, which is a part of wireless-tools.
dmesg may also be useful. wgetpaste is your friend there.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
qdii
Tux's lil' helper
Tux's lil' helper


Joined: 19 Sep 2009
Posts: 106
Location: Madrid

PostPosted: Wed Oct 26, 2011 8:28 pm    Post subject: Reply with quote

Hey,
my /etc/conf.d/net is empty

iwconfig

Quote:

lo no wireless extensions.

eth0 no wireless extensions.

sit0 no wireless extensions.

wlan0 IEEE 802.11bgn ESSID:"Atlas"
Mode:Managed Frequency:2.437 GHz Access Point: 34:08:04:BB:47:48
Bit Rate=150 Mb/s Tx-Power=14 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=68/70 Signal level=-42 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:10 Invalid misc:14 Missed beacon:0


wpa supplicant used by wicd (I used **** to hide the pass)

Quote:

ap_scan=1
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="Atlas"
scan_ssid=1
proto=WPA RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk=185fcc1e3b1dbb5b5ba4800cc757e0480c1ec7ab8372f*****************
}
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 46326
Location: 56N 3W

PostPosted: Wed Oct 26, 2011 9:19 pm    Post subject: Reply with quote

qdii,

Code:
Encryption key:off
suggests that your wlan0 either never associated or is no longer associated with your AP.
Code:
dmesg
will tell more.

The empty /etc/conf.d/net will use dhcpcd to get network settings once you get associated.
As you reported your IP address was 192.168.0.100, dhcpcd appears to have got an address sometime, (it will reuse it while your lease is valid).
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum