abdlock

Got a feature request? Great! Post your ideas here!
staber
Posts: 5
youtube meble na wymiar Warszawa
Joined: Fri Jan 20, 2017 11:30 pm

abdlock

Post 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
MikeG.6.5
Posts: 917
Joined: Fri May 15, 2015 1:56 am

Re: abdlock

Post 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.
User avatar
Kapitein Haak
Posts: 333
Joined: Tue Oct 15, 2013 2:40 pm
Location: Stranded on the Dutch coast.

Re: abdlock

Post 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.
"What would the world be like without Captain Hook?"
---
"Homo sapiens non urinat in ventum" (A wise man doesn't piss into the wind), only in Amsterdam:
https://www.google.nl/maps/@52.36289,4. ... 312!8i6656
staber
Posts: 5
Joined: Fri Jan 20, 2017 11:30 pm

Re: abdlock

Post by staber »

It's exactly that :)
Mark1964
Posts: 4
Joined: Thu Aug 24, 2017 1:48 am

Re: abdlock

Post by Mark1964 »

Hi

Just been reading about this. I would like this too.....or something similar :)
al2suarez
Posts: 73
Joined: Fri Oct 18, 2013 12:56 pm

Re: abdlock

Post by al2suarez »

Would love to have Pi-hole run on my Asustor...

Has anyone been successful?
fritzboxuser
Posts: 49
Joined: Mon Sep 07, 2015 6:40 pm

Re: abdlock

Post by fritzboxuser »

+1 for an adblock solution on network
al2suarez
Posts: 73
Joined: Fri Oct 18, 2013 12:56 pm

Re: abdlock

Post 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!
You do not have the required permissions to view the files attached to this post.
fritzboxuser
Posts: 49
Joined: Mon Sep 07, 2015 6:40 pm

Re: abdlock

Post 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
al2suarez
Posts: 73
Joined: Fri Oct 18, 2013 12:56 pm

Re: abdlock

Post 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!
You do not have the required permissions to view the files attached to this post.