I had already made sure that the ip is reserved on the router. I am using ssh from my pc on the lan to get to the pi. accessing the pi is not an issue. Its accessing the admin console that is a problem. I did see that ping message and later tried pinging the router from the pi with no issues.
i just rebooted and still getting pinging gateway failing. right after i ran pihole -d, i did the following:
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=1.50 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=6.84 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=5.18 ms
as you can see no issues.
Maybe there is a problem because i am connecting over wifi? here is my ifconfig output
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether b8:27:eb:1e:46:68 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 397 bytes 50827 (49.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 397 bytes 50827 (49.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.9 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::ad12:731d:8217:79af prefixlen 64 scopeid 0x20
ether b8:27:eb:4b:13:3d txqueuelen 1000 (Ethernet)
RX packets 1379 bytes 985013 (961.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1395 bytes 302409 (295.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Also new token, https://tricorder.pi-hole.net/wpqfn01c9r!
Message from browser:
This site can’t be reached 192.168.1.9 took too long to respond.
On the pi I do the following.
curl -I 192.168.1.9/admin
HTTP/1.1 301 Moved Permanently
Location: http://192.168.1.9/admin/
Date: Sat, 23 Mar 2019 21:21:36 GMT
Server: lighttpd/1.4.45
curl -I 192.168.1.9/admin/
HTTP/1.1 200 OK
X-Pi-hole: The Pi-hole Web interface is working!
X-Frame-Options: DENY
Set-Cookie: PHPSESSID=hgpn2ctpb4fbao09v9drefbsu3; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Content-type: text/html; charset=UTF-8
Date: Sat, 23 Mar 2019 21:22:24 GMT
Server: lighttpd/1.4.45
thanks.