Pi-Hole

A place For General Chit Chat Etc
User avatar
Posts: 1500
Joined: Tue Apr 26, 2011 9:52 pm

Re: Pi-Hole

Postby psyolent » Wed Jun 21, 2017 7:12 pm

yep. which is customisable to add more shit in there too.
Cheers,
Greg aka Sir Burnie Tanington

VX1 Berlina V6, VT1 Berlina V6 (Track), VN1 S V6, Hilux RN105 GMV8, Ford XP 170.

Posts: 2503
Joined: Thu Apr 09, 2009 12:31 pm

Re: Pi-Hole

Postby immortality » Thu Jun 22, 2017 8:23 am

Well I've got the Rpi fired up this morning. Installing pi-hole now. Took a little while to figure out how to type the "|", not used it before and it was showing a different symbol. Eventually discovered I needed to change the keyboard configuration to a US one?

Posts: 2503
Joined: Thu Apr 09, 2009 12:31 pm

Re: Pi-Hole

Postby immortality » Thu Jun 22, 2017 8:45 am

Well it looks like we have successfully got it working.

Configuring the ASUS router seems simple enough, set the "Connect to DNS server automatically" to NO and then entered the IP address for the Rpi instead.

The only thing I'm not certain about is the static IP address bit?

Posts: 2503
Joined: Thu Apr 09, 2009 12:31 pm

Re: Pi-Hole

Postby immortality » Thu Jun 22, 2017 9:53 am

Semi successful....

pi-hole is running fine but now I want to connect to the Rpi so I can reset the password as it seems I didn't copy the password correctly :(

Trying to remote to the Rpi via the network but this isn't working. Trying to use an app called PuTTY, coming up with a network error : connection refused ?

Posts: 351
Joined: Sun Jul 04, 2010 3:15 pm
Location: NZ

Re: Pi-Hole

Postby VK_3800 » Thu Jun 22, 2017 11:31 am

If you want something network wide why not just set it up on the router?

Posts: 2503
Joined: Thu Apr 09, 2009 12:31 pm

Re: Pi-Hole

Postby immortality » Thu Jun 22, 2017 12:25 pm

It is connected to the router.

Doing some googling, turns out SSH is disabled in the latest versions of Raspbian as a security feature and the cause of problems most likely. Looks like I'll need to add a file on the SD card etc to sort it out.

Posts: 72
Joined: Tue Sep 22, 2015 10:05 am

Re: Pi-Hole

Postby wozza » Fri Jun 23, 2017 9:28 am

Make sure your discoed from the net when you switch on ssh until you change the password...there is a virus targeting pi's via the default user/passwords....
you can switch on ssh ect via the desktop through settings

Site Admin
User avatar
Posts: 5629
Joined: Sat Feb 28, 2009 8:34 pm

Re: Pi-Hole

Postby antus » Fri Jun 23, 2017 11:53 am

If you dont know the passwords, I dont think you'll be able to get access over the network. I'd suggest plugging in the HDMI to a TV and a usb keyboard/mouse from your PC to revisit the first time setup. It should boot to desktop with no password, then you can use the pi configuration from the menu to turn on ssh and tweak other settings.

The default user is 'pi' which is a regular user (non administrator aka non root), and will prompt you for the existing password when you wish to change it. You need root access (admin in the unix world) to be able to set a password without knowing the old one. There is a program sudo (super user do) which allows you to run things as root, including another whole terminal. This application is designed to elevate your privileges. The pi is configured so that the 'pi' user is allowed to run sudo without providing a password. In more serious systems/servers sudo would require a password. This is a convenience feature the pi foundation has provided.

Here is an example of me ssh'ing in to my pi3 and resetting the password for the pi user and root. Note that I did know the passwords to begin with but wanted to show you what to expect. Putty is a windows ssh client, so when you connect with putty you will get something similar to what I show here. You can do something similar once you get a shell/terminal by plugging in a screen/keyboard and running one from the graphical menu. Note how the user changes in the prompt after the "sudo -i" aka Super User DO.. Interactive shell.

Code: Select all
[ant@gemini ~]$ ssh pi@10.0.0.100
pi@10.0.0.100's password: <pi user password typed here but not echo'd to screen>

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Jun 17 16:11:06 2017 from 10.0.0.11
pi@raspberrypi:~ $ sudo -i
root@raspberrypi:~# passwd pi
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
root@raspberrypi:~# passwd root
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Have you read the FAQ? For lots of information and links to significant threads see here: viewtopic.php?f=7&t=1396

Posts: 2503
Joined: Thu Apr 09, 2009 12:31 pm

Re: Pi-Hole

Postby immortality » Fri Jun 23, 2017 11:58 am

It's only the password to the Pi-hole software I noted down incorrectly :(

Definitely changing the default passwords, not doing so is just asking for trouble.

Posts: 2503
Joined: Thu Apr 09, 2009 12:31 pm

Re: Pi-Hole

Postby immortality » Fri Jun 23, 2017 6:01 pm

Thought I'd post a pic of what Pi-hole has been up to on my system.
pi-hole.png

PreviousNext

Return to Off Topic

Who is online

Users browsing this forum: No registered users and 1 guest