abdlock

Got a feature request? Great! Post your ideas here!

Moderator: Lillian.W@AST

al2suarez
Posts: 73
youtube meble na wymiar Warszawa
Joined: Fri Oct 18, 2013 12:56 pm

Re: abdlock

Post by al2suarez »

Forgot to include WAN DNS Settings
Attachments
WAN DNS Settings
WAN DNS Settings
2018-05-10 09_14_31-ASUS Wireless Router RT-AC88U - Internet Connection.png (173.54 KiB) Viewed 8134 times
al2suarez
Posts: 73
Joined: Fri Oct 18, 2013 12:56 pm

Re: abdlock

Post by al2suarez »

To prevent the Linux Center's IP Address (my pi-hole ip address in my case) from changing after a Asustor Reboot -or - when Disabling Debian 8 Server, I set its IP Address as static. I gave my Debian 8 Server a static IP address of 192.168.1.139 by configuring 'eth0' by modifying file /etc/network/interfaces. The command to edit file interface:

Code: Select all

sudo nano /etc/network/interfaces
I changed 'eth0' to the following:

Code: Select all

auto eth0
allow-hotplug eth0
iface eth0 inet static
    address 192.168.1.139
    netmask 255.255.255.0
    gateway 192.168.1.1
    dns-nameservers 9.9.9.9
Attachments
2018-05-12 17_26_31-Command Prompt - ssh  admin@192.168.1.139.png
2018-05-12 17_26_31-Command Prompt - ssh admin@192.168.1.139.png (18.4 KiB) Viewed 8114 times
fritzboxuser
Posts: 49
Joined: Mon Sep 07, 2015 6:40 pm

Re: abdlock

Post by fritzboxuser »

what is asustor staff thinking about this?
al2suarez
Posts: 73
Joined: Fri Oct 18, 2013 12:56 pm

Re: abdlock

Post by al2suarez »

With the recent release of Pi-hole v4.0 I decided to nuke my debian8/pihole from my Linux Center app via "Restore to original settings". So here are much simpler steps to get Pi-Hole running. It works and took less than 10 minutes to setup.

Code: Select all

su root

apt-get update

apt-get upgrade

apt-get install nano curl

Edit interfaces to get static ip so when you reboot NAS and start Debian 8 Server you get same IP addr:

nano /etc/network/interfaces

    auto eth0
    iface eth0 inet static
        address 192.168.1.115 (your pi-hole static ip)
        netmask 255.255.255.0
        gateway 192.168.1.1  (your gateway)

reboot

su root

curl -sSL https://install.pi-hole.net | bash

Change PiHole password:
pihole -a -p newpassword

set router manual DNS settings:
  primary   = 192.168.10.115 (your pi-hole static ip)
  secondary = 9.9.9.9 (emergency google backup)

apply & push router changes across network

connect to 192.168.10.115/admin (use pi-hole ip)
fritzboxuser
Posts: 49
Joined: Mon Sep 07, 2015 6:40 pm

Re: abdlock

Post by fritzboxuser »

any news about a native way or maybe an app?
ramzez
Posts: 64
Joined: Sat Jan 10, 2015 6:56 am

Re: abdlock

Post by ramzez »

How do you install nano and apt-get on the NAS?
AS202TE
queries
Posts: 11
Joined: Tue Feb 10, 2015 9:24 am

Re: abdlock

Post by queries »

+1 for native way. Even the Synology install is a bit clunky. If Asustor could enable this simply they would have a leg up on Synology in terms of functionality (and not just price).
steamship
Posts: 51
Joined: Thu Nov 10, 2016 8:26 pm

Re: abdlock

Post by steamship »

I know this thread has been quiet for a while, but just came across it when searching for articles relating to pi-hole. Is it possible to get 'Linux Center' working on other Asustor NAS units that aren't in the list of supported models? I was considering getting a Raspberry Pi zero to install it on, but would be great if I could use my existing hardware.
Post Reply

Return to “Feature Requests”