danzimmerman / dz_rpi_config

Bash and other linux config tools, version controlled.
0 stars 0 forks source link

/etc/netplan on Raspberry Pi OS Bookworm is a file. #6

Closed danzimmerman closed 4 weeks ago

danzimmerman commented 4 weeks ago

Want the equivalent of #2 for Debian Bookworm, but /etc/netplan is not a directory of files.

It uses NetworkManager:

https://raspberrypi.stackexchange.com/questions/145593/how-do-i-set-up-networking-on-raspberry-pi-os-bookworm

nmcli con show shows a wired and wireless connection (the latter called preconfigured, the former seems defaulted to simple DHCP)

danzimmerman commented 4 weeks ago

Honestly this can probably just skip the netplan configuration on the basis of a conditional OS check in the shell script. The wired connection comes up automatically and the IP address setting can be handled in DHCP. Will just close this because the default config is fine.