On Wed, 30 Jan 2008 14:48:37 -0200 Marcelo Chiapparini <[EMAIL PROTECTED]> wrote:
> My problem is with encryption (WPA). This is what I have: /etc/network/interfaces (relevant lines to wireless link only): #DHCP doesn't work very well with wpa here, so I use static #addresses. Also, it's a way of taking out the equation some #variables. iface eth2 inet static address 192.168.11.3 #my address netmask 255.255.255.0 gateway 192.168.11.1 #my router's address wireless-essid "my ssid" up wpa_supplicant -ieth2 -c/etc/wpa_supplicant.conf -Bw -Dwext down killall wpa_supplicant allow-hotplug eth2 My wpa_supplicant.conf is just the output of wpa_passphrase (man wpa_passphrase). Run it with your ssid and passphrase and copy the output to wpa_supplicant.conf, so it looks like this: /etc/wpa_supplicant.conf: network={ ssid="my ssid" #psk="whatevercrossesyourmindthebiggerthebetter" psk=bigstringoflettersandnumbersgeneratedbasedonyourpassphraseandssid } Put the psk (the second and real one) in your router's settings. That should be it. Check that you can get authentification from the router by running wpa_supplicant like this: wpa_supplicant -ieth2 -c/etc/wpa_supplicant.conf -Dwext -d Once you convince yourself that it can connect to the router kill it and bring your interface up the usual way. I hope it works for you. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]