No user traffic through wlan0
Thu Sep 15 06:46:15 PDT 2011
On Thu, Sep 15, 2011 at 8:06 AM, Erich Titl <erich.titl at think.ch> wrote:
> New to this list, so please let me know if this is the right place.
> I have an embedded distro http://leaf.sourceforge.net with a Wistron 9CM
> Atheros based card and ath5k driver installed. I want to use this set up
> to connect to a WRK54GH for testing purposes. The final goal is to
> develop a web based tool to configure the Wifi client instance to
> connect to basically any available AP to have an uplink to the net.
> After lots of sweat and tears I finally understood the necessity to have
> wpa_supplicant to get an association with WPA2-PSK.
> My wpa_supplicant.conf file is very simple
> ? ? ? ?ssid="scoobly"
> ? ? ? ?psk="XXXXXXXX"
> Now here is the catch....
> - I can associate fine with the AP
> - DHCP assigns an address to wlan0 and installs a default route
I'm happy to be wrong about this, but if you are getting an IP address
from your DHCP server then you have certainly established layer 2
connectivity, which means that the suppliant is working. Take a look
at the wpa_supplicant debug logs to verify.
What happens when you ping the gateway, forcing ping to use wlan0
(sudo ping -I wlan0 <gw_ip>).
> If I try to ping the WRT54GH I see arp requests going out which are
> never replied to, therefore the packets will never be sent.
> If I try the same with a laptop under Windoze 7 everything works as
> Any ideas
> - DHCP assigns an address and
> HostAP mailing list
> HostAP at lists.shmoo.com
More information about the Hostap