Unable to ping device using wpa_supplicant and madwifi
I'm using wpa_supplicant with PSK on a atheros chipset with madwifi 0.9.4 and debian 2.6.24. The device is successfully authenticating with the AP but I'm unable to even ping anything on the network.
wpa_supplicant.conf contains:
ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=1
network={
ssid="OSD"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
group=CCMP
psk=89fb...
priority=2
}
I run a script with the following:
wlanconfig ath0 destroy
wlanconfig ath0 create wlandev wifi0 wlanmode sta
iwconfig ath0 essid OSD
iwpriv ath0 authmode 3
ifconfig ath0 0.0.0.0 up
wpa_supplicant -dd -Dmadwifi -iath0 -c/etc/wpa_supplicant/wpa_supplicant.conf
I've also tried running "dhclient ath0" after the device authenticates and it binds to an IP but as I said I can't even ping the network from the device or ping the device from the network. Any ideas on what I'm doing wrong?
|