Asus RT-AC68U set up

Hi all

I set up a new pi-hole install last night, and I'm having an issue.
The install went fine, and I was able to set up the Pi on Debian Jessie with no issue. Pi-Hole installed fine as well.

I left it running today, and have been looking at the stats.

As you can see, I'm getting a reasonable amount of traffic through the Pi, but absolutely no ads being blocked.

I suspect I've got the DNS settings incorrect. There are two places to set the DNS.

The first is under LAN -> DHCP Server. This is just a single value for a DNS Server.
This is the setting I used yesterday to generate the statistics above.

The second is under WAN -> WAN DNS Settings. In this case you have to select the radio button to not connect to the DNS server automatically, and you can then enter a primary and secondary DNS.
I've now turned on this setting, and turned off the setting above, and will monitor that.

I've also run pihole -d. This is the output:
pi@raspberrypi:~ $ pihole -d
::: Beginning Pi-hole debug at Mon 14 Nov 22:17:36 UTC 2016!
:::
::: This process collects information from your Pi-hole, and optionally uploads
::: it to a unique and random directory on tricorder.pi-hole.net.
:::
::: NOTE: All log files auto-delete after 24 hours and ONLY the Pi-hole developers
::: can access your data via the given token. We have taken these extra steps to
::: secure your data and will work to further reduce any personal information gathered.
:::
::: Please read and note any issues, and follow any directions advised during this process.
/opt/pihole/piholeDebug.sh: line 50: /etc/pihole/setupVars.conf: No such file or directory
:::
::: Detecting Installed Package Versions:
::: Pi-hole: v2.9.5
::: WebUI: v1.4.4.2
::: lighttpd/1.4.35
::: PHP 5.6.27-0+deb8u1 (cli) (built: Oct 24 2016 18:22:27)
:::
::: Detecting existence of /etc/pihole/setupVars.conf:
::: /etc/pihole/setupVars.conf not found! and could not be sourced
:::
::: Detecting installed OS Distribution
:::
::: Checking processor variety
:::
::: IP Address Information
::: IPv6 addresses located
::: IPv4 addresses located
::: Pinging default IPv4 gateway: Gateway responded.
::: Pinging Internet via IPv4: Query responded.
:::
::: Daemon Process Information
::: Checking http port for lighttpd listener.
::: Correctly configured.
::: Correctly configured.
:::
::: Daemon Process Information
::: Checking domain port for dnsmasq listener.
::: Correctly configured.
::: Correctly configured.
:::
::: Processes Check
::: Logging status of lighttpd and dnsmasq...
:::
::: Resolver Functions Check
::: Checking for necessary lighttpd files.
:::
::: Detecting existence of /etc/lighttpd/lighttpd.conf:
::: File exists
:::
::: Detecting existence of /var/log/lighttpd/error.log:
::: File exists
:::
:::
::: Detecting existence of /etc/dnsmasq.conf:
::: File exists
:::
::: Detecting existence of /etc/dnsmasq.d/01-pihole.conf:
::: File exists
:::
::: Detecting existence of /etc/pihole/whitelist.txt:
::: /etc/pihole/whitelist.txt not found!
:::
::: Detecting existence of /etc/pihole/blacklist.txt:
::: /etc/pihole/blacklist.txt not found!
:::
::: Detecting existence of /etc/pihole/adlists.list:
::: /etc/pihole/adlists.list not found!
:::
::: Analyzing gravity.list
wc: /etc/pihole/gravity.list: No such file or directory
::: Warning: No gravity.list file found!
:::
::: --= User Action Required =--
::: Try loading a site that you are having trouble with now from a client web browser..
::: (Press CTRL+C to finish logging.)
:::
::: pihole.log
^C
::: Finishing debug write from interrupt... Quitting!
::: Finshed debugging!
::: The debug log can be uploaded to tricorder.pi-hole.net for sharing with developers only.
::: Would you like to upload the log? [y/N] y
::: Debug log can be found at : /var/log/pihole_debug.log

As you can see, there are quite a few files missing.

I'm not sure where to go from here. Any help appreciated.

Will you please try to run

pihole -g

and see if that solves the issue?

Hmmm, looks like the install failed.

pi@raspberrypi:~ $ pihole -g
:::
::: WARNING: /etc/pihole/setupVars.conf missing. Possible installation failure.
::: Please run 'pihole -r', and choose the 'reconfigure' option to reconfigure.

ran pihole -r, and now pihole -g is running, and the interface looks better too.

Thanks for that.

Any idea on the Asus set up?

I can now see ads being blocked, so I'll play around with the DNS settings tomorrow.

If you point to your DNS under WAN in your router, then you will only
see your Asus RT-AC68U in the web interface under Top clients.
If you do it under the LAN then you will see all your clients under Top clients in the Web interface.

Perfect, it all appears to be working.
Thanks for all the help

1 Like

I have the same router. I put the Pi as DNS in both places. Some clients will honor the DHCP provided in the LAN setting and some won't. My android phones do not honor that and even if set manually to the Pi still send the requests to the router. So the only way I could block them was the WAN setting. But my PCs and amazon tablets and a few others do take the LAN setting. I generally see half my requests come from the router. Closer to 3/4 if I enable the trend micro filtering settings in Ai Protection.

1 Like