Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hidden ssid support #74

Closed
leo-cheron opened this issue Jul 16, 2016 · 3 comments
Closed

Add hidden ssid support #74

leo-cheron opened this issue Jul 16, 2016 · 3 comments

Comments

@leo-cheron
Copy link

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:

hostname: black-pearl
wifi:
  interfaces:
    wlan0:
      ssid: "MyNetwork"
      scan-ssid: 1
      password: "secret_password"

This way, generated wlan0 file would look like

allow-hotplug wlan0

auto wlan0
iface wlan0 inet dhcp
  wpa-ssid MyNetwork
  wpa-scan-ssid 1
  wpa-psk generated_psk
@leo-cheron leo-cheron changed the title adding hidden ssid supported adding hidden ssid support Jul 16, 2016
@leo-cheron leo-cheron changed the title adding hidden ssid support Add hidden ssid support Jul 16, 2016
@StefanScherer
Copy link
Member

@mrgnou Thanks, good idea. I've opened a issue in device-init which does the real work.

@StefanScherer
Copy link
Member

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.

@StefanScherer
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants