webc
webc copied to clipboard
Improve installer to take wireless credentials
Breaking an install boot and entering say wpa-ssid=home wpa-psk=uiopzxcv is just too hard. This is what people would have to do if they had no chance of getting a wired connection going.
The steps currently are:
- Install Webconverger
- Hold ALT to edit syslinux boot line
- Boot and hopefully connect to wifi
- Create config with wifi settings and add terminal to config
- Reboot and ... hold ALT again to pass in the wifi settings
- Now Webconverger should be configured.
It really should be:
- Install Webconverger... if wlan0 detected prompt for essid and psk
- Write essid and psk to installed
/etc/webc/cmdline - Reboot and configure etc etc
WDYT @matthijskooijman ?
Write essid and psk to installed /etc/webc/cmdline
That won't work - that file comes from git. What would work is writing stuff to the bootloader config / kernel commandline, but then you would have to make sure that those settings are copied over to the new bootloader config on every upgrade. A general solution would be to use a keep_append option, already implemented here: https://github.com/bizplay/kiosk-os-chroot/commit/9d5b8368b3d34c263f2dd9665d6d865e889f19a4
Video here shows how clumsy the Wireless setup process is: https://www.youtube.com/watch?v=f8xR42iDQ2c