Asus AC68

i@PiHole:~ $ sudo grep 10.1.1.240 -R /etc/
/etc/pihole/setupVars.conf.update.bak:IPV4_ADDRESS=10.1.1.240/24
Binary file /etc/pihole/pihole-FTL.db matches
grep: /etc/xdg/menus/debian-menu.menu: No such file or directory
pi@PiHole:~ $

pi@PiHole:~ $ sudo grep 10.1.1.240 -R ~
/home/pi/.bash_history:nslookup pi.hole 10.1.1.240
/home/pi/.bash_history:nslookup pi.hole 10.1.1.240
/home/pi/.bash_history:nslookup pi.hole 10.1.1.240
/home/pi/.bash_history:nslookup pi.hole 10.1.1.240
/home/pi/.bash_history:nslookup doubleclick.com 10.1.1.240
/home/pi/.bash_history:nslookup doubleclick.com 10.1.1.240
/home/pi/.bash_history:nslookup pi.hole 10.1.1.240
/home/pi/.bash_history:Address: 10.1.1.240
/home/pi/.bash_history:Address: 10.1.1.240
grep: /home/pi/.config/chromium/SingletonSocket: No such device or address
grep: /home/pi/.config/chromium/SingletonLock: No such file or directory
grep: /home/pi/.config/chromium/SingletonCookie: No such file or directory
Binary file /home/pi/.cache/chromium/Default/Cache/fbaa933085a87bd4_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/2e81c4aad91c1f2d_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/fd653fb681bcf3cf_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/8d456cf67f45dee1_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/a97acc30ca9a21a6_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/41713889aff6a0bb_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/48989a7c5c459b25_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/0b7434e706fb386d_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/d4997fcfcb3647f4_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/99b300bcfeef7415_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/2da011308356521b_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/7210dc73abff25b4_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/d24ef9a5367b0ec7_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/d281e22bc049abe8_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/1b5aadf6d7f54fdf_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/5e47db3b8ef8019f_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/153e865d406e5acc_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/dc98315f4510e77b_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/54b057d05bc081df_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/88b5cdc5c775f084_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/af060759f04af1cf_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/427a6e89c4b58242_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/8597bba19d2bed7b_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/ef4c95b86dc17835_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/eb2167dd54296054_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/db0a2a3f3afe7170_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/e563ee4d9d48dc9c_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/179145ec1411bc03_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/f15b4cf27f567ede_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/a5a62194c3d9b54d_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/6eec3e3eec2114fc_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/543bb0b7148a8c6f_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/d207080be8ed0264_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/e6658c4dc43d36d7_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/e965cf226586295e_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/ce03a81a52e7921a_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/999dbdc5735d0d96_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/3218fe2a01152b75_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/114ac8c4153f7ac6_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/2c9ac0400ac472a3_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/047cbd7acb303f33_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/bda48645e28aaddc_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/dbd94f2086b86a43_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/22942176aec66e74_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/3a035fe9d7b350c1_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/a261507c58138a1f_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/9e6461cfe3cac015_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/2f6f4728904c00fa_0 matches
Binary file /home/pi/.cache/chromium/Default/Cache/959a13a09a6725b8_0 matches
Binary file /ho

Try these ones:

grep -v '^#\|^$' /etc/dhcpcd.conf

grep 'IPV[4,6]_ADDRESS\|PIHOLE_INTERFACE' /etc/pihole/setupVars.conf

sudo grep -v '^#\|^$' -R /etc/dnsmasq.*

pi@PiHole:~ $ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether b8:27:eb:dd:0c:bf brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether b8:27:eb:88:59:ea brd ff:ff:ff:ff:ff:ff
inet 10.1.1.3/24 brd 10.1.1.255 scope global wlan0
valid_lft forever preferred_lft forever
inet6 fe80::c275:c91:b0e:89c9/64 scope link
valid_lft forever preferred_lft forever
pi@PiHole:~ $ grep -v '^#|^$' /etc/dhcpcd.conf
hostname
clientid
persistent
option rapid_commit
option domain_name_servers, domain_name, domain_search, host_name
option classless_static_routes
option ntp_servers
option interface_mtu
require dhcp_server_identifier
slaac private
interface wlan0
static ip_address=10.1.1.3/24
static routers=10.1.1.1
static domain_name_servers=127.0.0.1
pi@PiHole:~ $

...but I definitely chose wlan0!! in the reconfigure??

pi@PiHole:~ $ grep 'IPV[4,6]_ADDRESS|PIHOLE_INTERFACE' /etc/pihole/setupVars.conf
PIHOLE_INTERFACE=eth0
IPV4_ADDRESS=10.1.1.3/24
IPV6_ADDRESS=
pi@PiHole:~ $

