Search
Cannot Reconnect With Static IP
I have a Raspberry Pi 02W running Pi-Hole and ordinarily things work perfectly, but I've got something in my house tripping my fuse box which I'm unable to locate. The tripper, not the fuse box. Anyway, what it means is occasionally, I lose power and so my router and my Pi-Hole go down.
I've configured my /etc/dhcpcd.conf
so that my RPi02W can have a static IP
interface wlan0 static ip_address=192.168.1.100/24 static routers=192.168.1.1 static domain_name_servers=194.168.4.100 194.168.8.100
And have rebooted to confirm it's fine, and it's fine.
However when the router goes down and I bring everything back up, the Pi-Hole can't reconnect to the router. I can log in to the router and see it connect briefly, but it's only briefly and then nothing. I even try enabling DHCP on the router and it still refuses to reconnect. Ultimately the only way to get it to reconnect is to factory reset the router, change the password back to my usual password, wait for the RPi02W to connect and then disable the DHCP again. Needless to say it's a pain in the arse.
What am I doing wrong? How do I fix this?
#Solution I switched the DNS servers from Virgin Media to 8.8.8.8 and that seems to fix it. Not sure why, but it does.
The Epitome Of Silly aka Trying To Flash Raspberry Pi OS
My laptop is having a tantrum and seems like it needs a hard-drive replacement. Not a major issue, I've been thinking about switching to a SFF Desktop for a while.
But the issue is, I have a brand new Raspberry Pi Zero 2 W that I want to install PiHole on to.
So, I grab an old phone, LG G6 and install Etchdroid, download Raspberry Pi OS from the official website and the phone keeps having a tantrum and switching the SD card adapter to charging only. I try a second adapter, still no joy. So I think fuck it, maybe the phone is too old.
I grab a newer phone, Pixel 6 Pro and attempt the same thing again and encounter the same problem again. No matter what, I don't seem to be able to flash this OS from Android.
Anyone know of a way to get me over the finish line without me having to buy new hardware?