Skip to content

Support updating wifi from /boot #706

Closed

Description

@jedahan

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.

Activity

  1. jedahan commented on Oct 25, 2023

    @jedahan
    Author

    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.

  2. jedahan commented on Oct 25, 2023

    @jedahan
    Author

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

  3. XECDesign commented on Oct 25, 2023

    @XECDesign

    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.

  4. jedahan commented on Oct 25, 2023

    @jedahan
    Author

    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?

  5. lurch commented on Oct 25, 2023

    @lurch
    Collaborator

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions