-
Notifications
You must be signed in to change notification settings - Fork 172
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
Does the WiFi example really (still) work? #176
Comments
Same problem here. I used the latest image |
@marcelstoer yes it still should work. Can you try with the latest release v1.12.1 again? We've fixed an issue at boot that may be related. |
I'm having issues with this for v1.12.2 as well |
I also cant seem to get it to work. I'm using the latest relase (v1.12.3) |
Same problem (maybe) - using the latest 1.12.3. If I use the --password mywifipass --ssid mynetworkname (or -p/-s), apparently nothing happens. flash makes no indication it processed those inputs at all: (note: changed the binary name to hypriot_flash so I have a clue what it is years from now when I wonder)
Additionally, if I mount the SD and look at if I use the example userdata @marcelstoer mentioned (thanks!) and EDIT: Ahh, my second attempt DID work, I guess I just didn't wait long enough for it to come online or something. The -s -p options do still appear to be broken, though. |
I know how you feel. Thusfar I've not come far with this when reading this pull request: it mentions still requiring an uncommented user-data file If you look inside flash (it's a bash script, not a binary) Line 754 in c501e62
it replaces the ssid and passwd lines. However, if these are still commented (per default) it either won't match or won't uncomment I guess?
EDIT: NVM I had spelling mistake in the -u wifi-user-data.yml part which failed silently. |
IDK about other people, but this exact feature of very simple and pre-configured wifi is a big part of why I was using hypriot tools for headless stuff originally. i think there's a lot of reasons to no longer prefer this approach though. as far as i know newer Ubuntu versions a) support netplan, b) support cloud-init, and c) have no issues installing or running docker on most raspberry pi versions but your milage may vary for the super old hardware releases. given this set of features, i'm not sure what the use-case is now for hypriot or even raspbian. |
I haven't had any success to enable WiFi with the latest HypriotOS on a Raspberry Pi 4. My process is as follows (for all HypriotOS installations I do) on macOS:
That has worked well so far.
However, if I enable WiFi I never manage to SSH into the Pi. Since I currently don't have a micro HDMI cable I can't even analyze where it's stuck.
I also checked and tested the WiFi example at https://github.com/hypriot/flash/blob/master/sample/wifi-user-data.yml but it looks identical to the blueprint included in the latest image.
The Pi / router / WiFi etc. are fine. I verified by configuring and flashing Raspian and all is well.
The text was updated successfully, but these errors were encountered: