You are not logged in.

#1 2012-02-12 22:02:44

ferew2
Member
Registered: 2012-02-12
Posts: 2

[SOLVED] dhcp lease ok but cannot ping anyone

Hi,

For a week or so I haven't been able to connect to my wireless network. I can't remember doing something strange which could have caused the problem. Apart from upgrade and again starting to use polipo for adblocking and caching. I'm running out of ideas, it's time to ask you guys.

I'm writing this with my wired interface brought up normally with ifconfig and I got lease with dhcpcd. Other boxes' wireless connections work fine, too. So it's not general networking fault on this box, and not router's fault.


# ifconfig wlan0 up
# wpa_supplicant -i wlan0 -Dwext -c/etc/wpa_suplicant-home.conf -B
# dhcpcd wlan0

The wireless interface gets associated to the correct AP, I can get dhcp lease, but then, when I try to ping someone on my network, or outside, or the router itself, ping says "Network unreachable". I can ping myself successfully, though( both localhost, and leased IP)

The router uses WEP, so I tried with iwconfig instead of wpa_supplicant. Same result. Tried with netcfg -- with SECURITY=wpa-configsection and with SECURITY=wep. No change.

ifconfig says wlan0 has correct address, netmask, broadcast, gateway. I've looked into `route`. Looks ok, too.

I've searched the web for such problem reports, found one or two similar ones, but they didn't help.

Any suggestions are welcome.

Please tell me how to provide more helpful information.

-----
EDIT:

In case someone stumbles upon this thread and the description matches her problem: As gusar suspected, the fix has to do with my Atheros card. You need to load the athk9 module with nohwcrypt option set, as suggested in    https://bbs.archlinux.org/viewtopic.php?id=134580 .

Last edited by ferew2 (2012-02-13 22:25:11)


s.

Offline

#2 2012-02-12 22:13:08

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: [SOLVED] dhcp lease ok but cannot ping anyone

<rant>There have been lots of similar reports here recently. Pretty much all of them fail to include the most important piece of info: which wireless card? That's the basic info required. And yet, it's always missing.</rant>

<further rant>It seems no one is using the search function. Yeah, commonly forum search functions suck. But here it sucks less than, say, at the Gentoo forums. Since this is a common issue recently, there's threads here that contain workarounds or at the very least contain troubleshooting steps. And yet, new threads are being made again and again.</further rant>

Offline

#3 2012-02-13 22:15:53

ferew2
Member
Registered: 2012-02-12
Posts: 2

Re: [SOLVED] dhcp lease ok but cannot ping anyone

Thanks, gusar,

your name pointed me to a thread which indeed provided the solution.


s.

Offline

Board footer

Powered by FluxBB