LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-16-2019, 09:33 PM   #1
Captain Brillo
Member
 
Registered: Jul 2018
Location: Capital of Raccoon Nation
Posts: 169

Rep: Reputation: Disabled
Really confused by pi-hole


Running Manjaro, have "pi-hole" installed and running from the AUR (Arch User Repositories)
It seems to be working - none of the boxes are getting any ads - disabled the ad-blockers - so it looks like it works.

Can't find any sites with ads to test it...

But seriously, I can't figure out how to get at the admin gui - none of the instructions work for that:
Quote:
There are three ways to get to the admin dashboard from your Web browser:
http://<IP_ADDPRESS_OF_YOUR_PI_HOLE>/admin/
http:/pi.hole/admin (when using Pi-hole as your DNS server)
http://pi.hole/ 24.9k (when using Pi-hole as your DNS server)
None of these addresses can be reached.

Any help out there?
 
Old 08-16-2019, 09:42 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 15,429
Blog Entries: 25

Rep: Reputation: 4438Reputation: 4438Reputation: 4438Reputation: 4438Reputation: 4438Reputation: 4438Reputation: 4438Reputation: 4438Reputation: 4438Reputation: 4438Reputation: 4438
This is a shot in the dark, but have you tried http://localhost/pi-hole/admin or http://localhost/[path/to/pi-hole]/admin or some variant thereof?

I looked at the Wikipedia article. This looks sort of like an automated hosts file.

Last edited by frankbell; 08-16-2019 at 09:44 PM.
 
Old 08-16-2019, 09:53 PM   #3
Captain Brillo
Member
 
Registered: Jul 2018
Location: Capital of Raccoon Nation
Posts: 169

Original Poster
Rep: Reputation: Disabled
Thanks, frankbell.
I've tried them now, and get a "site can't be reached", same as the addresses in my first post.


Another case of documentation writers thinking we're all telepathic.
 
Old 08-16-2019, 10:17 PM   #4
Captain Brillo
Member
 
Registered: Jul 2018
Location: Capital of Raccoon Nation
Posts: 169

Original Poster
Rep: Reputation: Disabled
Ok then...

if I go just to 192.168.0.11, the index shows a directory "pihole", and in that the directories "admin" and "pihole" as in http://192.168.0.11/pihole/admin/

Variations on the path still just get a file listing, no sign of any gui anywhere..

So what am I not seeing/understanding her, anybody know?
 
Old 08-16-2019, 10:23 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 15,429
Blog Entries: 25

Rep: Reputation: 4438Reputation: 4438Reputation: 4438Reputation: 4438Reputation: 4438Reputation: 4438Reputation: 4438Reputation: 4438Reputation: 4438Reputation: 4438Reputation: 4438
Drat. I'm sorry that my shot in the dark missed the target, but I must admit that this made me smile:

Quote:
Another case of documentation writers thinking we're all telepathic
There's a reason that "technical writer" is a skill in and of itself. I know. I used to be one.

Take a look at the MVPS Hosts file that I linked to. I've used it for years; it redirects ad sites, like doubleclick, to localhost, effectively blocking their droppings, and it is well-maintained and regularly updated. It doesn't make all of them go away, but it certainly ameliorates the agony.
 
Old 08-16-2019, 10:38 PM   #6
Captain Brillo
Member
 
Registered: Jul 2018
Location: Capital of Raccoon Nation
Posts: 169

Original Poster
Rep: Reputation: Disabled
pi-hole does seem to work - no ad-blockers, and no ads.

But I would like to be able to see what's up, right?

I even went back to dedoimedo's article to look (- of course that's where i found this ) but it didn't help.
 
Old 08-17-2019, 04:26 AM   #7
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,070

Rep: Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132
you need to set your pi-hole as name server (dns). I don't know how did you configure it, but it will resolve pi.hole (for example)
 
Old 08-17-2019, 08:41 AM   #8
Captain Brillo
Member
 
Registered: Jul 2018
Location: Capital of Raccoon Nation
Posts: 169

Original Poster
Rep: Reputation: Disabled
This is what is confusing - I'm not understanding what the pi-hole address is or where to find it - I know it's in the docs but I seem to be having a mental block on this...
Really frustrating.

I installed the full server packages from the AUR, and there was no configuration necessary.
I couldn't even tell it was installed until I ran "pihole staus" which tells me
Code:
MainBox ~]$ pihole status
  [✓] DNS service is running
  [✓] Pi-hole blocking is Enabled
But I can't figure out anything else....
 
Old 08-17-2019, 09:02 AM   #9
Captain Brillo
Member
 
Registered: Jul 2018
Location: Capital of Raccoon Nation
Posts: 169

Original Poster
Rep: Reputation: Disabled
I went looking for the pihole install log, that the instructions said would be in /etc/pihole/install.log, but there isn't one. Snooping in other files I found the pihole DNS address, anyway.

But those commands above to start the "admin interface" still don't work - I just get lists.
Nor can I find a CLI option that will start the Admin Console.

What am I not getting here?

Last edited by Captain Brillo; 08-17-2019 at 09:05 AM.
 
Old 08-17-2019, 09:07 AM   #10
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,070

Rep: Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132
this is not the installation of pi-hole itself, but the configuration of your host to use pi-hole as dns (if it was already running).
 
Old 08-17-2019, 09:52 AM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,027

Rep: Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890
The IP address is the address of your MainBox and if the web browser only shows a directory listing then it is a web server problem.

Is a web server installed and running on MainBox? If so then it isn't configured correctly.
 
  


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
The Libreboot C201 from Minifree is really really really ridiculously open source jeremy Linux - News 0 12-09-2016 10:51 AM
Confused nay Very Confused chrystlenight SUSE / openSUSE 3 08-28-2007 05:57 PM
LXer: Can intelligence really help business get out of a hole? LXer Syndicated Linux News 0 06-11-2007 02:16 PM
compiling source really confused nyxriver Linux - Newbie 4 05-05-2004 06:12 PM
HELP! i am really confused by enviroment setting and other things! andym Linux - Newbie 2 05-22-2003 11:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:34 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