Page 1 of 2

abdlock

Posted: Fri Jan 20, 2017 11:47 pm
by staber
Hi,

I'm new to asustor and i'm learning :)

Did you hear about pi-hole ?
There are any way to make it work on asustor AS32014t ?

I'm thinking having docker running it but having an app will be more friendly-user

Re: abdlock

Posted: Sat Jan 21, 2017 4:37 am
by MikeG.6.5
This looks to be for the Raspberry Pi and not something that is designed to be run on a NAS or other computing device. I'm sure there are other apps that can also do this. Just not sure what will run on your NAS. Let me research a bit and get back to you.

Re: abdlock

Posted: Mon Jan 23, 2017 3:31 pm
by Kapitein Haak
Hello Mike!

If it can run on a Pi, it can run on almost anything ;-). They managed to get is working on a Synology which uses about the same hardware:
https://discourse.pi-hole.net/t/how-do- ... gy-nas/289

From what I understand is that it replaces the DNS server from your modem/router and will refuse to lookup domains which contain ads. This is not a computing intense task :-D.

Best regards,
Kapitein Haak.

Re: abdlock

Posted: Tue Jan 24, 2017 5:59 am
by staber
It's exactly that :)

Re: abdlock

Posted: Thu Aug 24, 2017 2:13 am
by Mark1964
Hi

Just been reading about this. I would like this too.....or something similar :)

Re: abdlock

Posted: Mon May 07, 2018 10:13 am
by al2suarez
Would love to have Pi-hole run on my Asustor...

Has anyone been successful?

Re: abdlock

Posted: Mon May 07, 2018 4:15 pm
by fritzboxuser
+1 for an adblock solution on network

Re: abdlock

Posted: Tue May 08, 2018 7:07 am
by al2suarez
Was able to get Pi-Hole to run on my Asustor (AS7004T-i5). Turned out to be easier than I had anticipated.

0) I installed App "Linux Center".
1) Once installed, I selected Debian 8 Server.
2) Took note of the IP Address and the user/pwd (which is admin/admin)
3) On my remote machine (my laptop), I ssh'ed into the IP address. ex. "ssh admin@192.168.1.91"
4) Once I entered pwd I proceeded to do an update and upgrade as shown below
4a) sudo apt-get update (you might need to re-enter the pwd --- which is admin)
4b) sudo apt-get upgrade (you might need to re-enter the pwd --- which is admin)
5) Proceeded to install curl by entering the following:
5a) sudo apt-get install curl
6) Once done, I then went ahead and installed pi-hole:
6a) curl -sSL https://install.pi-hole.net | bash
7) After the install, noticed that there were issues with Pi-Hole 3.3!
7a) https://discourse.pi-hole.net/t/pi-hole ... ecial/7159
"If you're running Raspbian Jessie and you updated Pi-hole to v3.3, you likely ran into issues. This is because the version of dnsmasq that ships with it does not support the log-queries=extra option, which we use in v3.3.
You have two options to resolve this: revert Pi-hole to a previous version or upgrade dnsmasq manually."
8) I opted to revert to previous version (3.2.1) by running following:
8a) cd /etc/.pihole
sudo git fetch --tags
sudo git checkout v3.2.1
cd /var/www/html/admin
sudo git fetch --tags
sudo git checkout v3.2.1
pihole -r
pihole checkout ftl v2.13.2
9) BOOM! It worked!!!
10) Check out the pics! Awesome!

Re: abdlock

Posted: Tue May 08, 2018 7:43 pm
by fritzboxuser
not the best solution but it works

better you work with the beta dns from pi-hole team, FTLDNS https://pi-hole.net/2018/03/24/help-us- ... more-14980 so you dont have to downgrade pi-hole to version 3.2.x

but i think asustor should implemate this or an own solution on dns base in thier adm

Re: abdlock

Posted: Wed May 09, 2018 12:43 am
by al2suarez
fritzboxuser wrote: better you work with the beta dns from pi-hole team, FTLDNS https://pi-hole.net/2018/03/24/help-us- ... more-14980 so you dont have to downgrade pi-hole to version 3.2.x
I agree, not the best but it does work. Was able to get FTLDNS working by following steps below:

cd /etc/.pihole
sudo git fetch --all && sudo git checkout master
cd /etc/pihole
sudo git fetch --all && sudo git checkout master
echo "FTLDNS" | sudo tee /etc/pihole/ftlbranch
pihole checkout core FTLDNS
pihole checkout web FTLDNS

Just a reminder that when your Asustor reboots it will be assigned a new ip address for pihole... just take note of this. I don't shutdown my NAS unless there is an update so I'm fine with this.
fritzboxuser wrote: but i think asustor should implemate this or an own solution on dns base in thier adm
I agree!