wifi.nmconnection is not getting updated by imager_1.9.4 when I create a new SD card
What did you already try to solve it?
still troubleshooting this but wanted to understand if anyone else see this issue?
Have you tried running in safe mode?
Not relevant to the question
Did running in safe mode solve the problem?
WRITE HERE
Systeminfo Bundle
You can download this in OctoPrint's System Information dialog... no bundle, no support, unless the reason you couldn't retrieve the bundle is your network issues
WRITE HERE
Additional information about your setup
Using imager_1.9.4.exe with:
• RASPBERRY PI 4 (Model B) as Raspberry Pi Device
• Operating system selected as “Other specific-purpose OS” > “3D Printing” > “Ocopi” > “octopi 1.1.0 with OctoPrint 1.11.1 (build 20250513134411)
• Picked my USB (SD Card)
• Edit setting added my WiFi name and credentials (and other settings) then saved
• Click Yes to apply OS customization setting (BTW, the built in Pi imager has a typo in the word “customization”)
• Click yes to continue and image the SD Card
Next when opening the wifi.nmconnection file using Note++, the file has all commented lines with none of the information I entered during setup included.
Uncomment everything below this line and set your ssid and password
The BUG reported to Github on the Raspberry Pi Imager indicated that 1.8.5 was working correctly. Grabbed 1.8.5 from Release v1.8.5 · raspberrypi/rpi-imager · GitHub and the issue is still there so I'm still looking into what is going on with this.
Did you boot the RPi with your microSD card flashed with RPi Imager 1.9.4? with RPi Imager 1.8.5?
When I booted the SD flashed with 1.9.4, I did not get a WiFi connection but when I booted the SD flashed with 1.8.5, I did get connected to my WiFi.
The file: /etc/NetworkManager/system-connections/wifi.nmconnection
is "all comments" but the file: /etc/NetworkManager/system-connections/preconfigured.nmconnection contains my WiFi settings.
The file: /boot/firmware/wifi.nmconnection
is "all comments" as well.
I'm not completely sure what "magic" is performed to get the WiFi network settings from the imager to the SD card but I believe the imager issue I linked is correct, 1.9.4 fails and 1.8.5 succeeds (after a couple of automatic reboots). I did not try 1.9.0.
I wasn't able to connect via WiFi at all. I ended up connecting via LAN.
when I putty into it, I had to use the updated PW I setup for the Pi account so I know some of the data form the Pi Imager was written.
when I ls /etc/NetworkManager/system-connections/ it did not have a preconfigured.nmconnection file but I did have wifi.nmconnection which conflicts with the instructions. only way for me to CAT it was via sudo.
When I cat it I was able to see my credentials set so I know 1.8.5 did write the info. Still not sure what is going on..
I used the RPi Imager 1.8.5, the image octopi 1.1.0 with OctoPrint 1.11.1 (build 20250513134411), and customized the image with my WiFi credentials. I booted my RPi 4B with that SD card.
The RPi rebooted a couple of times before the WiFi was connected. I know this because I have an HDMI monitor connected. I've done this without a monitor, keyboard, or mouse with numerous versions of OctoPi.
Since you were successful with a wired connection, you should be able to configure the WiFi using the Network Manager tools. Find instructions or a tutorial with a Google search.
Thank you b-morgan.
Using LAN I was able to ssh then using VI update the wifi.nmconnection file then was able to switch to WiFi control.
I appreciate the support. just wasn't sure if what I saw on 1.9.4 was me or was it the universe