WPA Supplicant deamon failing to start

en0f en0f at bokey.mine.nu
Tue Dec 2 07:24:49 UTC 2008


Hi Tom,

Tom Sparks wrote:

> yes
> without the password witch I have type in 200 times  
> using the Kwlan it reports that the WPA Supplicant deamon is NOT started

All the below has to be done in a terminal (ALT+F2 -> "xterm")
$ su -
#<root password>

$ ifconfig wlan0 down; # or whatever its called ethX in general
$ killall dhclient nm-applet wpa_supplicant;

$ cat /etc/wpa_supplicant.conf # your wpa_supplicant.conf should be similar
# File: wpa_supplicant.conf

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=root
network={
        ssid="myssid"
        key_mgmt=WPA-PSK
        psk="mypresharedkey"
}

$ ifconfig wlan0 up;
$ wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
$ iwlist wlan0 scan
# should output your wireless network

$ ifconfig eth0 up;
$ dhclient eth0;
$ ifconfig -a;
# should list wlan0 with IP address;
wlan0     Link encap:Ethernet  HWaddr 00:ab:cd:ef:12:34
          inet addr:192.168.1.90  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
	  ........

HTH!




More information about the ubuntu-users mailing list