Fix error "Failed to start DHCP Client Daemon" after upgrade to "Bullseye" on RaspberryPI

Important This fix can be applied before the reboot after the upgrade from Buster to Bullseye, if you missed it you need a MicroSD card reader and some Linux computer (another RaspberryPI would do) to edit the file. In the file /etc/systemd/system/dhcpcd.service.d/wait.conf there is a wrong path for the dhcpd, it has to be changed. wrong (from buster): /usr/lib/dhcpcd5/dhcpcd correct and new on Bullseye: /usr/sbin/dhcpcd So you need to do this before the reboot, otherwise the RaspberryPi will not have a working WIFI or Ethernet connection after the reboot and will not allow you to login from remote by SSH. ...

4. Juni 2023 · 1 Minute · utzer

Upgrade Raspberry Pi OS from Buster to Bullseye

So to upgrade Raspbian, as it was previously called, from Buster to Bullseye went smooth an easy, I tried this with some Pi2B (armhf 32Bit) and with a Pi4. These two are headless systems, so I don’t know if this works well for any systems with window managers. Better run these commands in screen, so when the SSH connection is interrupted you can reconnect and resume your work. Edit: For the update there is a culprit, it will cause a problem with dhcpd, so before the reboot 13. (was point 12. before I added the remark below) please check this post. ...

11. Mai 2023 · 2 Minuten · utzer

Debian for Raspberry Pi

Just some info, because the last time when I flashed an SD card I took #Raspbian only because I could not find the #Debian images as quick. Infos about Debian for #Pi are here: https://wiki.debian.org/RaspberryPi Images: https://raspi.debian.net/tested-images/ Some tips for settings, like #SSH on first boot (you need to add a key): https://raspi.debian.net/defaults-and-settings/

5. Februar 2021 · 1 Minute · utzer

Linux swap with dphys-swapfile

This is a solution for a #RaspberryPi, some #VPS without swap of some machine setup without swap where you need swap for something without wanting to fiddle with the drive partitions or so. This is a quick and dirty “short manual” for #Debian based #Systemd environments (such as #Ubuntu, #Mint or #Raspbian). First run this: cat > dphys-swap.sh << EOF #!/bin/bash #~/up apt-get install dphys-swapfile echo "CONF_SWAPSIZE=2048"|tee -a /etc/dphys-swapfile dphys-swapfile setup dphys-swapfile swapon systemctl restart dphys-swapfile.service systemctl status dphys-swapfile.service free -h EOF This will just create a short #bash #script with the needed commands to run to get #dphys setup and running. Please alter the number 2048 to your need, it is the size of the swap memory that will be setup. The size of the swap should most likely by equal to the real memory installed, sometimes twice the size seems to be a good choice too. ...

20. April 2020 · 2 Minuten · utzer