Wifi Integration
Clean up
Fix removing only started workers on update
Set default gateway via tenus lib
Introduce BaseWorker type
and changed the way a worker is killed or turned off
Fix wifi frontend and add missing i18n en
Use channels for worker orchestrating
AP/STA mode working
we have to fix
* on initial creation AP has a client network (needs a dhcp and dns server)
* restarting/reloading the worker properly
Set wifi card link up before scanning
Delete/reset network interfaces on confd clean-up
Split wifi into STA and AP worker
create virtual network interfaces in confd
Serve watcher results via API
Save watcher results to database
Add test function to worker interface
Add wireless station frontend page
Implement wifi scanner and api handler
4. make it possible to scan for networks
Initial wifi integration
1. make it possible to configure and start hostapd
2. make it possible to configure and start wpa_supplicant
3. make it possible to use both (wpa_supplicant and hostapd)
3.1. iw dev wlp5s0 interface add wlp5s0_XX type managed address aa:bb:cc:dd:ee:XX
3.2. (main device must be down) ip link set dev wlp5s0 down
3.3. order matters. start hostapd first!
Co-authored-by: Lukas Matt <lukas@matt.wf>
Reviewed-on: #7