Monday, December 4, 2023

How to find your Raspberry Pi in your network

Last week - with some struggle - I updated my Raspberry from Buster to Bullseye.

After I succeeded to complete the update, I had to reboot the Raspberry and was unable to reconnect to it with the known IP-address.

The trick I then used was to ping the hostname, only to find out that my Raspberry was using an IP 6 IP-address.

I disabled IP6 by editing the /etc/sysctl.conf file. I added these three lines;
  • net.ipv6.conf.all.disable_ipv6 = 1
  • net.ipv6.conf.default.disable_ipv6 = 1
  • net.ipv6.conf.lo.disable_ipv6 = 1
And reboot.

Then when I wanted to access my Raspberry I still was not able to use the known IP-address. Ping-ing the Raspberry showed that it was using a IP4 address, but not the required static one.
With ifconfig I saw that the network interface was given a new name. In /etc/dhcpcd.conf I entered the same name to the network interface and finaly I got my static IP-address working again.

Saturday, December 2, 2023

Unable to upgrade after update to Bullseye

 I updated my Raspberry Pi from Buster to Bullseye. In my previous blog you could read that I had some issues starting Pi-hole ater the update.

I noticed that I also could not upgrade Raspberry OS completely. 

After a lot of Google-ing I found this post what was a working solution for me. LINK