Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] hostapd won't start.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Fri Jun 15, 2012 2:04 pm    Post subject: [solved] hostapd won't start. Reply with quote

Code:
~ # rc-service hostapd start
 * Starting hostapd ...
rmdir[ctrl_interface]: No such file or directory
 * start-stop-daemon: failed to start `/usr/sbin/hostapd'                                                     [ !! ]
 * ERROR: hostapd failed to start

And that's it. No syslog messages (with it set to verbose debug level), no output from hostapd -dd /etc/hostapd/hostapd.conf, nothing. I haven't changed any config since it last worked. I did notice trying to reinstall hostapd that it pulled crda in, not sure why that wasn't installed previously but it didn't change anything regardless. strace tells me nothing useful.

Solved: It decided it didn't like the ht_capab= string I had set any more. What a headache...
Back to top
View user's profile Send private message
angrymouse
n00b
n00b


Joined: 25 Dec 2012
Posts: 1

PostPosted: Tue Dec 25, 2012 4:13 pm    Post subject: Reply with quote

Man, you just save me a pack of brain cells and a couple of hours!
Thanks a lot! :wink:
Back to top
View user's profile Send private message
greanie
n00b
n00b


Joined: 13 Nov 2007
Posts: 42

PostPosted: Mon Mar 25, 2013 2:09 pm    Post subject: Reply with quote

Actually, from what I can gather, this is a warning rather than an error. The rmdir is of course the command to delete a directory. the [ctrl_interface] is the one defined in hostapd.conf, usually /var/run/hostapd. At start up, hostapd will try to clean that directory. If it isn't there, you get that warning. You only see the warning if hostapd doesn't start for some reason or another.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum