Improve installer to take wireless credentials #221

Open
kaihendry opened this Issue Jul 23, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@kaihendry
Member

kaihendry commented Jul 23, 2015

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:

  1. Install Webconverger
  2. Hold ALT to edit syslinux boot line
  3. Boot and hopefully connect to wifi
  4. Create config with wifi settings and add terminal to config
  5. Reboot and ... hold ALT again to pass in the wifi settings
  6. Now Webconverger should be configured.

It really should be:

  1. Install Webconverger... if wlan0 detected prompt for essid and psk
  2. Write essid and psk to installed /etc/webc/cmdline
  3. Reboot and configure etc etc

WDYT @matthijskooijman ?

@matthijskooijman

This comment has been minimized.

Show comment
Hide comment
@matthijskooijman

matthijskooijman Jul 23, 2015

Member

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: bizplay/kiosk-os-chroot@9d5b836

Member

matthijskooijman commented Jul 23, 2015

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: bizplay/kiosk-os-chroot@9d5b836

@kaihendry

This comment has been minimized.

Show comment
Hide comment
@kaihendry

kaihendry May 17, 2016

Member

Video here shows how clumsy the Wireless setup process is: https://www.youtube.com/watch?v=f8xR42iDQ2c

Member

kaihendry commented May 17, 2016

Video here shows how clumsy the Wireless setup process is: https://www.youtube.com/watch?v=f8xR42iDQ2c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment