Closed leo-cheron closed 6 years ago
@mrgnou Thanks, good idea. I've opened a issue in device-init which does the real work.
We have switched to cloud-init with HypriotOS 1.7.x so please have a look at our latest blog post about using cloud-init or the example /boot/user-data
in the latest SD card image. As you can specify the whole wpa config you should be able to do this.
Should be manageable with a customized user-data
file. See https://github.com/hypriot/image-builder-rpi/blob/master/builder/files/boot/user-data how the default /boot/user-data
file of HypriotOS 1.7.x looks like and adjust it to your needs. Then use the latest flash script with option flash --userdata your-customized-hidden-ssid-user-data-file
.
Actually, the generated wifi configuration doesn't provide hidden ssid support. It would be nice to manage hidden wifi networks by adding an optional param scan-ssid to device-init.yaml such as:
This way, generated wlan0 file would look like