# Bookworm + pi 5

**URL:** <https://dietpi.com/forum/t/bookworm-pi-5/24704>\
**Category:** General Discussion\
**Created:** [22 November 2025 01:44 UTC](https://dietpi.com/forum/t/bookworm-pi-5/24704 "2025-11-22T01:44:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![catapult](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/c/f07891/32.png) [@catapult](https://dietpi.com/forum/u/catapult)\
**Post date:** [22 November 2025 01:44 UTC](https://dietpi.com/forum/t/bookworm-pi-5/24704/1 "2025-11-22T01:44:34Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [22 November 2025 06:59 UTC](https://dietpi.com/forum/t/bookworm-pi-5/24704/2 "2025-11-22T06:59:13Z")

</div>

> [@catapult](#):
>
> how to make pi 5 connect wifi automatically ,where is file

Should be there as usual.

> [@catapult](#):
>
> will dietpi automatically update to trixie after first boot

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

---

<div class="post-metadata">

**Author:** ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)\
**Post date:** [22 November 2025 16:10 UTC](https://dietpi.com/forum/t/bookworm-pi-5/24704/3 "2025-11-22T16:10:55Z")

</div>

> [@catapult](#):
>
> 1 . how to make pi 5 connect wifi automatically ,where is file ( connecting to ethernet not possible )

[https://dietpi.com/docs/install/#2-flash-the-dietpi-image](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.

---

<div class="post-metadata">

**Author:** ![system](https://dietpi.com/forum/uploads/default/original/1X/7e1021de2213860bce185915ce2c1786e56490ec.png) [@system](https://dietpi.com/forum/u/system)\
**Post date:** [20 February 2026 16:11 UTC](https://dietpi.com/forum/t/bookworm-pi-5/24704/4 "2026-02-20T16:11:28Z")

</div>

Closed on 20 February 2026 16:11 UTC

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