On 10/08/2013 19:27, Bruno Melo wrote:
> 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"
> }*
> |
Just in case this helps, I've used this setup succesfully a number of times:
$ cat > foo.conf
network={
ssid="WLAN_XX"
scan_ssid=1
key_mgmt=NONE
wep_tx_keyidx=0
wep_key0=***********hex string here *********
}
^D
$ wpa_supplicant -i wlan0 -c foo.conf
The FreeBSD handbook I referred to earlier has a special section about
Atheros. Please have a look. You might need to insert kernel modules by
hand before this works.
--
Robert Millan