Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory error
I've had slack setup for a couple months now, and after a few abortive attempts to manually get my network setup using wpa_supplicant, I decided, partially due to the frequency with which I use a wide variety of networks, that it would just be easier to let a pre-built program do the trick, and so I downloaded and installed Wicd, which has been working fine.
However, during those abortive attempts I did something which has caused for an extremely time-consuming and annoying error message, the aforementioned Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory, to occur on startup. And when I say occur, I mean occur. It is repeated probably around thirty times with a period of about one second, and that is one annoying half of a minute that I don't want to have to deal with. I should note by the way that it is preceded by a series of error messages, usually "failed to parse..." before just about every line in the wpa_supplicant. I currently have the wpa_supplicant blank: Code:
# This line enables the use of wpa_cli which is used by rc.wireless It isn't the most pressing issue because it's more of an annoyance than anything, but if somebody has had this issue before and would be willing to help me solve it, I'd be very thankful. I'm more than willing to post the contents of any other files if need be. |
You probably need to remove any reference to your wireless interfaces from /etc/rc.d/rc.inet1.conf
|
Well, I'm using wpa2 encryption and my wpa_supplicant.conf looks like this (for two different wireless networks)
Code:
Code:
#!/bin/bash I'd strongly recommend to get rid of wcid, this tool never worked for me. Markus |
Well, it does work for me, although I'll keep that in mind if it starts acting up.
Quote:
|
I have similar, but opposite problem:
I don not use any wicd or similar stuff(and shall not!). I have setup my /etc/rc.d/rc.inet1.conf to activate my wlan0 interface I have setup my /etc/wpa_supplicant.conf for my wireless network environment. So when I booting up my laptop(or changing runlevel 1<->3<->4), I also get those messages for a few minutes. I see a few reasons of it: 1. It is because my wireless adapter turned off by hardware button above keyboard(and it intended to be so! - I usually do not turn on extra energy consumers when I have not external power supply). 2. Either because my location does not has any wireless networks I configured in wpa_supplicant.conf How I can get rid of those annoying messages?! During boot-up I cannot ^C or ^U it because there is no terminal, during switching runlevel I end up with read-only mounted / for error-messages duration. I mean, I want my system to continue boot farther(or switch runlevel) regardless of wireless environment, but be ready if I turn-on adapter and/or walk into configured environment. |
Well, my experience is that the repeated message comes when I use rc.inet1 in the default manner
Code:
/etc/rc.d/rc.inet1 wlan0_start Code:
wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf & BTW: I would also like to learn where the message comes from, I always thought that it's a bug anywhere. Markus |
Since private messages were disabled:
The variable that send that annoying message is: WLAN_WPAWAIT at rc.inet1.conf. By default it is 30. Thats why you get 30 messages. |
All times are GMT -5. The time now is 10:52 PM. |