Pi-hole active but not blocking

Installed pi-hole on raspberryPi 1 running kali (i know, unsupported), with the hope that I can make it work.

1st try Installed manually using install script, replaced pihole-FTL binary file with 3.0 because the newer one doesn't work on my os version. Downloaded "pihole-FTL-arm-linux-gnueabi.3" and used "install -T -m 0755 pihole-FTL-arm-linux-gnueabi.3 /usr/bin/pihole-FTL" on it. Status Active, not blocking
2nd try installed using https://github.com/oldjamey/pi-hole-kali solution, relaced pihole-FTL again, this time pihole-FTL service did not exist
3rd try repaired point 2 with "pihole -r", replaced again the pihole-FTL binary, service existing and starting, status active, no block.

Using tcpdump i can see dns queries

uname -a
Linux workbox 4.14.71-v6+ #1 Thu Oct 18 08:07:35 UTC 2018 armv6l GNU/Linux

In the last days spent 8 hours+ to make this work. Tried to make another topic earlier but was black-holed.

Expected Behaviour:

expected to block Block Ads!

Actual Behaviour:

No ad blocking detected

Debug Token:

c6t4aq64pr
uz36chfkws

FTL 3.0 does not work with Pi-hole v4.0 or v4.1. You should investigate why FTL is not working with your OS instead of downgrading to a mismatched version. I would be easier to use a supported OS.

Went further and got the following:

/usr/bin/pihole-FTL
bash: /usr/bin/pihole-FTL: No such file or directory

strace -s 1000  /usr/bin/pihole-FTL
execve("/usr/bin/pihole-FTL", ["/usr/bin/pihole-FTL"], 0xbefb37a8 /* 17 vars */) = -1 ENOENT (No such file or directory)
fstat64(2, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
write(2, "strace: exec: No such file or directory\n", 40strace: exec: No such file or directory
) = 40
getpid()                                = 6374
exit_group(1)                           = ?
+++ exited with 1 +++

ldd /usr/bin/pihole-FTL
not a dynamic executable

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.26, BuildID[sha1]=b72e7a220840269b08c732848aa9aba09e00fd9e, with debug_info, not stripped

After this i went to Releases · pi-hole/FTL · GitHub and got pihole-FTL-arm-linux-gnueabi and pihole-FTL-arm-linux-gnueabihf from there.

file pihole-FTL-arm-linux-gnueabihf
pihole-FTL-arm-linux-gnueabihf: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 3.2.0, BuildID[sha1]=8b73c9703e8c605905601ccff777596d27ce23c0, with debug_info, not stripped

file pihole-FTL-arm-linux-gnueabi
pihole-FTL-arm-linux-gnueabi: 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.26, BuildID[sha1]=b72e7a220840269b08c732848aa9aba09e00fd9e, with debug_info, not stripped

The binary on my system is the same with pihole-FTL-arm-linux-gnueabi(same sha1). It seems that is builded for armhf, should not be armel?

Git cloned repo from github and compiled myself last version.

file pihole-FTL
pihole-FTL: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.3, for GNU/Linux 3.2.0, BuildID[sha1]=29bdbb0089adb6e340b878621eaa8ee400f025a7, with debug_info, not stripped

pihole-FTL -v
v4.1

Pi-hole web interface is all green, reporting querries and blocked pages, internet explorer shows me: Ad blocking enabled! I could say it works.
Youtube ad in IE: Can’t reach this page. Fair enough.

Thank you Mcat12 for help.

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.