Howto: pi-hole ad-blocker on Seagate Dockstar May 28, 2020 04:37PM |
Registered: 4 years ago Posts: 10 |
# apt install curl
# apt install ca-certificates # curl -sSL https://install.pi-hole.net > pihole-basic-install.sh
... printf "%b %b Detected ARM architecture\\n" "${OVER}" "${TICK}" # set the binary to be used --> l_binary="pihole-FTL-arm-linux-gnueabi" ...
# bash pihole-basic-install.sh
.... ... FTL Checks... [â] Detected ARM architecture Checking for existing FTL binary... [â] Downloading and Installing FTL [â] Installing scripts from /etc/.pihole Installing configs from /etc/.pihole... [â] No dnsmasq.conf found... restoring default dnsmasq.conf... ... ..... [â] Swapping databases Number of gravity domains: 87259 (84818 unique domains) Number of exact blacklisted domains: 0 Number of regex blacklist filters: 0 Number of exact whitelisted domains: 0 Number of regex whitelist filters: 0 [â] pihole-FTL: no process found [â] Cleaning up stray matter [â] Restarting DNS server [â] DNS service is NOT running /opt/pihole/updatecheck.sh: line 77: /usr/bin/pihole-FTL: No such file or directory /opt/pihole/updatecheck.sh: line 91: /usr/bin/pihole-FTL: No such file or directory Web Interface password: xxxx This can be changed using 'pihole -a -p' View the web interface at http://pi.hole/admin or http://192.168.17.39/admin You may now configure your devices to use the Pi-hole as their DNS server Pi-hole DNS (IPv4): 192.168.17.39 If you set a new IP address, please restart the server running the Pi-hole The install log is located at: /etc/pihole/install.log Installation Complete!
# /usr/bin/pihole-FTL --version -bash: /usr/bin/pihole-FTL: No such file or directory # ls -l /usr/bin/pihole-FTL -rwxr-xr-x 1 root root 6860972 May 27 08:59 /usr/bin/pihole-FTL
# od -c /usr/bin/pihole-FTL |head 0000000 177 E L F 001 001 001 \0 \0 \0 \0 \0 \0 \0 \0 \0 0000020 003 \0 ( \0 001 \0 \0 \0 240 356 001 \0 4 \0 \0 \0 0000040 330 375 x \0 002 004 \0 005 4 \0 \0 \t \0 ( \0 0000060 ( \0 % \0 001 \0 \0 p 324 , 033 \0 324 , 033 \0 .... # file /usr/bin/pihole-FTL /usr/bin/pihole-FTL: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.6.32, with debug_info, not stripped # ldd /usr/bin/pihole-FTL not a dynamic executable
# apt install build-essential libgmp-dev m4
# wget https://ftp.gnu.org/gnu/nettle/nettle-3.6.tar.gz # tar -xvzf nettle-3.6.tar.gz # cd nettle-3.6 # ./configure # make # make install
# apt install libsqlite3-dev # git clone https://github.com/pi-hole/FTL.git # cd FTL # make # make install # service pihole-FTL restart
cc: fatal error: Killed signal terminated program cc1 compilation terminated. make: *** [Makefile:146: build/database/sqlite3.o] Error 1
HARDENING_FLAGS=-fstack-protector-strong -Wp,-D_FORTIFY_SOURCE=2 -O1 -Wl,-z,relro,-z,now .......
Re: Howto: pi-hole ad-blocker on Seagate Dockstar May 28, 2020 05:02PM |
Admin Registered: 13 years ago Posts: 18,896 |
Re: Howto: pi-hole ad-blocker on Seagate Dockstar June 01, 2020 03:22AM |
Admin Registered: 13 years ago Posts: 18,896 |
Quote
https://forum.doozan.com/read.php?2,23630,23630#msg-23630
Home Automation & Tools
X10
CALDav Calendar Server using Radicale
Pogoplug Network Stack with PiHole: pics, and description
Pi-hole on Pogoplug Mobile
Pi-hole on Pogoplug Pro V3 (OXNAS)
Pi-hole ad-blocker on Seagate Dockstar
Re: Howto: pi-hole ad-blocker on Seagate Dockstar June 29, 2020 06:59PM |
Registered: 4 years ago Posts: 2 |
root@dockstar:~# apt install libsqlite3-dev Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: sqlite3-doc The following NEW packages will be installed: libsqlite3-dev 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 714 kB of archives. After this operation, 1967 kB of additional disk space will be used. E: You don't have enough free space in /var/cache/apt/archives/. root@dockstar:~# du -ch /var/cache/apt/archives/ 4.0K /var/cache/apt/archives/partial 8.0K /var/cache/apt/archives/ 8.0K total
Re: Howto: pi-hole ad-blocker on Seagate Dockstar July 18, 2020 04:51PM |
Registered: 4 years ago Posts: 2 |
root@dockstar:/FTL/cmake# cmake .. -- The C compiler identification is GNU 8.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: IDN linked by target "pihole-FTL" in directory /FTL/src -- Configuring incomplete, errors occurred! See also "/FTL/cmake/CMakeFiles/CMakeOutput.log". See also "/FTL/cmake/CMakeFiles/CMakeError.log".
Re: Howto: pi-hole ad-blocker on Seagate Dockstar August 07, 2020 03:21PM |
Registered: 5 years ago Posts: 27 |
yafbu
Re: Howto: pi-hole ad-blocker on Seagate Dockstar August 26, 2020 03:01AM |
NOTE : If it still runs out of RAM during the make ( e.g. gcc dies unexpectedly after 10 min with something like cc: fatal error: Killed signal terminated program cc1 compilation terminated. make: *** [Makefile:146: build/database/sqlite3.o] Error 1but could not change the compile options due to the change in FTL from make to cmake.
sudo apt-get install swapspaceafterward the FTL ./build.sh script ran about more than half a day (mainly at 98% on the sqlite3 step) but in the end suceeded.
Re: Howto: pi-hole ad-blocker on Seagate Dockstar August 29, 2020 11:41PM |
Registered: 5 years ago Posts: 27 |
machine=$(uname -m) rev=$(uname -m | sed "s/[^0-9]//g;") lib=$(ldd /bin/ls | grep -E '^\s*/lib' | awk '{ print $1 }')
elif [[ "${lib}" == "/lib/ld-linux.so.3" ]]; then # if [[ "${rev}" -lt 6 ]]; then printf "%b %b Detected ARM soft float architecture\\n" "${OVER}" "${TICK}" # set the binary to be used l_binary="pihole-FTL-armel-native" fi
Re: Howto: pi-hole ad-blocker on Seagate Dockstar November 10, 2020 04:11PM |
Registered: 13 years ago Posts: 501 |
> NOTE : If it still runs out of RAM during the make > ( e.g. gcc dies unexpectedly after 10 min with > something like > cc: fatal error: Killed signal terminated program > cc1 > compilation terminated. > make: *** [Makefile:146: > build/database/sqlite3.o] Error 1 >> but could not change the compile options due to
> sudo apt-get install swapspace >> afterward the FTL ./build.sh script ran about more
Re: Howto: pi-hole ad-blocker on Seagate Dockstar November 10, 2020 04:59PM |
Admin Registered: 13 years ago Posts: 18,896 |
Quote
Updated 23 Aug 2020:
Kernel linux-5.8.3-kirkwood-tld-1 package has been uploaded. The following features were added/updated:
- BFQ IO Scheduler is now the default in the kernel. This is an improvement in making the system more responsive when under memory stress (Note: use a large swap space to avoid OOM killer).
Re: Howto: pi-hole ad-blocker on Seagate Dockstar November 12, 2020 08:11PM |
Registered: 13 years ago Posts: 501 |
Re: Howto: pi-hole ad-blocker on Seagate Dockstar December 04, 2020 10:03PM |
Registered: 13 years ago Posts: 501 |
Re: Howto: pi-hole ad-blocker on Seagate Dockstar May 24, 2021 08:33AM |
Registered: 11 years ago Posts: 87 |