radiodan/cold_start — pull request #3 by andrewn (2013-09-01 18:41:57+00:00)
Title: Hostapd

Experimenting with a more stable wifi network configuration experience.

Replaced adhoc wifi network creation and created an access point using `hostapd`.

Pros:
+ seems quicker to create a visible network
+ joining the network triggers the captive portal window on a mac

Cons:
- can't use `wpa_cli scan` to scan for access points whilst in AP mode

As a workaround I perform 10 scans over 60 secs before initialising hostapd so that there are results for the wpa_cli_ruby webapp. The webapp needs to be patched so that it never calls `scan` otherwise the results disappear.