LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-17-2017, 10:07 PM   #1
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 1,134

Rep: Reputation: 277Reputation: 277Reputation: 277
Has Anyone Managed To Install Pihole On Slackware?


TBH, the time and effort it would take to get pihole installed in Slackware is beyond what I'm willing to invest, so I'm curious as to whether someone else has done what I don't want to.

Virtual, and perhaps real beers to anyone who can help out.

cheers,
 
Old 05-18-2017, 03:35 AM   #2
askfor
Member
 
Registered: Aug 2016
Posts: 84

Rep: Reputation: 46
I have never heard of it until now. However, looks like something that should work on any Linux, ory even any *NIX. What kind of problem are you expecting ? Is it because there is no Slackware package ?
 
Old 05-18-2017, 02:32 PM   #3
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 1,134

Original Poster
Rep: Reputation: 277Reputation: 277Reputation: 277
Post

Hey,

Thanks for your response, but I'm abandoning my pihole quest: over the past couple of years I've attempted to get it running *as advertised* on a raspi, a debian install, a docker container, a debian docker container, a debian vm, a debian-under-linux-deploy on android, and possibly on a potato and/or a hot chick in a white bikini, and there are always unresolved and insurmountable issues.

I've been using privoxy since forever and, imho, nothing comes close in simplicity and *just working*.

No disrespect intended to the project's maintainers, contributors, and community but even if I took the time and effort to get this up and running in Slackware, based on my 6+ attempts to get this running properly even on the recommended distros, I'm fairly certain it's an exercise in futility.

cheers,
 
Old 05-19-2017, 02:25 PM   #4
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
For what's its worth, the AUR pkgbuild gives the impression that the installation process for pihole is rather unfortunate...

https://aur.archlinux.org/cgit/aur.g...ole-standalone
 
Old 05-21-2017, 02:35 AM   #5
MikelN
LQ Newbie
 
Registered: Jan 2017
Posts: 29

Rep: Reputation: Disabled
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.
 
1 members found this post helpful.
Old 05-21-2017, 03:16 AM   #6
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
Pi-Hole seems like a overly complicated way to use ipset and some blacklists.

I'm using trick77's ipset-blacklist, I've made a SlackBuild for it but it requires a firewall (Eric's Firewall Generator) and some configuring.

The addition of Steven Black's lists are completely compatible with ipset-blacklist, thanks for pointing to that MikeIN.

I'm currently blocking 10,000+ IP's and ipset-blacklist is lightning fast.

Last edited by Skaendo; 05-21-2017 at 03:17 AM.
 
Old 05-21-2017, 07:02 PM   #7
askfor
Member
 
Registered: Aug 2016
Posts: 84

Rep: Reputation: 46
Squid proxy with ad blocking file is also an option. You don't have to use it as caching proxy, or you might choose to have minimal size cache. If you chose to have cache, it is located on the disk. However there is a memory buffer which holds most frequent cache objects. For small cache you don't need it either. Minimal Squid is relatively small program. It is far more efficient than your browser cache. You have very precise control over what is cached and for how long.

Configuration file is big, but most of it can be left default. Here is how to enable ad blocking feature:

https://calomel.org/squid_adservers.html

It has been a while, but I have been maintaining a Squid proxy server on large network for period of 4 years. I forgot a lot, but might still be able to help.
 
Old 05-21-2017, 07:43 PM   #8
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161
Following the same basic concepts, I use dnsmasq to block undesirable sites. The relevant sections of my dnsmasq.conf:

Code:
addn-hosts=/etc/hosts-blocked
addn-hosts=/etc/hosts-fb
addn-hosts=/etc/hosts-ms
cache-size=10000
log-queries
log-facility=/var/log/dnsmasq
One nice thing about dnsmasq is using multiple hosts files. I also block Facebook and Microsoft telemetry sites sites.

I configure my main server in resolv.conf and all LAN traffic uses that as my local caching name server.

I notice no latency with this approach. Kind of nice, considering I have 223,650 unique addresses in the /etc/hosts-blocked file. No ads, no malicious sites to worry about. Add some privacy related Firefox add-ons and I would guess I am blocking and filtering about as much as is reasonably possible without using Tor.

