On 10/08/13 18: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
Do you really want to assign IP 192.168.1.1 to the kFreeBSD host? Most commonly that would be the IP of the wireless router, so a client would 192.168.1.2 instead, for example. Or see the last paragraph of this mail about DHCP... It is recommended to specify WEP passphrases in hexadecimal form. Instead of 'wepkey maximoemelo06' perhaps try 'wepkey 0x6d6178696d6f656d656c6f3036'. You must bring the interface 'up' at this point with `ifconfig wlan0 up` and look at the output of `ifconfig wlan0`. > /|* > ||*||*|||after: > |*|wpa_supplicant -i /|wlan0|/ -c /etc/wpa_supplicant.conf WEP should not need to use wpa_supplicant (though it may still work). > |* > |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 IIRC those are harmless and it should still work... > 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 It did see and associate with the access point, at least. You could try to ping your router's IP address at that point. If it fails, take a look at the output of `ifconfig wlan0`. You won't have a working Internet connection until a default route is configured, and suitable DNS server addresses in /etc/resolv.conf. Most often this is all done automatically with DHCP instead: # dhclient -v wlan0 Regards, -- Steven Chamberlain [email protected] -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

