LinuxQuestions.org
Help answer threads with 0 replies.
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 11-30-2019, 10:14 PM   #106
PROBLEMCHYLD
Member
 
Registered: Apr 2015
Posts: 872

Rep: Reputation: Disabled

This is what I got
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2019-11-30_21-11-37.png
Views:	37
Size:	136.2 KB
ID:	32015  
 
1 members found this post helpful.
Old 11-30-2019, 10:20 PM   #107
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,134

Rep: Reputation: Disabled
Quote:
Originally Posted by PROBLEMCHYLD View Post
This is what I got
Ok. It looks like we *might* be able to use the service file. I'll have to work on it tomorrow. Got some things to do tonight.
 
Old 11-30-2019, 11:07 PM   #108
PROBLEMCHYLD
Member
 
Registered: Apr 2015
Posts: 872

Rep: Reputation: Disabled
Me too......I'm gonna watch a couple of movies and fall asleep. Just let me know what you need. Never got a chance to get to the basement to get the server because my daughter Birthday is in a couple days so we preparing her little 9th special B-Day. See you in the morning.. Thanks.
 
Old 12-01-2019, 07:31 PM   #109
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,134

Rep: Reputation: Disabled
Well, I just nuked my testrig 14.2 install and put current on it to try installing pi-hole. I tried setting up pi-hole on 14.2 and was getting a bunch of jibberish when running pihole -g. I did however get pihole-FTL to "run", just it didn't update like you posted at the top of this page.

Then remembering that SavoTU said that he had it working on current-ish, I figured that I might as well give it a try. And as I mentioned in "The Latest Kernel" thread:
Quote:
Well, it must be freezing in hell. The new kernel (5.4.1) has made my old Penryn/GM965 laptops usable again with -current. I was having very slow boot times at ~10 minutes to XFCE. Now working normal again.
So I probably wont be pushing to GitHub for a day or so because I need to set up my git, gpg and ssh keys after nuking them with 14.2, and it doesn't seem worth it to set it all up again because I'm going to nuke it again after testing around with -current.
 
Old 12-01-2019, 09:46 PM   #110
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,134

Rep: Reputation: Disabled
UPDATE:

Ok, building and running on current seems to work fine. All I did was build pi-hole-ftl, pi-hole and lighttpd.

I didn't configure anything. Just built, installed, started pi-hole-FTL, ran /etc/pihole/mimic_setupVars.sh then pihole -g.

Maybe we are going to be shooting for -current with this.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2019-12-01_20-41-42.png
Views:	16
Size:	104.2 KB
ID:	32018  
 
Old 12-01-2019, 10:54 PM   #111
PROBLEMCHYLD
Member
 
Registered: Apr 2015
Posts: 872

Rep: Reputation: Disabled
Ok, seems the same what I got on 14.2.
 
Old 12-01-2019, 11:21 PM   #112
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,134

Rep: Reputation: Disabled
A little further....

But I cannot access the Web-Interface yet....
I keep getting "Forbidden, You don't have permission to access this resource."
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2019-12-01_22-17-56.png
Views:	13
Size:	103.1 KB
ID:	32019  
 
Old 12-01-2019, 11:42 PM   #113
PROBLEMCHYLD
Member
 
Registered: Apr 2015
Posts: 872

Rep: Reputation: Disabled
I will try to post all the files content tomorrow, from the Debian install.
 
1 members found this post helpful.
Old 12-01-2019, 11:56 PM   #114
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,134

Rep: Reputation: Disabled
Quote:
Originally Posted by PROBLEMCHYLD View Post
I will try to post all the files content tomorrow, from the Debian install.
I think that it is just a permission issue.
 
Old 12-02-2019, 12:26 AM   #115
PROBLEMCHYLD
Member
 
Registered: Apr 2015
Posts: 872

Rep: Reputation: Disabled
Cool, you have seem to have gotten further than me.
 
Old 12-02-2019, 02:40 AM   #116
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,134

Rep: Reputation: Disabled
Quote:
Originally Posted by PROBLEMCHYLD View Post
Cool, you have seem to have gotten further than me.
What I'm using is on GitHub, nothing different. (except for using -current now)

I have been using SavoTU's Apache config just because Apache is already there an doesn't need much configuring, but tomorrow I might take the time to setup lighttpd properly and use that.

I think that I figured out the issue I was having, I didn't add the pihole user/group. But I'll worry about it tomorrow.
 
Old 12-02-2019, 03:54 AM   #117
SavoTU
Member
 
Registered: Apr 2005
Distribution: Slackware64 Current
Posts: 187

Rep: Reputation: 38
The admin console is in a dir try http://localhost/pihole/admin/index.php Apache has been running here for years so my config already has everything it needs enabled I will check for extra steps on a clean pc later if that link does not work for you.

PROBLEMCHYLD: Are your issues the same as the one in the screenshot? If so can you give us the result of cat /etc/pihole/adlists.list

Last edited by SavoTU; 12-02-2019 at 03:56 AM.
 
Old 12-02-2019, 12:53 PM   #118
PROBLEMCHYLD
Member
 
Registered: Apr 2015
Posts: 872

Rep: Reputation: Disabled
Code:
root@PROBLEMCHYLD:~/Desktop# bash basic-install.sh

  [✓] Root user check

        .;;,.
        .ccccc:,.
         :cccclll:.      ..,,
          :ccccclll.   ;ooodc
           'ccll:;ll .oooodc
             .;cll.;;looo:.
                 .. ','.
                .',,,,,,'.
              .',,,,,,,,,,.
            .',,,,,,,,,,,,....
          ....''',,,,,,,'.......
        .........  ....  .........
        ..........      ..........
        ..........      ..........
        .........  ....  .........
          ........,,,,,,,'......
            ....',,,,,,,,,,,,.
               .',,,,,,,,,'.
                .',,,,,,'.
                  ..'''.

  [i] Existing PHP installation detected : PHP version 7.0.33-0+deb9u6
  [i] Reconfigure option selected
  [✓] Disk space check
  [✓] Update local cache of available packages

  [✓] Checking apt-get for upgraded packages... up to date!

  [i] Installer Dependency checks...
  [✓] Checking for apt-utils
  [✓] Checking for dialog
  [✓] Checking for debconf
  [✓] Checking for dhcpcd5
  [✓] Checking for git
  [✓] Checking for iproute2
  [✓] Checking for whiptail

  [i] Using interface: wlan0
  [i] Using Google (ECS)
  [i] Static IP already configured
  [i] Found IPv6 ULA address, using it for blocking IPv6 ads
  [i] IPv4 address: 192.168.0.3/24
  [i] IPv6 address: 192.168.0.3
  [i] Web Interface On
  [i] Web Server On
  [i] Logging On.
  [✓] Check for existing repository in /etc/.pihole
  [✓] Update repo in /etc/.pihole

  [✓] Check for existing repository in /var/www/html/admin
  [✓] Update repo in /var/www/html/admin

  [i] Main Dependency checks...
  [✓] Checking for cron
  [✓] Checking for curl
  [✓] Checking for dnsutils
  [✓] Checking for iputils-ping
  [✓] Checking for lsof
  [✓] Checking for netcat
  [✓] Checking for psmisc
  [✓] Checking for sudo
  [✓] Checking for unzip
  [✓] Checking for wget
  [✓] Checking for idn2
  [✓] Checking for sqlite3
  [✓] Checking for libcap2-bin
  [✓] Checking for dns-root-data
  [✓] Checking for resolvconf
  [✓] Checking for libcap2
  [✓] Checking for lighttpd
  [✓] Checking for php7.0-common
  [✓] Checking for php7.0-cgi
  [✓] Checking for php7.0-sqlite3

  [✓] Enabling lighttpd service to start on reboot...

  [i] FTL Checks...

  [✓] Detected 32bit (i686) architecture
  [i] Checking for existing FTL binary...
  [i] Latest FTL Binary already installed (v4.3.1). Confirming Checksum...
  [i] Checksum correct. No need to download!
  [✓] Checking for user 'pihole'
  [✓] Installing scripts from /etc/.pihole

  [i] Installing configs from /etc/.pihole...
  [i] Existing dnsmasq.conf found... it is not a Pi-hole file, leaving alone!
  [✓] Copying 01-pihole.conf to /etc/dnsmasq.d/01-pihole.conf

  [i] Installing blocking page...
  [✓] Creating directory for blocking page, and copying files
  [✗] Backing up index.lighttpd.html
      No default index.lighttpd.html file found... not backing up

  [✓] Installing sudoer file

  [✓] Installing latest Cron script

  [✓] Installing latest logrotate script
  [i] Backing up /etc/dnsmasq.conf to /etc/dnsmasq.conf.old

  [i] Skipping firewall configuration
  [✓] man pages installed and database updated
  [i] Testing if systemd-resolved is enabled
  [i] Systemd-resolved is not enabled
  [✓] Restarting lighttpd service...
  [✓] Enabling lighttpd service to start on reboot...
  [i] Restarting services...
  [✓] Enabling pihole-FTL service to start on reboot...
  [✓] Restarting pihole-FTL service...
  [✓] Deleting existing list cache
  [i] Pi-hole blocking is enabled
  [i] Neutrino emissions detected...
  [✓] Pulling blocklist source list into range

  [i] Target: raw.githubusercontent.com (hosts)
  [✓] Status: Retrieval successful

  [i] Target: mirror1.malwaredomains.com (justdomains)
  [✓] Status: Retrieval successful

  [i] Target: sysctl.org (hosts)
  [✓] Status: Retrieval successful

  [i] Target: s3.amazonaws.com (simple_tracking.txt)
  [✓] Status: Retrieval successful

  [i] Target: s3.amazonaws.com (simple_ad.txt)
  [✓] Status: Retrieval successful

  [i] Target: hosts-file.net (ad_servers.txt)
  [✓] Status: Retrieval successful

  [✓] Consolidating blocklists
  [✓] Extracting domains from blocklists
  [i] Number of domains being pulled in by gravity: 139040
  [✓] Removing duplicate domains
  [i] Number of unique domains trapped in the Event Horizon: 116818
  [i] Nothing to whitelist!
  [i] Number of regex filters: 0
  [✓] Parsing domains into hosts format
  [✓] Cleaning up stray matter

  [✓] Force-reloading DNS service
  [✓] DNS service is running
  [✓] Pi-hole blocking is Enabled
  [i] View the web interface at http://pi.hole/admin or http://192.168.0.3/admin

  [i] You may now configure your devices to use the Pi-hole as their DNS server
  [i] Pi-hole DNS (IPv4): 192.168.0.3
  [i] Pi-hole DNS (IPv6): 192.168.0.3
  [i] If you set a new IP address, please restart the server running the Pi-hole

  [i] The install log is located at: /etc/pihole/install.log
