Pi-hole working on some tablets/phones but not on any computers

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

Expected Behaviour:

ad blocking for entire network

Actual Behaviour:

Not ad blocking for entire network

Debug Token:

*** [ INITIALIZING ]
[i] 2018-05-26:00:04:28 debug log has been initialized.

*** [ INITIALIZING ] Sourcing setup variables
[i] Sourcing /etc/pihole/setupVars.conf...

*** [ DIAGNOSING ]: Core version
[i] Core: v3.3.1 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Branch: master
[i] Commit: v3.3.1-0-gfbee18e

*** [ DIAGNOSING ]: Web version
[i] Web: v3.3 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Branch: master
[i] Commit: v3.3-0-ge48aa29

*** [ DIAGNOSING ]: FTL version
[✓] FTL: v3.0

*** [ DIAGNOSING ]: dnsmasq version
[i] 2.76

*** [ DIAGNOSING ]: lighttpd version
[i] 1.4.45

*** [ DIAGNOSING ]: php version
[i] 7.0.27

*** [ DIAGNOSING ]: Operating system
[✓] Raspbian GNU/Linux 9 (stretch)

*** [ DIAGNOSING ]: SELinux
[i] SELinux not detected

*** [ DIAGNOSING ]: Processor

*** [ DIAGNOSING ]: Networking
[✗] No IPv4 address(es) found on the wlan0 interface.

[✗] No IPv6 address(es) found on the wlan0 interface.

[i] Default IPv4 gateway: 192.168.1.1
   * Pinging 192.168.1.1...
[✗] Gateway did not respond. (https://discourse.pi-hole.net/t/why-is-a-default-gateway-important-for-pi-hole/3546)


*** [ DIAGNOSING ]: Ports in use
[22] is in use by sshd
[53] is in use by dnsmasq
[80] is in use by lighttpd
[] is in use by 
[4711] is in use by pihole-FTL

*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✓] an-retargeting.awsotherlevels.com is 192.168.1.49 via localhost (127.0.0.1)
[✗] Failed to resolve an-retargeting.awsotherlevels.com via Pi-hole (192.168.1.49)
[✓] doubleclick.com is 172.217.11.78 via a remote, public DNS server (8.8.8.8)

*** [ DIAGNOSING ]: Pi-hole processes
[✓] dnsmasq daemon is active
[✓] lighttpd daemon is active
[✓] pihole-FTL daemon is active

*** [ DIAGNOSING ]: Setup variables
    DNSMASQ_LISTENING=single
    DNS_FQDN_REQUIRED=true
    DNS_BOGUS_PRIV=true
    DNSSEC=false
    CONDITIONAL_FORWARDING=false
    TEMPERATUREUNIT=F
    WEBUIBOXEDLAYOUT=boxed
    DHCP_START=192.168.1.201
    DHCP_END=192.168.1.251
    DHCP_ROUTER=192.168.1.1
    DHCP_LEASETIME=24
    PIHOLE_DOMAIN=lan
    DHCP_IPv6=false
    DHCP_ACTIVE=false
    PIHOLE_INTERFACE=wlan0
    IPV4_ADDRESS=192.168.1.49/24
    IPV6_ADDRESS=
    PIHOLE_DNS_1=192.168.1.1
    PIHOLE_DNS_2=
    QUERY_LOGGING=true
    INSTALL_WEB=true
    LIGHTTPD_ENABLED=1

*** [ DIAGNOSING ]: Dashboard and block page
[✓] X-Pi-hole: A black hole for Internet advertisements.
[✓] X-Pi-hole: The Pi-hole Web interface is working!

*** [ DIAGNOSING ]: Gravity list
-rw-r--r-- 1 root root 7185475 May 25 23:52 /etc/pihole/gravity.list
   -----head of gravity.list------
   192.168.1.49 0--foodwarez.da.ru
   192.168.1.49 0-0-0-0-0-0proxy.tserv.se
   192.168.1.49 0-0-0.6te.net
   192.168.1.49 0-29.com

   -----tail of gravity.list------
   192.168.1.49 zzsyw.com
   192.168.1.49 zztxdown.com
   192.168.1.49 zzz.clickbank.net
   192.168.1.49 zzzrtrcm2.com

*** [ DIAGNOSING ]: contents of /etc/pihole

-rw-r--r-- 1 root root 782 May 11 04:27 /etc/pihole/adlists.list
   https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
   https://mirror1.malwaredomains.com/files/justdomains
   http://sysctl.org/cameleon/hosts
   https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist
   https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt
   https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt
   https://hosts-file.net/ad_servers.txt
   https://v.firebog.net/hosts/Airelle-hrsk.txt
   https://v.firebog.net/hosts/Airelle-trc.txt
   https://adaway.org/hosts.txt
   https://hosts-file.net/grm.txt

-rw-r--r-- 1 root root 46 May 25 23:52 /etc/pihole/local.list
   192.168.1.49 raspberrypi
   192.168.1.49 pi.hole

-rw-r--r-- 1 root root 234 May 25 23:51 /etc/pihole/logrotate
   /var/log/pihole.log {
   	su root root
   	daily
   	copytruncate
   	rotate 5
   	compress
   	delaycompress
   	notifempty
   	nomail
   }
   /var/log/pihole-FTL.log {
   	su root root
   	weekly
   	copytruncate
   	rotate 3
   	compress
   	delaycompress
   	notifempty
   	nomail
   }

*** [ DIAGNOSING ]: contents of /etc/dnsmasq.d

-rw-r--r-- 1 root root 1523 May 25 23:51 /etc/dnsmasq.d/01-pihole.conf
   addn-hosts=/etc/pihole/gravity.list
   addn-hosts=/etc/pihole/black.list
   addn-hosts=/etc/pihole/local.list
   localise-queries
   no-resolv
   cache-size=10000
   log-queries=extra
   log-facility=/var/log/pihole.log
   local-ttl=2
   log-async
   server=192.168.1.1
   domain-needed
   bogus-priv
   interface=wlan0

*** [ DIAGNOSING ]: contents of /etc/lighttpd

-rw-r--r-- 1 root root 3027 May 25 23:51 /etc/lighttpd/lighttpd.conf
   server.modules = (
   	"mod_access",
   	"mod_accesslog",
   	"mod_auth",
   	"mod_expire",
   	"mod_compress",
   	"mod_redirect",
   	"mod_setenv",
   	"mod_rewrite"
   )
   server.document-root        = "/var/www/html"
   server.error-handler-404    = "pihole/index.php"
   server.upload-dirs          = ( "/var/cache/lighttpd/uploads" )
   server.errorlog             = "/var/log/lighttpd/error.log"
   server.pid-file             = "/var/run/lighttpd.pid"
   server.username             = "www-data"
   server.groupname            = "www-data"
   server.port                 = 80
   accesslog.filename          = "/var/log/lighttpd/access.log"
   accesslog.format            = "%{%s}t|%V|%r|%s|%b"
   index-file.names            = ( "index.php", "index.html", "index.lighttpd.html" )
   url.access-deny             = ( "~", ".inc", ".md", ".yml", ".ini" )
   static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
   compress.cache-dir          = "/var/cache/lighttpd/compress/"
   compress.filetype           = ( "application/javascript", "text/css", "text/html", "text/plain" )
   include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
   include_shell "/usr/share/lighttpd/create-mime.assign.pl"
   include_shell "find /etc/lighttpd/conf-enabled -name '*.conf' -a ! -name 'letsencrypt.conf' -printf 'include \"%p\"
' 2>/dev/null"
   $HTTP["url"] =~ "^/admin/" {
       
       setenv.add-response-header = (
           "X-Pi-hole" => "The Pi-hole Web interface is working!",
           "X-Frame-Options" => "DENY"
       )
       $HTTP["url"] =~ ".ttf$" {
           
           setenv.add-response-header = ( "Access-Control-Allow-Origin" => "*" )
       }
   }
   $HTTP["url"] =~ "^/admin/\.(.*)" {
        url.access-deny = ("")
   }
   include_shell "cat external.conf 2>/dev/null"

*** [ DIAGNOSING ]: contents of /etc/cron.d

-rw-r--r-- 1 root root 1496 May 25 23:51 /etc/cron.d/pihole
   10 4   * * 7   root    PATH="$PATH:/usr/local/bin/" pihole updateGravity
   00 00   * * *   root    PATH="$PATH:/usr/local/bin/" pihole flush once quiet
   @reboot root /usr/sbin/logrotate /etc/pihole/logrotate
   */10 *  * * *   root    PATH="$PATH:/usr/local/bin/" pihole updatechecker local
   24 19  * * *   root    PATH="$PATH:/usr/local/bin/" pihole updatechecker remote
   @reboot root    PATH="$PATH:/usr/local/bin/" pihole updatechecker remote reboot

*** [ DIAGNOSING ]: contents of /var/log/lighttpd

-rw-r--r-- 1 www-data www-data 463 May 25 23:44 /var/log/lighttpd/error.log
   2018-05-21 06:25:04: (server.c.1534) logfiles cycled UID = 0 PID = 29772 
   2018-05-25 22:30:16: (log.c.217) server started 
   2018-05-25 23:02:55: (server.c.1828) server stopped by UID = 0 PID = 1 
   2018-05-25 23:03:41: (log.c.217) server started 
   2018-05-25 23:05:59: (log.c.217) server started 
   2018-05-25 23:52:09: (server.c.1828) server stopped by UID = 0 PID = 1 
   2018-05-25 23:52:12: (log.c.217) server started 
   2018-05-25 23:44:05: (log.c.217) server started 

*** [ DIAGNOSING ]: contents of /var/log

