Sample Header Ad - 728x90

wpa_supplicant gives rfkill errors upon connection?

5 votes
2 answers
17971 views
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= } and update_config=1 network={ ssid="Guest" proto=RSN key_mgmt=WPA-PSK pairwise=CCMP TKIP group=CCMP TKIP psk= } Both give the same thing
Asked by Paul (241 rep)
Mar 19, 2015, 11:47 AM
Last activity: Feb 1, 2025, 09:29 PM