PiHole directly on Routers (Tomato, MerlinWRT, DD-WRT, openWRT)

I just got a Ubiquiti EdgeRouter X and installed OpenWRT on it.

If anybody needs help testing, please call me.

It would be great to have pi-hole in the router… what is more, probably is the right place.

Why not a merge/fusion?? In other words, talk to the developer of Diversion —what is called now the AB solution— and try to implement the pi-hole benefits on their solution.

Probably much better than start form scratch.

Is there a repository somewhere with the code for this application?

Seems that it was for the previos versions, but I can't find any information about the current version. The code seems to be the open source with GPL3 license.

Hello all,

I am new to this Community, wanted to check if Pihole could be made to run on Asus RT-68U with Merlin OS running

Any help is appreciated!

Thanks!

For your router I would suggest you investigate this project:

Thank you, I have already installed the diversion but was checking option for Pihole, read some articles where users tried and then stopped. So wanted check if there was any other option.

I have a Netgear X10 (R9000) Router with a 1.7GHz Quad Core processor and plenty of RAM to spare. It is also running the latest available version of DD-WRT. I’m willing to be a test subject if needed. :wink:

EDIT: Just realized this was a zombie thread. :sweat_smile:

Considering both of those GitHub repos are over 3 years old, I'm not surprised it doesn't work.

Apologizes for raising this thread from the grave but to anyone who is still tracking this feature request - I'm working on Entware package to make installing V6 easy on devices that are compatible.
https://github.com/jacklul/entware-pi-hole/
Could use some feedback and testing!

4 Likes

I would!

I'm planning to replace my MIPS router next month with some aarch64 one.
is there a specific reason why it only works for aarch64-k3.10 and not for other aarch64 or is this just not tested yet?

These are architectures Entware is build for, see Entware/configs at master ¡ Entware/Entware ¡ GitHub
Entware is basically a modified OpenWRT build system, so packages are build targeting specific kernel version. I don't think kernel version matter much here, I am running 4.19 kernel using packages from armv7sf-k3.2 Entware architecture.
My project does not target any specific kernel version - I inherit binary build process from official Pi-hole repo.

Sorry,
I missed the fact that entware != openWrt.
reading the manual I thought entware was some kind of virtualization.

if I want to try this on openWrt, what would be the line to add in customfeeds.conf ?
I tried

src/gz pi-hole https://github.com/jacklul/entware-pi-hole/blob/a386a82da64efb8dac0ba49444e90defd571f7ec/aarch64-k3.10

but then the signature seems to be missing.