Need help installing pi hole on rpi 3 B without keyboard

April 28, 2024, 14:28

martzitgrt

Hi

martzitgrt

<@1071178789939331253> u told me to ping u here

k9t33n

Yes

k9t33n

Okay where are you up to rn?

martzitgrt

Ok

k9t33n

Got the pi booted?

martzitgrt

?

k9t33n

Nvm I'll explain later

martzitgrt

Im new to this so i dunno

martzitgrt

I followed an online guide

k9t33n

Great

martzitgrt

Flashed an sd card with

k9t33n

Yes

martzitgrt

Rpi os lite 64 bit i think l

martzitgrt

Lemme check

k9t33n

That's alright

martzitgrt

Ok

k9t33n

The difference between lite and desktop is that you can only use commands but desktop uses gui, which means you can click and stuff. But I only give you commands anyway

k9t33n

Now. Plugged that into the pi?

martzitgrt

My laptop is plugged into the pi

martzitgrt

I dunno what u mean

martzitgrt

?

k9t33n

One second

martzitgrt

Kk

k9t33n

On the guide did it tell you to change any settings?

martzitgrt

Yes

martzitgrt

Set locale settings (it told me it means clock and time)

martzitgrt

Set username and password

martzitgrt

Enable ssh (use password authentication

martzitgrt

Set host name

k9t33n

And did you enter your network stuff?

martzitgrt

Thats it

martzitgrt

?

k9t33n

Like WiFi password

k9t33n

Etc

martzitgrt

No

k9t33n

Oh

martzitgrt

reflash?

k9t33n

Can't rely on a guide you didn't write yourself 🤦‍♂️

martzitgrt

Yea

martzitgrt

Reflash it?

martzitgrt

With your guide :))?

k9t33n

With your network info

martzitgrt

Lol ok

martzitgrt

I will ask u if i have questions

martzitgrt

I was kinda half joking

martzitgrt

I didnt expect u to have a guide lol

k9t33n

Lmao

k9t33n

Yeah ran into this problem quite a bit

k9t33n

Ping me if anything comes up

martzitgrt

<@1071178789939331253>

martzitgrt

Hey

martzitgrt

Do i enable ssh

martzitgrt

And for the wifi i put my wifi info right

martzitgrt

With my wifi name and password?

martzitgrt

<@1071178789939331253>

martzitgrt

<@1071178789939331253>

martzitgrt

Plz help

martzitgrt

Sorry for spam pinging

k9t33n

Sorry It didn't come through

k9t33n

I'm back

k9t33n

Yes

martzitgrt

Ok

martzitgrt

With password auth

martzitgrt

Or public key

k9t33n

Being a hypocrite I forgot to mention that in my own guide 😭

k9t33n

Changed that

k9t33n

Password auth

martzitgrt

Ok

martzitgrt

?

martzitgrt

????

martzitgrt

<@1071178789939331253>

k9t33n

Yes

martzitgrt

Ok

martzitgrt

Flashing

martzitgrt

It will take a bit cuz my laptop is shitty

k9t33n

Okay

k9t33n

That usually isn't the bottleneck

k9t33n

It's the sd card and SD card port that's the bottleneck here

martzitgrt

Ok

martzitgrt

next what do i do

martzitgrt

So i can get ready

k9t33n

You would plug that into your pi

martzitgrt

Ok

k9t33n

So get your pi ready with a power supply

martzitgrt

The micro sd right

k9t33n

Yes

martzitgrt

Can it be just me plugging it in a

martzitgrt

Erm

martzitgrt

I don't know in english

martzitgrt

That thing in the wall

martzitgrt

Where there is power

martzitgrt

?

k9t33n

Yes

k9t33n

If you have a more powerful pi you would need a specific one that has more power than just a charger

k9t33n

But yours isn't that powerful so forget me saying "power supply"

k9t33n

k9t33n

You can look at the bottom of your charger and it will say "output 5v =~= 2.5a" or something similar

martzitgrt

Dis?

k9t33n

Send a pic I'll highlight

k9t33n

Of the bottom of it

martzitgrt


martzitgrt

Dis?

martzitgrt

5.1v 2.5a

k9t33n

Yeah that's good enough

martzitgrt

Ok

martzitgrt

Done flashing

k9t33n

Great

martzitgrt

Yippee

martzitgrt

Pop the sd into the pi?

martzitgrt

Format it?

martzitgrt

What?

k9t33n

Pop it into the pi

martzitgrt

Ok

martzitgrt

Done

k9t33n

Then plug the power supply in

martzitgrt

Ok

k9t33n

This specifically is a power supply not charger

martzitgrt

Erm

martzitgrt

?

k9t33n

.

martzitgrt

Ok

martzitgrt

Buttttt

martzitgrt

I need to tell u smth

martzitgrt

I didn't buy those

martzitgrt

A family member

martzitgrt

Gave them to be

martzitgrt

Cuz they were just laying around

martzitgrt

And I wanted one

martzitgrt

And

martzitgrt

The actual charger/ whatever looks like this

martzitgrt

martzitgrt

Excuse my "great" photo skills

k9t33n

That has the correct amps

k9t33n

It is what came in the box yeah so that's perfect still

martzitgrt

Ok

martzitgrt

I wasnt sure

martzitgrt

Cuz my family member like gave me a bundle of stuff

martzitgrt

And told me it was only rpis one

martzitgrt

And one rpi 4

martzitgrt

And i checked on the mobo or whatever

martzitgrt

And the first one was a three b

k9t33n


k9t33n

Okay I see

martzitgrt

Ok cool

martzitgrt

So now what

k9t33n

Got that in the pi?

k9t33n

And what is the green light doing?

martzitgrt

It has a red light

martzitgrt

And a green light

martzitgrt

The red is constant

k9t33n

Yes

k9t33n

Good

martzitgrt

The green is blinky

k9t33n

Is it repeating in a pattern or is it blinking randomly?

martzitgrt

Wait

martzitgrt

I cant put my finger on it

martzitgrt

Its like sometimes it seems like theres a pattern and then it messes it up ig?

martzitgrt

What does it mean? Am i just bad at seeing the pattern??

martzitgrt

???

martzitgrt

<@1071178789939331253> pls help

martzitgrt

I am getting free trauma rn

k9t33n

It's alright

k9t33n

Well it should be pretty obvious

k9t33n

Like 3, 4, 7 or 8 blinks then a rest

k9t33n

If I remember them correctly

k9t33n

Can you record it?

martzitgrt

I made a recording

martzitgrt

It is sending

k9t33n

Okay

martzitgrt

It is like 1min and 10 seconds ig

k9t33n

Oh

k9t33n

That's good then

k9t33n

Let me explain

k9t33n

I'll probably make a faq on this too

k9t33n

That green led is the "act" led, it means disk activity

martzitgrt

Ok

k9t33n

So it would be blinking on startup then because you gave it nothing else to do it stops

k9t33n

But if that fails then it shows a blink pattern to show why it failed

k9t33n

Now then look in your router config and find the hostname you set

martzitgrt

How

martzitgrt

Help

martzitgrt

Do i have to plug ethernet into the pi

martzitgrt

Or into my laptop

k9t33n

On the back of your router it should say "router ip" like 192.168.1.254 or something, search that up in a browser in your computer

k9t33n

Oh wait if you have that plug that into it too

k9t33n

Not into your laptop

k9t33n

That guide was talking about local stuff

k9t33n

Don't need it

martzitgrt

Ok

martzitgrt

So ethernet into pi right

k9t33n

And that into your router

martzitgrt

Ok greay

martzitgrt

Great

martzitgrt

Into router into the lan ports

martzitgrt

Or tel port

martzitgrt

Lan right

k9t33n

lan

martzitgrt

Ok

martzitgrt

And the ip that i search online?

k9t33n

should be on the back of the router

martzitgrt

Yhe one on the back of the router right?

martzitgrt

Ok

martzitgrt

Thx

k9t33n

192.168.1.1 or 192.168.1.254 is my prediction

martzitgrt

Chrome is ok?

k9t33n

yes

martzitgrt

No

martzitgrt

But close loo

martzitgrt

Lol

k9t33n

oh interesting

k9t33n

you can say that btw

k9t33n

its local so i cant do nothing with it

martzitgrt

Now i put my account

martzitgrt

The raspberry pi one?

martzitgrt

From sd card?

martzitgrt


martzitgrt

Ok but im paranoic sorry

martzitgrt

Lol

martzitgrt

<@1071178789939331253>

k9t33n

its alright

martzitgrt

Ok

martzitgrt

What do i put in herr

martzitgrt

Here?

k9t33n

thats for your router settings

k9t33n

forget that its fine

martzitgrt

Ok

k9t33n

okay press your logo key

martzitgrt

So what do i put here???

martzitgrt

Windows?

martzitgrt

Or?

k9t33n

then type in "terminal" and click on the >_ looking thing

k9t33n

yeah its a general term for the windows key or whatever it is on mac

martzitgrt

Ok

martzitgrt

What do i say

martzitgrt

Ssh?

martzitgrt

Command promt

martzitgrt

Prompt

k9t33n

type in ssh [username]@[hostname].local changing out [username] and [hostname] with what you put in the settings

martzitgrt

Ok

martzitgrt

Didn't work

k9t33n

error?

k9t33n

"[hostname].local" not found?

martzitgrt


martzitgrt

Ur saying for win 10 right?

k9t33n

ohh

martzitgrt

Did i put it in correctly

martzitgrt

?

k9t33n

it needs spaces

martzitgrt

Oooohhhhh

martzitgrt

So say again

k9t33n

so ssh pi@pihole3.local

martzitgrt

Ok

martzitgrt


martzitgrt

Yes 😭

k9t33n

yeah thought so

k9t33n

always happens

k9t33n

download an app on your phone or laptop called "fing"

martzitgrt

Where

k9t33n

however you download stuff

k9t33n

like on laptop with chrome

k9t33n

or on your phone with the app store

martzitgrt

Dis?

martzitgrt


martzitgrt

<@1071178789939331253>

martzitgrt

Dis right?

martzitgrt


martzitgrt

Scanned

k9t33n

yes

martzitgrt

I dunno what the three "generic" are

k9t33n

and find your pis hostname

martzitgrt

?

martzitgrt

pihole3?

k9t33n

in there it should say that yeah

martzitgrt

Oh wait

martzitgrt

I just realized

martzitgrt

I connected the pi to a different network i think

k9t33n

that makes sense

k9t33n

you need to be on the same network

martzitgrt

Than my phone

martzitgrt

Ok

martzitgrt

Wait

martzitgrt

My laptop is the same network as pi

martzitgrt

Wait

k9t33n

we could do it that way the guide suggested for now

k9t33n

btw for pihole you would need to choose which network you want it for unless you set up additional arangements

martzitgrt

Ok

martzitgrt

I am downloading it on my laptop rn

martzitgrt

Yippee

martzitgrt


martzitgrt

Sorry wrong pic

martzitgrt


martzitgrt

Yippee

martzitgrt

Now what

martzitgrt

<@1071178789939331253>

k9t33n

now write that ip down

k9t33n

and do ssh [user]@[ip] in the terminal this time

k9t33n

sorry for the late replu

k9t33n

<@1026818953617612851>

martzitgrt

Ok

martzitgrt

Np

martzitgrt

Ssh like this: ssh or with spaces

k9t33n

like last time but instead of pihole3.local just put in the ip

k9t33n

192.168.1.[something]

martzitgrt

Ok

martzitgrt


martzitgrt

Now what

k9t33n

yes

k9t33n

type in yes

martzitgrt

And what is fingerprint

martzitgrt

?

k9t33n

just a security measure

k9t33n

it will only do it the first time

martzitgrt

Ok

k9t33n

like the fingerprint is used to identify the pi

martzitgrt

And do i need to put it?

martzitgrt

Or just yes

k9t33n

and if that changes or you get a new pi you would do that again so windows knows what you ssh-ing into

k9t33n

just type in yes

martzitgrt

Ok

martzitgrt

Done

k9t33n

great

k9t33n

done with ssh

k9t33n

now then. on to with pihole?

martzitgrt

Ok

martzitgrt


k9t33n

is this the network you have pihole in?

k9t33n

uh unstable connection

martzitgrt

Yea

martzitgrt

??

k9t33n

press the up arrow key and run the command again

martzitgrt

Done

martzitgrt

I put the password also

martzitgrt

Look

k9t33n

yes

k9t33n

it would be invisible i know

k9t33n

thats standard

martzitgrt

Yeah

martzitgrt

Yea

martzitgrt


martzitgrt

Now?

martzitgrt

Now what?

k9t33n

woah theyre your goin fast

martzitgrt

Ok?

martzitgrt

Now?

k9t33n

first you need to set up a static ip address because right now that one changes every now and then and your router needs to always know which one your pi is

martzitgrt

I dont understand the guide

martzitgrt

Plz help

k9t33n

lol

martzitgrt

Tell me exactly what command i run

martzitgrt

Im a dummie

k9t33n

run these 3 and show me the output

k9t33n

ip a

k9t33n

route -n

martzitgrt

Omfg

k9t33n

nmcli device show | grep 'IP4.DNS'

martzitgrt


k9t33n

YEP

k9t33n

sorry caps

k9t33n

yep

martzitgrt

?

k9t33n

next one

martzitgrt

How do i do | on keyboard

martzitgrt

What

martzitgrt

Wait

martzitgrt

Wait*

k9t33n

you can just copy and paste

martzitgrt

I dont have discord on pc

martzitgrt

Also u did it all in one msg

k9t33n

but do ctrl + shift + v to paste in the terminal btw

k9t33n

yeah

k9t33n

im on a british keyboard

martzitgrt

Or just right click

k9t33n

for me its next to shift

martzitgrt

Yea me too

martzitgrt

Tyy

k9t33n

np

martzitgrt

Doen

martzitgrt

Done

martzitgrt

All that

k9t33n

noted all the output down?

martzitgrt

No

martzitgrt

But have pictures

k9t33n

ok good

k9t33n

are you going to be using this ethernet connection from now on?

martzitgrt

Yea ig

martzitgrt

Or

martzitgrt

Does rpi 3 have wifi without ethernet

k9t33n

then run sudo nmcli con show and copy the first option thats a scramble of letters next to "eth0"

k9t33n

yes it does but ethernet is faster which is better for pihole

k9t33n

wrong pic

martzitgrt


martzitgrt

Yea

k9t33n

that top one that starts with c2117

k9t33n

copy that for later

k9t33n

then adapt this and run it
sudo nmcli con mod <UUID> ipv4.addresses <Static IP>/<Subnet mask>
sudo nmcli con mod <UUID> ipv4.gateway <IP to gateway>
sudo nmcli con mod <UUID> ipv4.dns "<IP to DNS server>"
sudo nmcli con mod <UUID> ipv4.method manual

sudo nmcli con up <UUID>

k9t33n

UUID is the scramble of letters

k9t33n

oh wait

k9t33n

we need to do something else first almost forgot

martzitgrt

Ok

k9t33n

we need to access that router

martzitgrt

Ok

k9t33n

you need to get the username and password for the router config to be able to see the ip scope

martzitgrt

?

k9t33n

the ip scope is the ranges of ips that your router gives out, we want the static ip to be out of this scope to not mess anything up

k9t33n

if your ip is the same as another device neither device will get internet

martzitgrt

Ok

martzitgrt

So

martzitgrt

What??

martzitgrt

<@1071178789939331253>

k9t33n

got access to the router config?

martzitgrt

?

k9t33n

this

k9t33n

you need to get past that

martzitgrt

How?

k9t33n

ask a family member the details

k9t33n

the password and stuff

k9t33n

might actually be on the back of the router

martzitgrt

Ok

martzitgrt

Done

martzitgrt

On the back

k9t33n

good

martzitgrt

Now what?

k9t33n

give me one secondo

k9t33n

unfortunately this varies widly from router brand to router brand

k9t33n

in my its in "my network" --> "ipv4 configuration" --> "server address range"

k9t33n

find something similar to scope, address range, ip range etc

k9t33n

and it should look like this

martzitgrt


k9t33n

no im guessing it would be in config file

martzitgrt

Lol

martzitgrt


thunder07337

Can't you choose anything else?

martzitgrt

I dunno what to choose

k9t33n

i cant really tell you, you have to search it all really

k9t33n

its annoyingly difficult to give you a step by step guide

k9t33n

so i cant

martzitgrt

Ok sorry

martzitgrt

Ill search

martzitgrt

But what do i need

martzitgrt

?

thunder07337

In any case, keep your hands off the password. Press LAN at the top.

k9t33n

its alright dont be sorry

k9t33n

yes

martzitgrt

Ok

martzitgrt

Did it

martzitgrt

Dhcp static ip config

martzitgrt

Orrr

k9t33n

yes

k9t33n

choose that

martzitgrt

Dhcp server config

martzitgrt

Ok

k9t33n

uh

k9t33n

actuallly dont choose that

martzitgrt

Erm ok

k9t33n

uhm, well since were doing it our way anyway we dont have to use the built in way

thunder07337

Slow down and show us what you see.

martzitgrt


k9t33n

there we go thats it

k9t33n

start ip and end ip

k9t33n

in your fing output whats the highest any of the the ips reach?

k9t33n

the end number

k9t33n

because right now your scope is too big, we need to make it smaller so your static ip can fit in. but i dont want to make it too small that it kills internet to some of your devices

k9t33n

so as long as none of the devices ending numbers in the ip are above 199 then were fine

thunder07337

192.168.100.253 would be enough, the Pi only needs 1 IP...

martzitgrt

So what do i do

k9t33n

fair, i was thinking to get an even and rounded number but it doesnt matter

martzitgrt

??

k9t33n

.

thunder07337

Change 192.168.100.254 to 192.168.100.253 and save

martzitgrt

?????

k9t33n

nevermind forget it we can probably take the chance

k9t33n

this

martzitgrt

61 i think

k9t33n

yeah yours fills up normally, my router fills up randomly its annoying

k9t33n

anyway

k9t33n

do what thunder said

martzitgrt

Ok

martzitgrt

Done

martzitgrt

Now?

k9t33n

now you go ahead with this

k9t33n

so UUID is the scramble of letters

k9t33n

for static ip you put 192.168.100.253, subnet mask is 24. and youve got the rest

martzitgrt

Ok

k9t33n

havent given me the pictures for the rest

martzitgrt

How do i get the rest???

k9t33n

you have pictures for them

k9t33n

the other two commands

thunder07337

No 192.168.100.254 253 ist last of range 😉

k9t33n

but 254 i think is the router

k9t33n

also thats where i was confused

thunder07337

No 1 ist Router

k9t33n

wait am i making that up <@1026818953617612851> or is 254 the router?

k9t33n

oop just saw

k9t33n

yeah sorry my mistake

k9t33n

thunder's right

martzitgrt

I thought the router was 1

k9t33n

yeah it is

martzitgrt

Ok

k9t33n

so change your static ip to 192.168.100.254

martzitgrt

Ok

martzitgrt

Wait

martzitgrt

i cant

martzitgrt

I changed the end ip to 253

martzitgrt

And if i go to static ip config

martzitgrt

It looks like this

martzitgrt


martzitgrt

And idk what MAC address to put here

k9t33n

it would be your pis

k9t33n

any time i do this in my router it doesnt work so i dont have the best of experience with this which is why i said i would do it our way

k9t33n

your choice, this is probably easier

k9t33n

but its the same as last time, we cant help you much with this because our routers are widly different

martzitgrt

Done

k9t33n

with the router?

martzitgrt

Ig?

martzitgrt


k9t33n

did you set the ip with the router or commands?

martzitgrt

???

k9t33n

what did you just do?

k9t33n

ok this is with the router

martzitgrt

What u told me

martzitgrt

Ok

k9t33n

run this in your pi sudo nmcli con up <UUID>

martzitgrt

Done

k9t33n

okay now run hostname -I and show me the output

martzitgrt

192.168.100.61 2a02:2f05:f203:6a00:8203:7cb3:fc:2ba5

k9t33n

that wouldnt usually include the last bit

k9t33n

uh this is why i dont use the router for static ips

k9t33n

okay you have to do it the cli way

martzitgrt

???

k9t33n

sudo nmcli con mod <UUID> ipv4.addresses <Static IP>/<Subnet mask>
sudo nmcli con mod <UUID> ipv4.gateway <IP to gateway>
sudo nmcli con mod <UUID> ipv4.dns "<IP to DNS server>"
sudo nmcli con mod <UUID> ipv4.method manual

sudo nmcli con up <UUID>

martzitgrt

Can u complete it with the things plz

martzitgrt

All i know is that the uuid is

martzitgrt

c2117d8f-567a-3e95-8657-e392e1929766

k9t33n

sure im in a leniant mood

k9t33n

i would usually say i dont want to spoonfood but you got me on the lucky side

martzitgrt

Ok ty

martzitgrt

Sorry im a lazy piece of shit

martzitgrt

And also im new to rpis

k9t33n

sudo nmcli con mod c2117d8f-567a-3e95-8657-e392e1929766 ipv4.addresses 192.168.100.254/24
sudo nmcli con mod c2117d8f-567a-3e95-8657-e392e1929766 ipv4.gateway 192.168.100.1
sudo nmcli con mod c2117d8f-567a-3e95-8657-e392e1929766 ipv4.dns "192.1168.100.1"
sudo nmcli con mod c2117d8f-567a-3e95-8657-e392e1929766 ipv4.method manual

sudo nmcli con up c2117d8f-567a-3e95-8657-e392e1929766

k9t33n

wait actually whats the output of the last pic?

martzitgrt

?

thunder07337

Then let's hope that changes, running a server is a lot of work. You don't set it up and forget about it, it needs regular maintenance!

martzitgrt

??

martzitgrt

ok

k9t33n

whats the output of nmcli device show | grep 'IP4.DNS'

k9t33n

well said which is usually why i leave this bit up to them

martzitgrt

IP4.DNS[1]: 192.168.100.1

k9t33n

yah thought so

martzitgrt

this is a server? i thought pihole is smth that blocks ads

k9t33n

this is ready then. just gl typing it all in

k9t33n

id put it in a pastebin

k9t33n

its both

k9t33n

its a server that blocks ads

thunder07337

Yes, and yet it is a server, a DNS server!

martzitgrt

Aaaaaa

martzitgrt

Ok

martzitgrt


k9t33n

now run hostname -I

martzitgrt

192.168.100.61 2a02:2f05:f203:6a00:8203:7cb3:fc:2ba5

k9t33n

confusing

k9t33n

what about ip a?

martzitgrt

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host noprefixroute valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether b8:27:eb:b4:32:de brd ff:ff:ff:ff:ff:ff inet 192.168.100.61/24 brd 192.168.100.255 scope global dynamic noprefixroute eth0 valid_lft 258570sec preferred_lft 258570sec inet6 2a02:2f05:f203:6a00:8203:7cb3:fc:2ba5/64 scope global noprefixroute valid_lft forever preferred_lft forever inet6 fe80::8f0e:6c9e:c7a6:49c6/64 scope link noprefixroute valid_lft forever preferred_lft forever 3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000 link/ether b8:27:eb:e1:67:8b brd ff:ff:ff:ff:ff:ff

k9t33n

one lines messed up

k9t33n

sudo con mod up and the gateway is on the same line

k9t33n

i gtg cya

martzitgrt

so these are separate

martzitgrt

bye

martzitgrt

i hope <@1187039958561726494> will help me at least

martzitgrt

<@1071178789939331253> and <@1187039958561726494> please write here when u can. Thanks a lot! I am going to bed now but i will see the messages tomorrow

thunder07337

I can't help you with pihole. I have never set it up myself.

martzitgrt

Ok

k9t33n

yes they are on different lines

martzitgrt

Ok

martzitgrt

I did it

martzitgrt

I put them

martzitgrt

Now what?

martzitgrt

<@1071178789939331253> ?

k9t33n

What did hostname -I say?

martzitgrt

wait

martzitgrt

problem

k9t33n

Yes?

martzitgrt


k9t33n

I'm going to have to go to school soon btw and probably won't be able to help you for the rest of the week since it's exam week

martzitgrt

:(((((((((((((((

martzitgrt

and what do i do?

k9t33n

Okay no problem that's expected kinda

k9t33n

Try to ssh again

martzitgrt

so ssh and?

k9t33n

hostname -I

martzitgrt

nopooo

martzitgrt

ssh...

martzitgrt

the rest

k9t33n

If that says 192.168.100.254 then you've successfully set a static IP

k9t33n

And we can do pihole

k9t33n

But unfortunately gtg rn

martzitgrt

nooo tell me the full command plzz

martzitgrt

figured it out

martzitgrt

yessssssssssssssssssssssssssssssssssss

martzitgrt

it said this but the first is correct

martzitgrt


martzitgrt

So now we can do pihole right?

martzitgrt

oh shit

martzitgrt

do i have to have a supported os on my laptop or my pi?

martzitgrt

so i ran curl -sSL https://install.pi-hole.net | bash from the pihole website

martzitgrt

It works i think

martzitgrt

The installer started

martzitgrt

oh shit

martzitgrt

do i select eth0 or wlan0

thunder07337

You need to become a little more independent. What do you think eth0 is and what is wlan0?

martzitgrt

Etho ethernet and wlan like wireless?

martzitgrt

Am i right <@1187039958561726494> ?

martzitgrt

<@1187039958561726494>

thunder07337

Yes

martzitgrt

so wlan for me

martzitgrt

whats a dns provider

martzitgrt

like who made my router or?

martzitgrt

<@1187039958561726494> ????

thunder07337

Please don't keep pinging me, I'm at work! How did you get WLAN? In your previous screenshots you can see that your Pi is connected via LAN!

martzitgrt

??

martzitgrt

lan is ethernet?

thunder07337

Yes

martzitgrt

so i had to pick eth0 instead of wlan0

martzitgrt

?

martzitgrt

?

thunder07337

Yes

martzitgrt

ok

martzitgrt

can u guide me through plz

martzitgrt

like help me w questions

martzitgrt

whats a dns provider

martzitgrt

??

martzitgrt

whats my dns provider

thunder07337

DNS = Domain Name Server When you call up a website, the computer always checks itself first to see if it can find it there. If it cannot find it on its own, it sends the request to the network. You entered the IP of your DNS provider several times yesterday! So look at your screenshots again, you'll find it there.

martzitgrt

ok

martzitgrt

lemme search

martzitgrt

So its 192.1168.100.1?

thunder07337

Yes

martzitgrt

but it isnt there

martzitgrt

it says

martzitgrt


martzitgrt

custom?

thunder07337

Yes, you should have come along beforehand... If you only ever give me half information, you'll get the wrong answers! Your Pi is supposed to serve as a DNS server in your network, but if it can't find what you've requested, it has to pass on the request. For this you need the upstream DNS. You have to find out for yourself which one to choose! One is more secure than the other, one collects data and the other does not. But you have to find out for yourself!

martzitgrt

D:

martzitgrt

can you please help me D:

martzitgrt

i did some quick reasearch and i think i wanna choose google right? cuz this is where the web request will be forwarded if its not blacklisted right?

martzitgrt

?????

thunder07337

As already mentioned, you have to decide for yourself! And as I have already explained, requests that are not found on the Pi are forwarded there. And please stop with the 100 question marks. As I've already told you, I'm working and don't always have time to answer!!!

martzitgrt

ok

martzitgrt

sorry

martzitgrt

i need help again

martzitgrt

whats admin web interface

martzitgrt

?

thunder07337

This is the surface for setting the Pi Hole.

martzitgrt

ooohh ok

martzitgrt

i said yes and now it asks me dis

martzitgrt

Yes right?

martzitgrt


martzitgrt

i said yes

martzitgrt

enable query logging

martzitgrt

Done. Thank you thunder and k9t33n for everything. If i have further questions i will ask here or in general! Thanks again!

k9t33n

No problem

martzitgrt

<@1071178789939331253> can you answer these questions for me plz when u have time?

martzitgrt

Why are some websites blocked and how do i fix that?

martzitgrt

(Example:reddit.com)

k9t33n

That might be because it's on your blacklist

k9t33n

One second

martzitgrt

Can i plug Ethernet/ power supply out or will it mess it up?

martzitgrt

ok but ive whitelisted the domain and didnt work

k9t33n

Go to http://192.168.100.254/admin/login.php

k9t33n

Then check the logs

k9t33n

See if Reddit.com is on there and see if it's accepted it or not

k9t33n

I find it strange that it's blocked for you since it's not for me and you haven't added anything else on the blacklist have you?

martzitgrt

Ive added googlead something

k9t33n

Yeah okay

k9t33n

Now you need to update your gravity

k9t33n

Open tools then update gravity

martzitgrt

<@1071178789939331253> u online rn? Can u help me step by step?

k9t33n

ill take screenshots

k9t33n

look for this

k9t33n

then press the giant update button

martzitgrt

Done

martzitgrt

I updated it

martzitgrt

but some sites

martzitgrt

and reddit app still dont work

martzitgrt

reddit app works

martzitgrt

websites work ty very much <@1071178789939331253>

martzitgrt

also if i have any questions further i can ask u right?

martzitgrt

ty?

k9t33n

Yes

martzitgrt

ty

martzitgrt

can u help me make a pwnagotchi?

martzitgrt

+do u wanna?

martzitgrt

<@1071178789939331253>

k9t33n

No

k9t33n

I'm not knowledgeable in that area

martzitgrt

ok

k9t33n

Plus I wouldnt help with that

martzitgrt

do u have other ideas for rpi 3b/2b/4b?

k9t33n

Another project?

martzitgrt

ok, i get why u wouldnt wanna help (i assure you that i will use it for legal purpouses like testing my network) but i understand

martzitgrt

sure y not?

k9t33n

Try a self hosted vpn

martzitgrt

sure

martzitgrt

wanna do it togheter

martzitgrt

togetjhetr

martzitgrt

together

martzitgrt

?

martzitgrt

<@1071178789939331253> ?

k9t33n

not rn im trying to get windows

martzitgrt

ok

k9t33n

so i can dual boot for games

k9t33n

but research pivpn

martzitgrt

ok

martzitgrt

<@1071178789939331253> ?

k9t33n

If your pi goes offline you wont have internet

k9t33n

Also run sudo poweroff before you unplug the power supply otherwise your SD card will be messed up and you'll most likely have to do everything again

martzitgrt

okk

martzitgrt

how do i ssh into it again?

k9t33n

ssh [username]@[ip]

martzitgrt

a ok

martzitgrt

i installed 32 bit raspbeerrry pi os on mmy pi 3

martzitgrt

and now

martzitgrt

i put it in psu

martzitgrt

and it doessnt show up on fing

martzitgrt

what do i do <@1071178789939331253>

k9t33n

Why have you reflashed it?

martzitgrt

??

martzitgrt

i did it on another one

k9t33n

Ohh

k9t33n

You put in the WiFi details?

martzitgrt

yup

k9t33n

Try a ethernet cable

martzitgrt

i dont have one

k9t33n

Okay

k9t33n

I can't help currently

k9t33n

I'll try later

martzitgrt

i just had the one i used for pihole

martzitgrt

ok sorry

k9t33n

It's alright

martzitgrt

<@1071178789939331253> if i ssh into the pi hole can i do the command on their website to download it again but this time without ethernet? my family is annoyed w me cuz of that cable across the living room :))

martzitgrt

or will it not work?

k9t33n

On which website??

martzitgrt

pi hole s website

k9t33n

Yeah

martzitgrt

so it will work?

k9t33n

Which command?

k9t33n

I don't get what your saying

martzitgrt

curl -sSL https://install.pi-hole.net | bash

martzitgrt

this

k9t33n

You want to just make it so your using WiFi not ethernet?

martzitgrt

yes

k9t33n

Yeah you can do this is ssh but it wouldnt do anything, and you can't do this on the website

martzitgrt

???

martzitgrt

last time it worked

k9t33n

Okay well you set up the WiFi credentials in the imager before last I remember so just unplug the ethernet and it should be good

martzitgrt

thats how i installed pi hole on my pi

k9t33n

Yeah but you don't need to do it

martzitgrt

when i did the config of the pi hole it asks u wlan0 or eth0 and i picked eth0

martzitgrt

cuz thats what thunder told me

k9t33n

Because of your static IP you should just be able to unplug ethernet and thats it after a reboot

martzitgrt

ok

k9t33n

Ohh yeah forgot about that

k9t33n

Yeah run it again sorry

martzitgrt

how do i reboot it after i unplug

martzitgrt

????

martzitgrt

?

k9t33n

I haven't used the normal installer in a good bit

k9t33n

Just turn it off and then plug the power supply back in

martzitgrt

then hoow did u do it

martzitgrt

so sudo poweroff

martzitgrt

?

k9t33n

Run the curl command again and select wlan this time, sorry I forgot about that part.

k9t33n

Yeah

martzitgrt

ok

martzitgrt

can u help me if i get stuck plz

martzitgrt

poh shit gttg

k9t33n

Okay I'll try but I'm about to go to school

thunder07337

Even if it may sound hard, you should learn more basics (computer, network, Linux)... The Ethernet (LAN) is only the connection to the network/Internet. A program that you have downloaded and installed once does not have to be downloaded again just because you switch from LAN to WLAN.

martzitgrt

ok, then tell me how do i switch plz

martzitgrt

im new to this all

martzitgrt

i just got them from a family member

martzitgrt

my pis

thunder07337

Open Google and enter the following in the search box: Pihole Chance interface And no, I'm not going to spoon feed you! You have to learn to find solutions on your own!

martzitgrt

ok i get it with spoon feeding

martzitgrt

ty

martzitgrt

i found a reddit post

martzitgrt

ty for ur help thunder

martzitgrt

i will try to learn computer network linux...

martzitgrt

also question

martzitgrt

actually no

martzitgrt

actually yes

martzitgrt

cause i cant find the answer

martzitgrt

so i go sudo poweroff

martzitgrt

and now

martzitgrt

how do i power it back on?

martzitgrt

cause i plugged it in again

martzitgrt

and now

martzitgrt

its there on fing

martzitgrt

with the same ip and everything

martzitgrt

and i cant ssh into it because

martzitgrt

ssh: connect to host 192.168.100.61 port 22: Connection timed out

thunder07337

Of course you can't SSH with this IP, you changed the IP...

martzitgrt

when?

martzitgrt

<@1187039958561726494> i thought i set the static ip for the pi to 192.168.100.61

martzitgrt

and on fing it says that it is

martzitgrt

192.168.100.61

thunder07337

We are still at the Pi that has pihole on it?

martzitgrt

yes

martzitgrt

the other one didnt quite work

martzitgrt

i think it didnt connect to the internet

martzitgrt

so i needed the ethernet cable for that one

martzitgrt

so i wanted to switch to wlan

martzitgrt

and i did

martzitgrt

with a reddit post

martzitgrt

then sudo power off

martzitgrt

unplug

martzitgrt

plug

martzitgrt

and now i cant ssh into it again

martzitgrt

<@1187039958561726494> do u have any ideas

thunder07337

can you please stop writing everything in single lines, it's really annoying... And please stop pinging! You set up the OS without WiFi, right? So you didn't fill in the WiFi part in the imager?

martzitgrt

sorry for one line and ping

martzitgrt

i filled it in

thunder07337

What exactly are you doing right now? Without such information there will only be misunderstandings!

martzitgrt

I filled in the wifi part in the imager.

thunder07337

you reinstall the OS?

martzitgrt

no

martzitgrt

at the beginning

martzitgrt

i followed <@1071178789939331253> s guide

thunder07337

What's the point of entering the WiFi data in the imager if you don't reinstall the OS?

martzitgrt

?

thunder07337

The imager writes the data to the SD card with the OS. So if you do not reinstall the OS, the data you enter in the imager will not be transferred to the Pi...

martzitgrt

wdym reinstall the os?

thunder07337

You open the imager, you select your model, you select the medium, you enter the data and let the imager do its work. This is called installation. However, if there is already an OS on the medium, this is called reinstalling.

martzitgrt

Ok

martzitgrt

So i have to reinstall my OS? Why tho?

thunder07337

You said yourself earlier that you enter the WiFi data in the imager... But how should the data be transferred from the imager to the Pi when you don't reinstall the OS?

martzitgrt

??????

thunder07337

Did you manage to switch the pihole to WiFi?

martzitgrt

No

thunder07337

But you have entered the WiFi data in the imager, haven't you?

martzitgrt

Yes i have

thunder07337

And then you pressed save and confirmed with yes? Was the SD card in the SD card reader at that time?

martzitgrt

yes

martzitgrt

i did it at the beggining

thunder07337

Then all you have to do is disconnect the LAN cable and it should connect to the WiFi. However, your router may not let the Pi in. Some routers have the setting not to let new devices in, even if they know the password. By the way, you also had the DHCP IP reservation switched on, you should switch it off/remove it again. You have already been told that pihole needs an IP outside the DHCP range. However, the reservation you have made only applies to IPs within the DHCP range. And exactly this setting can lead to problems... Oh yes, and of course you have to set the WLAN interface in the Pi in the same way as you previously set the Ethernet interface.

martzitgrt

I don't understand a thing, my only problem was with ssh, if i open up fing it finds the pihole perfectly but for some reason I can't ssh into the pihole anymore using my laptop.

martzitgrt

also some random sites/games/apps are blocked by pihole i think cuz if i turn my internet off they work

thunder07337

If you switch off the internet, no website or app or game will work 🙄 No sorry, I can't help anymore

martzitgrt

mobile data exists

thunder07337

For Games 🫣 It would be easier to deactivate or uninstall the pihole instead of leaving it running with the wrong settings... But well, you must know

martzitgrt

?

thunder07337

What exactly does your "?" refer to? I cannot answer questions that have not been asked. I can't see or read minds either...

martzitgrt

what must i know?

martzitgrt

also

martzitgrt

how do i change the settings??

thunder07337

In the web interface... But I don't know what exactly. As I said, I've never used pihole myself. But if sites, games, apps are blocked, it's because of incorrect settings! You just have to google for yourself what and how to set it there! Start reading the program's documentation. https://docs.pi-hole.net/

martzitgrt

ok sorry

justaccsolol

It should be pi's IP/admin

martzitgrt

thanks mr smartypants

martzitgrt

i alr tried

k9t33n

We aren't gonna help you being talked to like this. This is the reason I've been avoiding this thread recently

e_xie

He's gonna respond with another ?