Installation Complete! 


/opt/pihole/

chronometer.sh  list.sh            piholeLogFlush.sh  uninstall.sh    version.sh
COL_TABLE       piholeCheckout.sh  query.sh           updatecheck.sh  webpage.sh
gravity.sh      piholeDebug.sh     setupLCD.sh        update.sh       wildcard_regex_converter.sh


/etc/pihole/

adlists.list      install.log                                list.4.s3.amazonaws.com.domains  localversions    regex.list
dhcp.leases       list.0.raw.githubusercontent.com.domains   list.5.hosts-file.net.domains    logrotate        setupVars.conf
dns-servers.conf  list.1.mirror1.malwaredomains.com.domains  list.preEventHorizon             macvendor.db
GitHubVersions    list.2.sysctl.org.domains                  localbranches                    pihole-FTL.conf
gravity.list      list.3.s3.amazonaws.com.domains            local.list                       pihole-FTL.db
 
1 members found this post helpful.
Old 12-02-2019, 08:21 PM   #119
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,134

Rep: Reputation: Disabled
Thanks PROBLEMCHYLD.

It seems that I am on the right track compared to that.
I haven't had time to work on it today, but I'll try and get something in before bed.

I see resolvconf was pulled in, and that is for the pihole-FTL.service file. If I add it, I don't know if anything will use it and I'm not sure but I think that openresolv would have to be added as a dependency for Slackware.
 
Old 12-03-2019, 08:06 AM   #120
PROBLEMCHYLD
Member
 
Registered: Apr 2015
Posts: 872

Rep: Reputation: Disabled
It seems we are getting closer. I did have to restart dnsmasq if it's any help to you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 08:43 AM
Has anyone managed to get a Webcam (or PC CAMERA) working in Slackware 13.0? Norseman01 Linux - Hardware 1 11-03-2012 03: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 05: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 02:09 AM
Look at what I managed to do today with slackware! cereal83 Slackware 22 04-01-2006 03:41 AM

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

All times are GMT -5. The time now is 03:24 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration