I recently purchased a Raspberry Pi 4 (only the 2GB RAM) with the intentions of using it as a pi-hole. I decided to try and use the aarch64 image since the model 4 is supposed to be capable of 64-bit. I ran the command below to install it on the SD card:
It wrote to the SD card successfully but when I try to boot the Pi - nothing. Am I doing something wrong here or any thoughts on troubleshoot? I did connect it to my Sharp TV but I’ve connected other computers to it just fine. Should I just use the ARMv7 image? Thanks!
I have had problems in the past with having the micro HDMI cable plugged into the wrong port since the RPi4 has dual video out. You could try moving the cable to the other port and see if you get any output.
I just plugged it into a normal monitor and it came up great! Is there a default user because it put me at a login prompt but I had not set up a user or password. Couldn’t log in. I’m reflashing the SD card again just to see if I missed something.
ETA: Ah, I see that reading is fundamental. I hadn’t seen read the section “Setting up the device with Zezere” because I didn’t think it applied to me. Looks like it was part of the process. Hope rewriting the image isn’t too bad on the SD card lol.
I’m excited to get this up and going! I hope the pi-hole container plays nice with podman!
Can someone help elaborate on how I’m supposed to log into this? I made some SSH keys and followed the guide but I don’t understand when it says open a terminal and SSH in through the root. I haven’t set up an IP address yet? I try logging into the device locally with root and the password I set up. What am I missing?
Okay I got. I feel like an imposter, I’m a network engineer by day so I should have figured it out sooner.
Once you copy over the public key you have to go to the router and compare the MAC address of the Pi to those in the DHCP lease table. Once you have the IP address you just point your SSH to that with the private key you set up.
Alright, I’m so close but I’m running into one error when I try to pull and then run the container. It needs port 53 open but when I try to specify the port in the podman run command it says it is already in use. How can I troubleshoot this?
I am specifically trying to use the podman run command equivalent to the docker run command found here:
Solution was to stop the systemd-resolved service. I just tried using the DNS address locally and it is now working whereas it wasn’t if I left off the port 53 from the podman run command.
I’m about to set up my router to point to it as the DNS address automatically, fingers crossed.
ETA: My old Spectrum router doesn’t have the option. No matter, it works great just setting the DNS locally on each device. I am also about to move soon and will buy my own router for the new place.
Fedora 33 IOT aarch64 + Pi-hole via podman works great! I am very happy with this solution.
Hi mpphill2. Your experience was almost exactly the same as mine the first time I set up Fedora-IoT. BTW, if you don’t want to use the Zerere service to provision ssh keys, check out some the command line options when running the arm-image-installer. As for the Pi-Hole setup, if you uncomment the line for DNSStubListener=no in /etc/systemd/resolved.conf, then you don’t need to stop/disable the systemd-resolved service. This will just disable the stub listener that is using port 53.
You should not get that warning about bad CRC. Something is likely corrupted on the SD card I think. Not sure why that is but it could be an issue with the image file, or bad SD card. Maybe try to use a different SD card. Verify the image file is good. Do you get any errors when you run the arm-image-installer script?
I actually went through different cycles of write to SD then boot. With different SD cards and different rPI4s (I have 3). The result was always the same.
But I suspect that the CRC error might be a red herring. He continues with the default and then crashes…