You are not logged in.

#1 2010-02-18 14:49:02

ackthet
Member
From: Blacksburg, VA
Registered: 2009-11-13
Posts: 13

net-auto-wireless broken [SOLVED and REPORTED]

Hey guys, I upgraded to the new netcfg today, and was pretty excited about the new auto-detection and roaming. So I started it up and the daemon failed to start. So, I tried starting netcfg-wpa_actiond manually and got this error:

Line 12: WPA-PSK accepted for key management, but no PSK configured.
Line 12: failed to parse network block.
Line 22: WPA-PSK accepted for key management, but no PSK configured.
Line 22: failed to parse network block.
Line 26: WPA-PSK accepted for key management, but no PSK configured.
Line 26: failed to parse network block.
Line 30: WPA-PSK accepted for key management, but no PSK configured.
Line 30: failed to parse network block.
Failed to read or parse configuration '/tmp/wpa.wlan0/wpa.conf'.

I checked out the contents of /tmp/wpa.wlan0/wpa.conf and saw this: http://pastebin.com/f7c1fc658

Any help would be greatly appreciated!

EDIT:
Thought I should mention I have the following lines in /etc/rc.conf:
WIRELESS_INTERFACE="wlan0"
WIRED_INTERFACE="eth0"

Last edited by ackthet (2010-02-19 16:56:09)

Offline

#2 2010-02-18 14:59:50

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: net-auto-wireless broken [SOLVED and REPORTED]

it will be a bit useful to post your profile and your wireless AP settings. (security, etcetera)

Offline

#3 2010-02-18 16:23:09

ackthet
Member
From: Blacksburg, VA
Registered: 2009-11-13
Posts: 13

Re: net-auto-wireless broken [SOLVED and REPORTED]

Sure. The following two profiles are representative of all of my profiles. It should be noted that all of these profiles connect properly with netcfg <profile name>.

CONNECTION="wireless"
DESCRIPTION="Wireless connetion to bus network"
INTERFACE="wlan0"
ESSID="Topglobal-200548"
IP="dhcp"
DHCP_TIMEOUT=300

and

CONNECTION="wireless"
DESCRIPTION="Wireless connetion to Amen-Re"
INTERFACE="wlan0"
SECURITY="wpa"
ESSID="<ssid>"
KEY="<passwd>"
IP="dhcp"
DHCP_TIMEOUT=300

Update: I removed all the non-encrypted network profiles (in the format of the first example) and it now starts correctly. Is there an issue with the first example? They still connect manually.

Last edited by ackthet (2010-02-18 17:03:55)

Offline

#4 2010-02-18 19:14:16

amranu
Member
Registered: 2008-09-25
Posts: 94

Re: net-auto-wireless broken [SOLVED and REPORTED]

I'm having this issue as well

Offline

#5 2010-02-18 19:25:05

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,229
Website

Re: net-auto-wireless broken [SOLVED and REPORTED]

Have you tried with SECURITY="none" in a profile without encryption?

Offline

#6 2010-02-18 19:39:04

amranu
Member
Registered: 2008-09-25
Posts: 94

Re: net-auto-wireless broken [SOLVED and REPORTED]

strange, even though net-auto-wireless starts when removing profiles without encryptions, it still does not connect to any networks hmm manually connecting works fine though

Offline

#7 2010-02-18 19:49:39

Natanji
Member
Registered: 2009-09-22
Posts: 134

Re: net-auto-wireless broken [SOLVED and REPORTED]

It works with SECURITY="none". However, this should really be mentioned in the update notes because it effectively breaks net-auto-wireless if this line is missing in network profiles without encryption. Also, in /etc/network.d/example/wireless-open, this line is also missing, so there is no way to find out for the user.

Offline

#8 2010-02-18 19:51:04

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: net-auto-wireless broken [SOLVED and REPORTED]

did you install wpa_actiond ?

Offline

#9 2010-02-18 20:06:13

amranu
Member
Registered: 2008-09-25
Posts: 94

Re: net-auto-wireless broken [SOLVED and REPORTED]

yup

Offline

#10 2010-02-19 07:37:46

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,229
Website

Re: net-auto-wireless broken [SOLVED and REPORTED]

Natanji wrote:

It works with SECURITY="none". However, this should really be mentioned in the update notes because it effectively breaks net-auto-wireless if this line is missing in network profiles without encryption. Also, in /etc/network.d/example/wireless-open, this line is also missing, so there is no way to find out for the user.

Please file a bugreport for that.

Offline

#11 2010-02-19 16:31:51

ackthet
Member
From: Blacksburg, VA
Registered: 2009-11-13
Posts: 13

Re: net-auto-wireless broken [SOLVED and REPORTED]

I will file the bug report.

Update: Bug report filed: http://bugs.archlinux.org/task/18401

Last edited by ackthet (2010-02-19 16:55:41)

Offline

#12 2010-04-04 15:06:44

kasbah
Member
Registered: 2009-08-13
Posts: 30

Re: net-auto-wireless broken [SOLVED and REPORTED]

I had a problem with a profile that had SECURITY="wpa" but no KEY field.

I know that its a useless profile and I cannot remember why I have it but took me a while to diagnose the problem since net-auto-wireless just fails silently.

Offline

Board footer

Powered by FluxBB