I have not used wpa_supplicant before, so am confused as to whether a valid connection is being made. I used wpa_passphrase to get a psk and made that output my wpa_supplicant.conf. I then connect with:
wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
and this is the output:
rfkill: Cannot open RFKILL control device
ioctl[SIOCSIWAP]: Operation not permitted
wlan0: Trying to associate with e8:04:62:23:57:d0 (SSID='Guest' freq=2412 MHz)
wlan0: Associated with e8:04:62:23:57:d0
wlan0: WPA: Key negotiation completed with e8:04:62:23:57:d0 [PTK=CCMP GTK=CCMP]
wlan0: CTRL-EVENT-CONNECTED - Connection to e8:04:62:23:57:d0 completed (auth) [id=0 id_str=]
It seems to connect but there are errors at the start, what do they mean? Do they affect the connection or does this look like I am connected correctly? I ask this as I try to give wlan0 an address with dhcp pr udhcpc and it does not get one, any idea why?
I have tried these two wpa_supplicant.conf's
network={
ssid="Guest"
#psk="xxxxxxxx"
psk=<numbers>
}
and
update_config=1
network={
ssid="Guest"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk=<numbers>
}
Both give the same thing
sudo
or asroot
– Milind Dumbare Mar 19 '15 at 11:51/etc/wpa_supplicant.conf
– Milind Dumbare Mar 19 '15 at 12:00/dev/rfkill
? Does your kernel have RFKILL enabled? – Milind Dumbare Mar 19 '15 at 12:08