WPA-PSK from console

Nils Kassube kassube at gmx.net
Wed Jun 10 19:04:41 UTC 2009


Andrey Zhidenkov wrote:
> I'm configuring DWM now and have a problem with WiFi configuration. I
> suppose that I have to use wpa_supplicant. This is my conf file:
>
> -----------------------
>
> network={
>     ssid="ALG"
>     proto=WPA
>     key_mgmt=WPA-PSK
>     pairwise=TKIP
>     group=TKIP
>     psk="xxxx"
> }
>
> ----------------------
>
> When I run wpa_supplicant there is no any output, but iwconfig says
> that wlan "not associated". Any suggestions?

Maybe you have the wrong WPA key? It should be the 64 character hex key, 
not the passphrase. Run the command

wpa_passphrase ssid passphrase

in a terminal to get the correct entry.


Nils





More information about the ubuntu-users mailing list