procount / pinn

An enhanced Operating System installer for the Raspberry Pi
1.11k stars 123 forks source link

headless bookworm install, no wifi setup #832

Open narspt opened 3 weeks ago

narspt commented 3 weeks ago

Hi, I used to use PINN to easily manage and reinstall OS's on completely headless RPi's, it always worked great and Wifi used to be setup automatically by PINN, however since Bookworm this seems not done anymore, I did check and it seems Bookworm doesn't accept wpa_supplicant.conf anymore, I guess this is why PINN can't setup Wifi details anymore, however there must be another way to do it (I don't know yet how) as the official RPi USB Installer apparently allows to setup Wifi details, would it be possible you get this working for PINN also to automatically setup Wifi?

procount commented 3 weeks ago

Since the introduction of bookworm and the Pi5, many things have unfortunately broken. Wifi setup only worked with wpa_supplicant, but with the change to network manager this has broken too. Once I have figured out how to convert, I will adapt it. For now it needs some manual intervention.

narspt commented 3 weeks ago

Thanks for your reply, I understand. Btw, maybe the following may be interesting for you (if you didn't see it yet): https://github.com/raspberrypi/bookworm-feedback/issues/72 there are some workaround methods mentioned there, like the one with firstrun script, apparently the method used by rpi-imager.

Btw, for now I did it manually, connected ethernet cable and used these commands via ssh:

sudo nmcli radio wifi on
sudo nmcli dev wifi connect <wifi-ssid> password "<network-password>"