-rw-r--r-- 1 pihole pihole 1070 May 26 00:04 /var/log/pihole-FTL.log
   [2018-05-26 00:04:25.850] Gravity list entries: 200500
   [2018-05-26 00:04:25.850] No blacklist present
   [2018-05-26 00:04:25.851] No wildcard blocking list present
   [2018-05-26 00:04:25.854] Notice: Increasing queries struct size from 0 to 10000 (440.19 KB)
   [2018-05-26 00:04:25.855] Notice: Increasing domains struct size from 0 to 1000 (460.19 KB)
   [2018-05-26 00:04:25.855] Notice: Increasing clients struct size from 0 to 10 (460.35 KB)
   [2018-05-26 00:04:25.856] New client: 127.0.0.1 localhost (0/10)
   [2018-05-26 00:04:25.856] Notice: Increasing forwarded struct size from 0 to 4 (460.45 KB)
   [2018-05-26 00:04:25.869] New forward server: 192.168.1.1 (0/4)
   [2018-05-26 00:04:25.869] Notice: Increasing overTime struct size from 0 to 100 (464.46 KB)
   [2018-05-26 00:04:25.883] New client: 192.168.1.9 (1/10)
   [2018-05-26 00:04:25.897] New client: 192.168.1.180 (2/10)
   [2018-05-26 00:04:25.910] New client: 192.168.1.137 (3/10)
   [2018-05-26 00:04:25.915] Imported 169 queries from the long-term database
   [2018-05-26 00:04:25.915] Reading from /var/log/pihole.log (rw-r--r--)

*** [ DIAGNOSING ]: Pi-hole log
-rw-r--r-- 1 dnsmasq root 5555 May 26 00:04 /var/log/pihole.log
   -----head of pihole.log------
   May 26 00:04:25 dnsmasq[449]: 314 127.0.0.1/39933 query[PTR] 1.1.168.192.in-addr.arpa from 127.0.0.1
   May 26 00:04:25 dnsmasq[449]: 314 127.0.0.1/39933 config 192.168.1.1 is NXDOMAIN
   May 26 00:04:25 dnsmasq[449]: 315 127.0.0.1/37732 query[PTR] 9.1.168.192.in-addr.arpa from 127.0.0.1
   May 26 00:04:25 dnsmasq[449]: 315 127.0.0.1/37732 config 192.168.1.9 is NXDOMAIN
   May 26 00:04:25 dnsmasq[449]: 316 127.0.0.1/34511 query[PTR] 180.1.168.192.in-addr.arpa from 127.0.0.1
   May 26 00:04:25 dnsmasq[449]: 316 127.0.0.1/34511 config 192.168.1.180 is NXDOMAIN
   May 26 00:04:25 dnsmasq[449]: 317 127.0.0.1/41028 query[PTR] 137.1.168.192.in-addr.arpa from 127.0.0.1
   May 26 00:04:25 dnsmasq[449]: 317 127.0.0.1/41028 config 192.168.1.137 is NXDOMAIN
   May 26 00:04:25 dnsmasq[449]: 318 127.0.0.1/48980 query[PTR] 9.1.168.192.in-addr.arpa from 127.0.0.1
   May 26 00:04:25 dnsmasq[449]: 318 127.0.0.1/48980 config 192.168.1.9 is NXDOMAIN
   May 26 00:04:25 dnsmasq[449]: 319 127.0.0.1/45310 query[PTR] 180.1.168.192.in-addr.arpa from 127.0.0.1
   May 26 00:04:26 dnsmasq[449]: 319 127.0.0.1/45310 config 192.168.1.180 is NXDOMAIN
   May 26 00:04:26 dnsmasq[449]: 320 127.0.0.1/52488 query[PTR] 137.1.168.192.in-addr.arpa from 127.0.0.1
   May 26 00:04:26 dnsmasq[449]: 320 127.0.0.1/52488 config 192.168.1.137 is NXDOMAIN
   May 26 00:04:28 dnsmasq[449]: 321 127.0.0.1/53234 query[A] api.github.com from 127.0.0.1
   May 26 00:04:28 dnsmasq[449]: 321 127.0.0.1/53234 cached api.github.com is 192.30.255.116
   May 26 00:04:28 dnsmasq[449]: 321 127.0.0.1/53234 cached api.github.com is 192.30.255.117
   May 26 00:04:28 dnsmasq[449]: 322 127.0.0.1/53234 query[AAAA] api.github.com from 127.0.0.1
   May 26 00:04:28 dnsmasq[449]: 322 127.0.0.1/53234 cached api.github.com is NODATA-IPv6
   May 26 00:04:29 dnsmasq[449]: 323 127.0.0.1/51845 query[A] api.github.com from 127.0.0.1


********************************************
********************************************
[✓] ** FINISHED DEBUGGING! **

Can you verify you have a working IP address on your device?

ifconfig returns this:

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.49 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::4f01:af8:4db7:661b prefixlen 64 scopeid 0x20
ether 8c:ae:4c:eb:47:db txqueuelen 1000 (Ethernet)
RX packets 388 bytes 86768 (84.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 223 bytes 107816 (105.2 KiB)
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 40 bytes 3015 (2.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 40 bytes 3015 (2.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether b8:27:eb:7b:d5:16 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

I've got it connected with a cable because the wifi randomly shuts off, despite turning the power management off.

I see now. You should select eth0 after running pihole -r > Reconfigure. Your currently using the wlan0 interface for Pi-hole.

That fixed it. Thank you so much!

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.