GithubHelp home page GithubHelp logo

Comments (6)

StefanScherer avatar StefanScherer commented on July 27, 2024 1

Thanks. Yes this does not work at the moment. With Hypriot 1.7.0 we have switched from device-init to cloud-init and now there is a boot/user-data file.
Seems like flash should write these two options into user-data write_files section.
At the moment you have to do that manually and also activate the WiFi sections.

from flash.

joevandyk avatar joevandyk commented on July 27, 2024 1

@StefanScherer should the documentation be updated?

from flash.

fudekun avatar fudekun commented on July 27, 2024

Thank you for your answer.
In the case of the URL method taught to you, I can not use "package-*" related description of "cloud-init". It is very inconvenient.
I need the options device - init.yml and --ssid and - password.

from flash.

StefanScherer avatar StefanScherer commented on July 27, 2024

@joevandyk Yes, I'm also thinking about to remove these options until we have a PR for that for cloud-init

from flash.

pisuke avatar pisuke commented on July 27, 2024

I've also experimented the same problem.

Should the correct way to specify the wi-fi settings be to use the write_files section and add a custom wpa_supplicant.conf file put inside /etc/wpa_supplicant?

Here is a wpa_supplicant configuration that works for me with the 1.9.0 version of HypriotOS.

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=UK

network={
	ssid="SSID"
	psk="PASSWORD"
}

I agree that the user documentation should be updated.

from flash.

StefanScherer avatar StefanScherer commented on July 27, 2024

Fixed with #165, but a prepared user-data file must be used with uncommented section.

from flash.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.