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

Support updating wifi from /boot #706

Closed
jedahan opened this issue Oct 25, 2023 · 5 comments
Closed

Support updating wifi from /boot #706

jedahan opened this issue Oct 25, 2023 · 5 comments

Comments

@jedahan
Copy link

jedahan commented Oct 25, 2023

With the migration to networkmanager, we lost the ability to easily update wifi credentials by mounting /boot/ and writing a wpa_supplicant.conf file.

I'd like to bring this back in whatever the most appropriate manner.

Was thinking of just adding mv /boot/*.nmconnection /etc/NetworkManager/system-connections to firstrun.sh, but wanted to start a small discussion to make sure this is the best way for the rpi team and community first.

@jedahan
Copy link
Author

jedahan commented Oct 25, 2023

The other option I see relates to cloud-init, which supports updates: clauses for running "per-boot" instead of first boot, but I am not sure how that integrations works with rpi.

@jedahan
Copy link
Author

jedahan commented Oct 25, 2023

See previous discussion on RPi-Distro/raspberrypi-sys-mods#82

@XECDesign
Copy link

I don't think this is the right repo for this. This is all very specific to raspberry pi os and none of this functionality was ever provided by rpi-imager itself.

@jedahan
Copy link
Author

jedahan commented Oct 25, 2023

Yeah, it’s a bit hard to find where raspberry pi OS actually defines firstboot.sh - should I open in pi-gen or is there another location?

@jedahan jedahan closed this as completed Oct 25, 2023
@lurch
Copy link
Contributor

lurch commented Oct 25, 2023

See the discussion in raspberrypi/bookworm-feedback#72

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

3 participants