Saturday, July 15, 2006

ipw2200, ubuntu and wpa-psk

Here is the content of my script that starts the wpa-psk wireless configuration using wpa_supplicant:

sudo wpa_supplicant -i eth1 -c /etc/wpa_supplicant.conf -D wext -B

Note that wpa_supplicant is using the wext module, NOT the ipw module.

Here is the contents of the wpa_supplicant.conf file:

ctrl_interface=/var/run/wpa_supplicant
network={
ssid="your ssid here"
scan_ssid=1
#proto=WPA
proto=WPA
group=TKIP
auth_alg=OPEN
key_mgmt=WPA-PSK
#psk="your password here"
pairwise=TKIP
psk=your psk key here
}


The psk key above can be generated using the wpa_passphrase tool.

Ognen

No comments: