DesktopECHO / Pi-hole-for-Android

Pi-hole/Unbound Raspbian APK Installer for Android 5.0+ devices (requires root)
422 stars 34 forks source link

Unable to reach pihole on any device but the phone itself #57

Closed MerGr closed 1 year ago

MerGr commented 1 year ago

Hello, I've been trying to get pihole to be accessible to the router and other devices on the local network to no avail, lighttpd is running and I tried reatarting to dodgy results. Ports are correctly used by lighttpd (port 80) and I can access the pihole from the device itself, but none other, either via web interface, ssh or rdp, the phone is a rooted Samsung Galaxy J1 2016 running unofficial LineageOS 14.1 (Android 7.1.2)

DesktopECHO commented 1 year ago

Are you able to ping the IP address of the device running Pi-hole, from another device on your network?

MerGr commented 1 year ago

No I can't reach the pihole, sometimes it starts becoming accessible again, sometimes not

DesktopECHO commented 1 year ago

Make sure your Galaxy J1 is being charged, the device is awake, and the Pi-deploy app is shown on-screen.
When you do this, can you reliably ping the device?

MerGr commented 1 year ago

weirdly enough it's started working today, if it persists I will close this issue

MerGr commented 1 year ago

it stopped being reachable again, pinging the IP gives Destination Host Unreachable error

DesktopECHO commented 1 year ago

it stopped being reachable again, pinging the IP gives Destination Host Unreachable error

You didn't answer my other troubleshooting question:

Make sure your Galaxy J1 is being charged, the device is awake, and the Pi-deploy app is shown on-screen. When you do this, can you reliably ping the device?

MerGr commented 1 year ago

The pihole is always charged and awake, problem persists

MerGr commented 1 year ago

if it helps, Pideploy says that plymouth fails

DesktopECHO commented 1 year ago

Can you un-check these options:

Untitled

Reboot Device

Re-enable Lock Wi-Fi and Wake Lock (and Lock Screen if needed)

MerGr commented 1 year ago

Now it just says "Connection Timeout", pinging the pihole gives a request timed out error

MerGr commented 1 year ago

I tried it on a different device (STG H10, Cortex A53, 2GB), same result, unreachable except on the device itself

DesktopECHO commented 1 year ago

No idea what's up with your WiFi, not seeing this anywhere else.

MerGr commented 1 year ago

I guessed as much, so I flashed OpenWRT on my router (Xiaomi Router 4A 100M International Edition) and my pihole is accessible immediately and working, I'll give it a day and if it's still accessible I'm closing the issue

MerGr commented 1 year ago

Problem solved, seems installing OpenWRT did the trick