[SOLVED] Has Anyone Managed To Install Pihole On Slackware?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
You can just run Bind with an adblock hosts file to get the same effect. I'm using this https://github.com/StevenBlack/hosts it also includes malware servers and other stuff you can choose to block.
Thanks for the hosts file :^)
I don't understand why someone is over-engineering simple files as that, it's like a one-liner to just git clone the repo and overwrite /etc/hosts with whatever it's in there..
I don't understand why someone is over-engineering simple files as that
Because the hosts file then gets really big.
In a previous post, I shared using dnsmasq. That approach allows using these big hosts files while keeping the system hosts file small and manageable.
I have 274111 sites blocked in my big file.
Quote:
Surfing seems a bit faster!
"Seems"? I've been using dnsmasq in this manner for many years. I started in my dial-up days. I still block everything and anything. When I use a web browser outside the home I become like the proverbial deer in the headlight beam -- I just freeze because of the clutter and noise.
When I use a web browser outside the home I become like the proverbial deer in the headlight beam -- I just freeze because of the clutter and noise.
Same here. But I've been using a combo of hosts and browser ad blocker. I made the mistake of browsing on a friends PC and was overwhelmed by all the ads. My home network has grown quite a bit since the last time I posted in this thread so when PROBLEMCHYLD brought it back up, it looks more appealing now.
EDIT:
So I started looking at a source build of Pi-hole, and the Python runs DEEP.
but the script its NOT letting me go any further with a line 1578: yum: command not found.
I think we might have to revise the script, which is above my pay-grade!!!.........
Quote:
Originally Posted by upnort
yum is the package manager for Red Hat systems. Is the script you downloaded for Red Hat systems?
They don't have a script for Slackware, hence why I am going the source route that I said a few posts ago. But the Python dependencies run pretty deep and will take some time to sort it out.
Please know that I am building everything from scratch, in python3, and for personal use. But I will share the SlackBuilds when I am finished, just keep in mind that there will be conflicts with SBo packages because I name ALL my own Python libraries like: python3-$PRGNAM
They don't have a script for Slackware, hence why I am going the source route that I said a few posts ago. But the Python dependencies run pretty deep and will take some time to sort it out.
Please know that I am building everything from scratch, in python3, and for personal use. But I will share the SlackBuilds when I am finished, just keep in mind that there will be conflicts with SBo packages because I name ALL my own Python libraries like: python3-$PRGNAM
Much appreciated. I will test your scripts and maybe we can coincide.
I would like to dumb-down php and remove alpine since it is already installed (unless it is really needed like that to build) and probably make it version specific.
If you have a GitHub account I can add you by your username there.
NOTE:
pi-hole-ftl needs work first. Look in /new and see what's in there. There is going to need a user/group at least. Those files are for reference only.
dnsmasq/dhcp.c: In function ‘dhcp_packet’:
dnsmasq/dhcp.c:182:17: error: ‘SIOCGSTAMP’ undeclared (first use in this function)
if (ioctl(fd, SIOCGSTAMP, &tv) == 0)
^
dnsmasq/dhcp.c:182:17: note: each undeclared identifier is reported only once for each function it appears in
Makefile:120: recipe for target 'dnsmasq/obj/dhcp.o' failed
make: *** [dnsmasq/obj/dhcp.o] Error 1
dnsmasq/dhcp.c: In function ‘dhcp_packet’:
dnsmasq/dhcp.c:182:17: error: ‘SIOCGSTAMP’ undeclared (first use in this function)
if (ioctl(fd, SIOCGSTAMP, &tv) == 0)
^
dnsmasq/dhcp.c:182:17: note: each undeclared identifier is reported only once for each function it appears in
Makefile:120: recipe for target 'dnsmasq/obj/dhcp.o' failed
make: *** [dnsmasq/obj/dhcp.o] Error 1
I can't reproduce. The only dhcp.c in my log is as follows:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.