You are not logged in.

#1 2010-10-02 15:44:00

filam
Wiki Maintainer
From: Portland, ME
Registered: 2008-04-11
Posts: 158
Website

[SOLVED] WPA Fail - Permission Errors

I use the manual network management as defined by the Arch Wiki. I recently moved to a new apartment and haven't been able to connect to the WPA2 encrypted network. I have a series of permissions errors in standard error every time I login into my normal user. I assume as a result wpa_supplicant fails to connect to the network.

Permission Errors

SIOCSIFFLAGS: Permission denied
Could not set interface 'wlan0' UP
ioctl[SIOCSIWPMKSA]: Operation not permitted
ioctl[SIOCSIWMODE]: Operation not permitted
Could not configure driver to use managed mode
ioctl[SIOCSIWAP]: Operation not permitted
ioctl[SIOCSIWESSID]: Operation not permitted
socket(PF_PACKET): Operation not permitted
ioctl[SIOCSIWENCODEEXT]: Operation not permitted
ioctl[SIOCSIWENCODEEXT]: Operation not permitted
ioctl[SIOCSIWENCODEEXT]: Operation not permitted
ioctl[SIOCSIWENCODEEXT]: Operation not permitted
Failed to disable WPA in the driver.
ioctl[SIOCSIWAP]: Operation not permitted
ioctl[SIOCSIWESSID]: Operation not permitted
SIOCSIFFLAGS: Permission denied

wpa_supplicant FAIL

<2>Trying to associate with 00:26:4d:54:e5:b7 (SSID='EasyBox-54E557' freq=2412 MHz)
<2>CTRL-EVENT-SCAN-RESULTS 
<2>WPS-AP-AVAILABLE 
<2>Associated with 00:26:4d:54:e5:b7
<2>Authentication with 00:26:4d:54:e5:b7 timed out.
<2>CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
<2>CTRL-EVENT-SCAN-RESULTS 
<2>WPS-AP-AVAILABLE

This string of messages repeats itself as wpa_supplicant attempts to connect.

These errors have appeared seemingly randomly. I'm not terribly sure where the permission issues could come from. I run everything as root relating to the networking. The current ownership of wpa_supplicant is -rw-r--r-- since I have run into other permissions errors when I changed the permission to 600 as referenced in the wiki.

Any help would be greatly appreciated.

Last edited by filam (2010-10-05 14:18:58)

Offline

#2 2010-10-02 16:08:38

filam
Wiki Maintainer
From: Portland, ME
Registered: 2008-04-11
Posts: 158
Website

Re: [SOLVED] WPA Fail - Permission Errors

When I change the permission of /etc/wpa_supplicant to 600 I get the following message in stderr as a normal user:

Failed to read or parse configuration '/etc/wpa_supplicant.conf'.

What would create messages in standard error as of my normal user?

Offline

#3 2010-10-02 16:25:38

filam
Wiki Maintainer
From: Portland, ME
Registered: 2008-04-11
Posts: 158
Website

Re: [SOLVED] WPA Fail - Permission Errors

Ugh. I rewrote the PSK so that it was the default in the book and now I can connect. I made a faulty assumption which was that the default password wasn't changed. I made that assumption because that is what my new rooommates told me. I'm sure there is some moral in this story.

I still recieve that permission error regarding parsing wpa_supplicant.conf in stderr. Anyone know what could be causing that?

Last edited by filam (2010-10-02 16:27:05)

Offline

#4 2010-10-03 14:14:59

dioltas
Member
Registered: 2009-06-03
Posts: 44

Re: [SOLVED] WPA Fail - Permission Errors

Hi, I usually have to run wpa_supplicant as root, or using sudo.

I don't think it's designed to be used as a normal user.

Maybe you don't have read / write permissions for wpa_supplicant.conf, although I didn't think you would need to be able to write anything to it.

Offline

Board footer

Powered by FluxBB