I've an Atheros Pci Wireless card and i've installed the madwifi drivers on a debian Sarge.
I try to start the wifi with # wpa_supplicant -w -iath0 -c/etc/wpa_supplicant.conf -d
And in an other shell: # wpa_cli status Selected interface 'ath0' wpa_state=ASSOCIATING ip_address=10.0.0.35
# iwconfig ath0 IEEE 802.11g ESSID:"mywifi" Mode:Managed Frequency:2.442 GHz Access Point: Not-Associated [...]
#cat /etc/wpa_supplicant.conf # WPA-PSK/TKIP
ctrl_interface=/var/run/wpa_supplicant
network={ ssid="XXX" scan_ssid="1" key_mgmt=WPA-PSK proto=WPA pairwise=TKIP group=TKIP psk="XXX" }
What can I do to associate my wifi card to the access point?