Close

version 1.75 is now available

A project log for Mini-PI Media Server

Mini-PI Media Server for use on home network or as a wifi access point to stream media from

diddydiddy 07/15/2025 at 08:170 Comments

The school of hard knocks decided to pay a visit last night when I found out the Pi OS Bookworm no longer uses wpa_supplicant.conf for wifi networks.

as a result, running my script to configure wifi is ignored. the Pi just carries on using what ever wifi was set at the time of creating the sd card image using pi imager.

so an updated reconfigure-wifi.sh script was written to handle wifi using nmcli and storing the hashed wifi passwords.

Not so much of an issue on a Pi zero 2w as it only has 2.4Ghz wifi but if this project runs on a Pi 4B or above, the 5ghz network was just ignored.

the upshot is that now a secondary wifi connection is handled now ( hotspot connection).

to run, ./reconfigure-wifi.sh (within the pi-setup folder)

the user is asked the country they are in (for wifi bands availability)

wether to set up a 5Ghz wifi connection or a 2.4Ghz connection

The wifi ssid and password

The user is then asked if they want to set up a fallback wifi network just in case the 5Ghz wifi is not good enough or in range.

the script then searches for this entered wifi connection and if this works then asks for a hotspot connection ssid and password.

These are written to the correct locations and the mini-pi server rebooted.

Discussions