Pi-Hole (ad blocking DNS server) Controller
Re: Pi-Hole (ad blocking DNS server) Controller
What issue did you have with the virtual switch?
- Professor Falken
- Posts: 304
- Joined: Sun Mar 29, 2015 7:07 am
Re: Pi-Hole (ad blocking DNS server) Controller
I'm suddenly having trouble again toggling off the pi-hole and having it stay off. I had this issue before with the first iteration of the plugin (see earlier in this thread) but this time even using the "turn-off" command isn't sticking. The pi-hole briefly disables but then almost immediately turns itself back on.
Since I am away from home at the moment, I can not easily access the native pi-hole browser-based controls to see if disabling it that way would work better.
Has anyone else seen this behavior recently?
Since I am away from home at the moment, I can not easily access the native pi-hole browser-based controls to see if disabling it that way would work better.
Has anyone else seen this behavior recently?
Re: Pi-Hole (ad blocking DNS server) Controller
Not seen this.
Are you using a toggle command or discreet off/on commands?
Are you using a toggle command or discreet off/on commands?
Re: Pi-Hole (ad blocking DNS server) Controller
I'd love if the Alexa command to temporarily turn off pihole was "Alexa, shut your pie hole"
- Professor Falken
- Posts: 304
- Joined: Sun Mar 29, 2015 7:07 am
Re: Pi-Hole (ad blocking DNS server) Controller
I've been using the toggle command without issue since your fix right after the release.Ramias wrote:Not seen this.
Are you using a toggle command or discreet off/on commands?
I think it's the Pi. It seems to lock up, and when it does, it won't allow the plugin to disable. At the same time, it won't let me in via the native browser interface either. I've had to hard reset it to regain control. Strangely, I think its blocking functions continue to work perfectly when this happens.
In order to maintain peace in my family (apparently everyone else is just fine with being tracked and ad-served to death) I've had to take it offline until I can figure out what is going on.
Re: Pi-Hole (ad blocking DNS server) Controller
do you do a night reboot?
some apps do not shut down with "sudo reboot now"
you need to do a "sudo killall -9 xxx; sleep 1; sudo reboot now"
with xxx the programs you like to stop eg python
when the reboot starts most processes stop (eg ssh server... ) but if some continue, the reboot does not complete.
Karl
some apps do not shut down with "sudo reboot now"
you need to do a "sudo killall -9 xxx; sleep 1; sudo reboot now"
with xxx the programs you like to stop eg python
when the reboot starts most processes stop (eg ssh server... ) but if some continue, the reboot does not complete.
Karl
- Professor Falken
- Posts: 304
- Joined: Sun Mar 29, 2015 7:07 am
Re: Pi-Hole (ad blocking DNS server) Controller
That's an interesting idea. I guess I could look into how to schedule a nightly reboot. Is this a common practice with people's pi-hole setups. I have a different Pi managing my alarm system and have never had this issue.
Is there a command to schedule a reboot on the pi, or is that something handled through Indigo with a plugin?
Is there a command to schedule a reboot on the pi, or is that something handled through Indigo with a plugin?
Re: Pi-Hole (ad blocking DNS server) Controller
The only time I reboot my pi-hole is an occasional maintenance update. Perhaps once a month?Professor Falken wrote:That's an interesting idea. I guess I could look into how to schedule a nightly reboot. Is this a common practice with people's pi-hole setups.
Running Indigo 2024.2.1 on a 24" iMac M4), OS X 26.0
Jeff
Jeff
Re: Pi-Hole (ad blocking DNS server) Controller
Likewise. I don't think I've ever rebooted my pi-hole for any other reason. I do not use the plugin, if that's a factor.jalves wrote:The only time I reboot my pi-hole is an occasional maintenance update. Perhaps once a month?
I came here to drink milk and kick ass....and I've just finished my milk.
My Plugins and Scripts
My Plugins and Scripts
Re: Pi-Hole (ad blocking DNS server) Controller
I am trying to log into my raspberry pi running pi-hole using ssh.I am getting connection refused on port 22 before I even get the chance to enter the password.
It's a while since I have tried this - what userid should I sign in with?
Code: Select all
ssh [email protected]It's a while since I have tried this - what userid should I sign in with?
Re: Pi-Hole (ad blocking DNS server) Controller
Depending on how you have it set up, you might need to sudo.
The only thing I do differently is I typically use the mDNS name of the pi.
Sent from my iPhone using Tapatalk Pro
The only thing I do differently is I typically use the mDNS name of the pi.
Sent from my iPhone using Tapatalk Pro
I came here to drink milk and kick ass....and I've just finished my milk.
My Plugins and Scripts
My Plugins and Scripts
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Pi-Hole (ad blocking DNS server) Controller
Are you sure you enabled ssh on the rPi? It's not enabled by default.autolog wrote:I am trying to log into my raspberry pi running pi-hole using ssh.I am getting connection refused on port 22 before I even get the chance to enter the password.Code: Select all
ssh [email protected]![]()
It's a while since I have tried this - what userid should I sign in with?
And the default userid on an rPi is 'pi'.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: Pi-Hole (ad blocking DNS server) Controller
Good call on both those tips, too.
When I first set up a pi, I establish a new user and delete the user ‘pi’.
Sent from my iPhone using Tapatalk Pro
When I first set up a pi, I establish a new user and delete the user ‘pi’.
Sent from my iPhone using Tapatalk Pro
I came here to drink milk and kick ass....and I've just finished my milk.
My Plugins and Scripts
My Plugins and Scripts
- Professor Falken
- Posts: 304
- Joined: Sun Mar 29, 2015 7:07 am
Re: Pi-Hole (ad blocking DNS server) Controller
When mine is locking up (which we know because it stops responding to the plugin) I have been unable to easily SSH in either. Although it will prompt me for the password, it won't accept it.autolog wrote:I am trying to log into my raspberry pi running pi-hole using ssh.I am getting connection refused on port 22 before I even get the chance to enter the password.Code: Select all
ssh [email protected]![]()
It's a while since I have tried this - what userid should I sign in with?
I am by no means a networking guru, but I found a tip online to try the command: ssh -I pi@address. I then used the standard ssh pi@address and it would prompt and accept my password. I don't even know what the -I command is doing, but it unsticks it enough for me to get in.
Re: Pi-Hole (ad blocking DNS server) Controller
I would let it run do a terminal ssh session
And a
tail -F /var/log/syslog
Leave it running. ( capital F just in case the file gets recycled )
That should show you when something is happening.
Karl
Sent from my iPhone using Tapatalk
And a
tail -F /var/log/syslog
Leave it running. ( capital F just in case the file gets recycled )
That should show you when something is happening.
Karl
Sent from my iPhone using Tapatalk