Creates "Doodle3D-000000" hotspot
peteruithoven opened this issue · 2 comments
peteruithoven commented
wifibox.log:
CGI invocation
06-12 14:02:49 (info) =======rest api (api debugging)=======
06-12 14:02:50 (info) Doodle3D version: 0.10.5-a
06-12 14:02:50 (info) running in autowifi mode
06-12 14:02:50 (info) current wifi name: <nil>, mode: Unknown
06-12 14:02:50 (info) ssid of self: Doodle3D-000000
06-12 14:02:50 (info) start wifi scan
06-12 14:02:50 (info) wifi scan done
06-12 14:02:50 (info) visible networks:
06-12 14:02:50 (info) known networks: Vechtclub XL F1.19/sta, Doodle3D-4CCE92/ap, Doodle3D-000000/ap, OpenWrt/ap
06-12 14:02:50 (info) network:setStatus: 3 | Creating access point 'Doodle3D-000000'...
peteruithoven commented
The api config in /etc/config/wireless:
config wifi-iface
option network 'wlan'
option encryption 'none'
option device 'radio0'
option mode 'ap'
option ssid 'Doodle3D-000000'
option disabled '1'
We fall back to this ssid when the macaddress can't be read from: /sys/class/net/wlan0/address
It also caches the address, not sure yet how that works exactly.
peteruithoven commented
Increasing the timeout before starting our wifibox code seems to fix this. For a better solution see: #32