new user, 1st post !
pleased with pihole so far.
during config, I assigned a static ip, 10.0.0.250,
rerunning pihole -r , I changed it to 10.1.1.250
while trying to figure out why it was 10.1.1.5 ( a dhcp addy )
I found this stanza 2x, in /etc/dhcpcd.conf, with old and new addys
interface eth0
static ip_address=10.1.1.250/24
static routers=10.1.1.1
static domain_name_servers=127.0.0.1
I deleted the 1st/old stanza, just in case overrides dont work just right, (latent -r bug)
but that didnt help.
I now suspect that its an interface name change that might be hosing things
dmesg has:
pi@pihole:~ $ dmesg | grep eth0
[ 2.921585] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-20980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:6c:97:7c
[ 17.288543] smsc95xx 1-1.1:1.0 enxb827eb6c977c: renamed from eth0
and ip addr reports:
2: enxb827eb6c977c: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether b8:27:eb:6c:97:7c brd ff:ff:ff:ff:ff:ff
inet 10.1.1.5/24 brd 10.1.1.255 scope global enxb827eb6c977c
valid_lft forever preferred_lft forever
inet6 fe80::ef4c:261f:5cf2:552d/64 scope link
valid_lft forever preferred_lft forever
and indeed, Id been screwing with raspi-config, and changed a stable-device names thing iirc. reverting that setting and rebooting fixed it.
Since original prob is now fixed (but possibly useful),
let me digress ...
I have an /etc/.pihole/ directory (with the .hiding)
it has a .git repo, but everything is owned by root, so pulls fail, and pihole -up does too
I note that grep pihole /etc/passwd suggests /home/pihole, should I just move it and chown it ?
and fwiw, "pihole.local" resolves with ping and browser,
im not sure quite how it all works, but its pretty slick that it all just works.
also fwiw (not much, but amusement)
my xfinity router doesnt want to let me override their DNS,
so Ive got a wifi/router inside that where DNS override is done (comcast is backup),
and another one inside that (for wifi range extender)
So I probably have 2 separate .local domains (future fun)