The only thing PiHole has that I don't is nice graphs and a pointy-clicky way to add/delete URLs.
 
Old 11-22-2019, 05:39 PM   #9
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Rep: Reputation: Disabled
I'm going to attempt this on Slackware. I just turned an old Pentium 3 (1.2Ghz) 1GB Ram into a Pi-Hole Server. I ended up using a Debian 9.0.0 cd netinstall iso and Pi-hole script, nothing else except for wireless drivers. Its headless, so Slackware might have a fighting chance. I don't know much about FTL/Pi-hole, but its interesting to tinker with things.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2019-11-22_17-37-51.png
Views:	125
Size:	160.2 KB
ID:	31928  
 
Old 11-22-2019, 07:08 PM   #10
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Rep: Reputation: Disabled
I'm going to assume I need at least the 3 packages to start and go any further.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2019-11-22_18-42-51.png
Views:	147
Size:	43.9 KB
ID:	31929   Click image for larger version

Name:	Screenshot_2019-11-22_18-43-18.png
Views:	117
Size:	71.7 KB
ID:	31930  
 
Old 11-22-2019, 07:13 PM   #11
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
Quote:
Originally Posted by PROBLEMCHYLD View Post
I'm going to attempt this on Slackware. I just turned an old Pentium 3 (1.2Ghz) 1GB Ram into a Pi-Hole Server. I ended up using a Debian 9.0.0 cd netinstall iso and Pi-hole script, nothing else except for wireless drivers. Its headless, so Slackware might have a fighting chance. I don't know much about FTL/Pi-hole, but its interesting to tinker with things.
Looks interesting, I have spare computers to throw on the network, but wonder how it would work behind my router and switch. Keep us posted how it turns out please. If setting it up is not too much work, I'd try it out.
 
Old 11-22-2019, 07:14 PM   #12
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
Quote:
Originally Posted by PROBLEMCHYLD View Post
I'm going to assume I need at least the 3 packages to start and go any further.
php7 is in -current I believe.

(not lighthttp) available at SBo though.

Last edited by Skaendo; 11-22-2019 at 07:17 PM.
 
Old 11-22-2019, 07:47 PM   #13
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
Quote:
Originally Posted by PROBLEMCHYLD View Post
I'm going to assume I need at least the 3 packages to start and go any further.
This might also help you resolve some dependencies:
https://aur.archlinux.org/packages/?...0&do_Search=Go
 
Old 11-22-2019, 08:06 PM   #14
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Rep: Reputation: Disabled
Quote:
Originally Posted by Skaendo View Post
Looks interesting, I have spare computers to throw on the network, but wonder how it would work behind my router and switch. Keep us posted how it turns out please. If setting it up is not too much work, I'd try it out.
The setup and configuration is easy. Installation is about 4 clicks, but getting it installed is the challenge. I'm going to pursue this because I hate defeat but only if time allows me.
 
Old 11-22-2019, 08:09 PM   #15
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Rep: Reputation: Disabled
I need to start with those 3 packages, I tried building from https://www.linuxquestions.org/quest...le-4175622728/ but got a bunch of alpine errors... All help and pre-packages are accepted....LOL

I have 2 routers, one in bridge mode and it works just fine, if you want pi-hole to issue DHCP then disable DHCP in your Primary Router.

Last edited by PROBLEMCHYLD; 11-22-2019 at 08:15 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] slackware 14.2 - Anybody managed to install spotify??? jhsdcsjdcvbdj Slackware 8 03-12-2017 07:43 AM
Has anyone managed to get a Webcam (or PC CAMERA) working in Slackware 13.0? Norseman01 Linux - Hardware 1 11-03-2012 02:22 PM
managed to make files owned by 1016 and cannot delete, i'm using slackware 12 The_spacekadet Linux - Software 2 02-25-2008 04:01 AM
managed to make files owned by 1016 and cannot delete, i'm using slackware 12 The_spacekadet Linux - Newbie 2 02-25-2008 01:09 AM
Look at what I managed to do today with slackware! cereal83 Slackware 22 04-01-2006 02:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration