Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Raspberry Pi OS 12 (Bookworm) released
#19
(10-18-2023, 09:10 PM)TheOldPresbyope Wrote: Been away since the weekend. Finally back poking around Bookworm.

Regarding WiFi, it actually still uses wpa_supplicant to establish the connection (authentication, handshaking, etc) but under the control of NetworkManager via DBus. 

In particular, the file /etc/wpa_supplicant/wpa_supplicant.conf isn't used. Instead, connection details are stored in /etc/NetworkManager/system-connections/<SSID>.nmconnection files.

On a headless bookworm system for which I preconfigured WiFi in the RPi Imager before flashing (my SSID is Krypton):

Code:
###like wpa_supplicant.conf before it, only root can read/write the connection file###

kreed@rpios1264:/etc/NetworkManager/system-connections $ ls -l
total 4
-rw------- 1 root root 326 Oct  9 23:57 Krypton.nmconnection

###the content is similar to the content of a wpa_supplicant.conf file but not the same###

kreed@rpios1264:/etc/NetworkManager/system-connections $ sudo more Krypton.nmconnection
[connection]
id=Krypton
uuid=b48f997d-3923-4eeb-9363-6db20e190763
type=wifi
interface-name=wlan0

[wifi]
mode=infrastructure
ssid=Krypton

[wifi-security]
auth-alg=open
key-mgmt=wpa-psk
psk=<elided>

[ipv4]
method=auto

[ipv6]
addr-gen-mode=default
method=auto

[proxy]
(END)


I haven't quite worked out how this got configured when Bookworm booted. Apparently, the /boot/firstrun.sh script uses scripts in the rootfs which are OS-version-specific to deal with the setup but it still mentions /etc/wpa_supplicant/wpa_supplicant.conf. I'm sure it will turn out to be something obvious.

Regards,
Kent

Hopefully it's a clean switchover to the new config and not some sort of either/or/depending. That would be messy :-0
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
RE: Raspberry Pi OS 12 (Bookworm) released - by Tim Curtis - 10-18-2023, 11:08 PM

Forum Jump: