-
-
Notifications
You must be signed in to change notification settings - Fork 613
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
Switch to Predictable First-Run Wifi Password #772
Comments
@mrampersad Interesting idea. Yeah configuring the device entirely without networking can be bit challenging. I think an easier workaround would be to simply configure the WiFi using |
I failed to mention that I run Windows primarily, and mounting the image to edit the files is not easy. I also avoided making changes to non-screenly files because I wasn't sure if /etc/network/interfaces was the correct file or maybe NetworkManager or wpa_supplicant would be the right place to edit. I also do not know if the Screenly database would overwrite unexpected system-level changes. Asking for support at such a low level would be unfair. A completely static password that is not based on any unique feature of the device would also suffice. Something like 'screenly'. Many embedded device manufacturers have a default username and password for the first-run. With resin-wifi-connect you are forced to connect to a new network as your first action. I believe the reduction in security is acceptable, but I understand if you disagree. The SSID should remain random to allow many devices to be setup in the same vicinity at the same time. |
@mrampersad Perhaps a better solution is something like this:
What do you think? I'd be happy to accept such pull request. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I had an issue where for some reason the configured wifi was lost, and it switched over to try and help me set up again. but with the Splash screen disabled, you can't see the newly generated password that goes with the temp wifi... so, i was essentially locked out of changes. I couldn't find any answers for how to configure things manually either. (where does someone ask simple questions??) |
Hi, @pmb-sd !
|
Thanks @rusko124, that looks like the answer I needed! |
During my troubleshooting for #755, I did not have a TV or wired ethernet adapter and it was impossible to configure a stock Screenly image on a Pi Zero W without these. As a workaround, I wrote the image, mounted it on my desktop, and modified the SSID generation script to always generate the same hardcoded password. Then I waited for a random Screenly network to appear and connected with the known password.
If it would not be too much of a security risk, please make the resin-wifi-connect password equal to the MAC address of wlan0, or the first MAC address available in the network adapter list.
The text was updated successfully, but these errors were encountered: