View previous topic :: View next topic |
Author |
Message |
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Fri Jun 15, 2012 2:04 pm Post subject: [solved] hostapd won't start. |
|
|
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 |
|
|
angrymouse n00b
Joined: 25 Dec 2012 Posts: 1
|
Posted: Tue Dec 25, 2012 4:13 pm Post subject: |
|
|
Man, you just save me a pack of brain cells and a couple of hours!
Thanks a lot! |
|
Back to top |
|
|
greanie n00b
Joined: 13 Nov 2007 Posts: 42
|
Posted: Mon Mar 25, 2013 2:09 pm Post subject: |
|
|
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 |
|
|
|