Cannot access router admin page

Please follow the below template, it will help us to help you!

Expected Behaviour:

I think I should be able to access my router

Actual Behaviour:

I cannot access the routers admin page with pi-hole running. If I disconnect pi-hole I can connect. But since I disabled dhcp server on my router and use the pi-hole dhcp, I cannot access my router either way.

Debug token please.

How do I do that?

Debug Token:

[Replace this text with the debug token provided from running pihole -d (or running the debug script through the web interface]

1 Like

https://tricorder.pi-hole.net/3kx5wirn3j

What address are you using when you try to access the router? Do you use a domain name or an IP?

I'm using the Asus page. My ip is 192.168.50.1

I've tried both domain and ip. No access.

Pi-hole just handles DNS, if you can't access the router using the bare IP then there's an issue at the network layer.

From the debug log we can see that the Pi-hole Raspberry Pi is able to connect to the router:

[i] Default IPv4 gateway: 192.168.50.1
   * Pinging 192.168.50.1...
[✓] Gateway responded.

What are you seeing that is telling you there's no access?

This is what Firefox says....

Hmm. We’re having trouble finding that site.

We can’t connect to the server at router.asus.com.

If that address is correct, here are three other things you can try:

Try again later.
Check your network connection.
If you are connected but behind a firewall, check that Firefox has permission to access the Web.

So you typed http://192.168.50.1 in the URL for FireFox and it automatically converted it to router.asus.com?

No. I tried https://192.168.50.1 I get that message above. I also tried https://asus.router.com. I get the same result. I use https because I set up the router access that way.

Try the http anyways.

Also try the following from an SSH session on the Pi-hole device command line.

ping 192.168.50.1
ping pi.hole
ping asus.router.com
curl -I http://192.168.50.1
curl -I https://192.168.50.1
curl -I https://asus.router.com

Pinging worked. The three bottom ones gave me connection refused error

pi@raspberrypi:~ $ curl -I http://192.168.50.1
curl: (7) Failed to connect to 192.168.50.1 port 80: Connection refused
pi@raspberrypi:~ $ curl -I https://192.168.50.1
curl: (7) Failed to connect to 192.168.50.1 port 443: Connection refused
pi@raspberrypi:~ $ curl -I https://asus.router.com
curl: (7) Failed to connect to asus.router.com port 443: Connection refused

This would indicate a problem in the router access web page, not in Pi-hole. When you curl directly from an IP, no DNS traffic goes to Pi-hole and the IP is loaded directly. If there is no response, that is because the router provided no response at that URL.

How can I fix this then? I dont know what to do.

Go to the support forums for your router.

Ok Thank you kindly.

Connection Refused means the router saw the attempt and actively refused it. Could be a firewall or something on either the router or the Pi-hole but that would be something added by you.

Run one more command from the Pi terminal:

grep asus.com /var/log/pihole.log