Bookworm + pi 5

i was using pi zero 2w since 2023

now upgraded to pi 5

as usual ,i used balena to flash memory card and before booting edit dietpi-wifi and dietpi.txt to connect automatically

i am using trixie ,and not satified , so i want bookworm ,i flashed memory card ,but i see no dietpi-wifi file anywhere??

now my doubt

1 . how to make pi 5 connect wifi automatically ,where is file ( connecting to ethernet not possible )

2 . will dietpi automatically update to trixie after first boot ,if it does , please tell me a way to stop it ,i dont want trixie ,im fully comfortable with bookworm

thank you

Should be there as usual.

We will never do an automatic upgrade to Trixie. Always need to be triggered by the admin.

https://dietpi.com/docs/install/#2-flash-the-dietpi-image

To setup the WiFi, open the SD card folder, and update next two files using a text editor of your choice:

  1. Open the file named dietpi.txt. Find AUTO_SETUP_NET_WIFI_ENABLED and set to value 1.
  2. Open the file dietpi-wifi.txt and set aWIFI_SSID[0] to the name of your WiFi network.
  3. In the same file dietpi-wifi.txt, set aWIFI_KEY[0] to the password of your WiFi network.
  4. Save and close the files

/boot/dietpi.txt and /boot/dietpi-wifi.txt on Debian bookworm.
Keep in mind that dietpi-wifi.txt is deleted after the very first boot init.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.