I am currently setting up a WiFi hotspot for the padres using their NAS with WiFi card.
Setup: Ubuntu 13.10
Hostapd is bridged with eth0 (br0), and works great if manually restarted
sudo service hostapd restart
* Stopping advanced IEEE 802.11 management hostapd [ OK ]
* Starting advanced IEEE 802.11 management hostapd [ OK }
However, upon reboot the SSID is visible, but when trying to connect I am presented with (authentication error / incorrect password) from wireless devices.
If the above command is executed over ssh/local terminal, then all devices connect perfectly.
In order to work around this, I tried adding a delayed cron job to restart the service;
@reboot sleep 30; /fixscripts/hostapdstart.sh
I even wrote a script to stop the service and start it 60 seconds later in a similar format to above. (I believe the scripts did execute, because the SSID would dissapear, and reappear 60 seconds later).
However as per the original issue wifi devices were still presented with the authentication errors, and as before if I log on and manually restart the service it works!
Below is my hostapd.conf;