pi@PiHole:~ $ sudo grep -v '^#|^$' -R /etc/dnsmasq.*
/etc/dnsmasq.conf:conf-dir=/etc/dnsmasq.d
/etc/dnsmasq.conf.old:conf-dir=/etc/dnsmasq.d
/etc/dnsmasq.d/01-pihole.conf:addn-hosts=/etc/pihole/gravity.list
/etc/dnsmasq.d/01-pihole.conf:addn-hosts=/etc/pihole/black.list
/etc/dnsmasq.d/01-pihole.conf:addn-hosts=/etc/pihole/local.list
/etc/dnsmasq.d/01-pihole.conf:localise-queries
/etc/dnsmasq.d/01-pihole.conf:no-resolv
/etc/dnsmasq.d/01-pihole.conf:cache-size=10000
/etc/dnsmasq.d/01-pihole.conf:log-queries
/etc/dnsmasq.d/01-pihole.conf:log-facility=/var/log/pihole.log
/etc/dnsmasq.d/01-pihole.conf:local-ttl=2
/etc/dnsmasq.d/01-pihole.conf:log-async
/etc/dnsmasq.d/01-pihole.conf:dhcp-name-match=set:wpad-ignore,wpad
/etc/dnsmasq.d/01-pihole.conf:dhcp-ignore-names=tag:wpad-ignore
/etc/dnsmasq.d/01-pihole.conf:server=10.1.1.1
/etc/dnsmasq.d/01-pihole.conf:server=10.1.1.1
/etc/dnsmasq.d/01-pihole.conf:interface=eth0
pi@PiHole:~ $

Have you tried running reconfigure already ?
Last time I remember you mixed them up :wink:

EDIT: networking looks good (ip a + dhcpcd.conf)

Yes, ran it already....was the first thing I did going back to Square 1.

Ok lets kick here again as I dont know why its clinging onto eth0:

sudo sed -i 's/PIHOLE_INTERFACE=eth0/PIHOLE_INTERFACE=wlan0/' /etc/pihole/setupVars.conf

And run repair this time:

echo 'nameserver 8.8.8.8' | sudo tee /etc/resolv.conf

pihole -r

And check afterwards:

grep 'IPV[4,6]_ADDRESS\|PIHOLE_INTERFACE' /etc/pihole/setupVars.conf

sudo grep -v '^#\|^$' -R /etc/dnsmasq.*

nslookup pi.hole 10.1.1.3

pi@PiHole:~ $ sudo sed -i 's/PIHOLE_INTERFACE=eth0/PIHOLE_INTERFACE=wlan0/' /etc/pihole/setupVars.conf
pi@PiHole:~ $

does not run..have I copied it correctly?

That command outputs nothing if it runs successfull :smiley:

Ah.,..OK...Got it!

pi@PiHole:~ $ grep 'IPV[4,6]_ADDRESS|PIHOLE_INTERFACE' /etc/pihole/setupVars.conf
PIHOLE_INTERFACE=wlan0
IPV4_ADDRESS=10.1.1.3/24
IPV6_ADDRESS=
pi@PiHole:~ $

Success!

pi@PiHole:~ $ sudo grep -v '^#|^$' -R /etc/dnsmasq.*
/etc/dnsmasq.conf:conf-dir=/etc/dnsmasq.d
/etc/dnsmasq.conf.old:conf-dir=/etc/dnsmasq.d
/etc/dnsmasq.d/01-pihole.conf:addn-hosts=/etc/pihole/gravity.list
/etc/dnsmasq.d/01-pihole.conf:addn-hosts=/etc/pihole/black.list
/etc/dnsmasq.d/01-pihole.conf:addn-hosts=/etc/pihole/local.list
/etc/dnsmasq.d/01-pihole.conf:localise-queries
/etc/dnsmasq.d/01-pihole.conf:no-resolv
/etc/dnsmasq.d/01-pihole.conf:cache-size=10000
/etc/dnsmasq.d/01-pihole.conf:log-queries
/etc/dnsmasq.d/01-pihole.conf:log-facility=/var/log/pihole.log
/etc/dnsmasq.d/01-pihole.conf:local-ttl=2
/etc/dnsmasq.d/01-pihole.conf:log-async
/etc/dnsmasq.d/01-pihole.conf:dhcp-name-match=set:wpad-ignore,wpad
/etc/dnsmasq.d/01-pihole.conf:dhcp-ignore-names=tag:wpad-ignore
/etc/dnsmasq.d/01-pihole.conf:server=10.1.1.1
/etc/dnsmasq.d/01-pihole.conf:server=10.1.1.1
/etc/dnsmasq.d/01-pihole.conf:interface=wlan0

pi@PiHole:~ $ nslookup pi.hole 10.1.1.3
Server: 10.1.1.3
Address: 10.1.1.3#53

Name: pi.hole
Address: 10.1.1.3

AT LAST!!

1 Like

Go switch DHCP and test with one client!!!!!!!!!!
:wink:

So switch off DHCP on my router and check with a machine which is not this one?

Copying/pasting tricky again.
See below:

OK, had to switch to my Chromebook as my main pc (which runs a wired connection) will not longer connect. I have tried www.speedtest.net on this Chromebook but it does not work. I cannot get onto the PiHole on the main pc either....so I will have to try and set up some ssh on this machine to access it....but mostly I need to get my main PC back.

OK, reset the DHCP on my router using the Chromebook and now back on main PC.