I follow the instructions from handbook:
ifconfig wlan0 create wlandev ath0
ifconfig wlan0 inet 192.168.1.1 netmask 255.255.255.0 ssid WALUBAME wepmode on wepkey maximoemelo06
after:
wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf
and i got:
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument
wlan0: Trying to associate with 00:21:27:e2:7b:9a (SSID='WALUBAME' freq=2437 MHz)
wlan0: Associated with 00:21:27:e2:7b:9a
wlan0: CTRL-EVENT-CONNECTED - Connection to 00:21:27:e2:7b:9a completed (auth) [id=0 id_str=]
and not connect.
Here is my wpa_supplicant.conf:
network={
ssid="WALUBAME"
key_mgmt=NONE
wep_key0="maximoemelo06"
}