Having probles with putty

April 28, 2024, 03:45

masimooo

masimooo

Just installed putty

masimooo

my folder

masimooo


masimooo

And when I ry o type in rasbery pi local

masimooo


masimooo

and open

masimooo


masimooo

have conected a ethernet cable

masimooo

and then whent to see wich is the problem

masimooo

and how to fix it

masimooo

but really have no idea

masimooo

i also have the hdmi to mini hdmi cable if it helpes

masimooo

@help apriciated

masimooo

i think i found the problem

masimooo

my ssh is txt

masimooo

but every time I try to make a non txt

masimooo

it is a txt

masimooo

no fixed that still does not work

masimooo

seeems fine to me

masimooo


masimooo

a couple of solutions mention updating the

masimooo


masimooo

RNDIS driver but I dont have them

thunder07337

Leave out the local and try it with raspberrypi only. If that doesn't work either, try using the IP address.

thunder07337

By the way, a little tip: install the OS with the Raspberry Pi Imager, then you can set the username and password as well as the server name yourself and set the WLAN connection if you want to use it.

masimooo

works I think

masimooo

but why?

masimooo


masimooo

huh

masimooo

whent i type.location

thunder07337

I have no idea why everyone always works with .local. In the router, the Pi is always only displayed with the name before the .local. And when I look at /etc/hosts and /etc/hostname it always shows the name before the .local but never name.local. So I have no idea why so many people use this and it seems to work for them but not for others.

k9t33n

i think ive recognised a pattern

k9t33n

i can only use the ip when the fingerprint is new

k9t33n

but then after that i can use hostname.local

k9t33n

thats with linux mint

thunder07337

I have never used .local, always just the server name and it has always worked even when it was new to the network... I think the .local is a relic from the old days...

k9t33n

maybe

k9t33n

i cant use my hostname without it

thunder07337

Ah no, the .local is for access via a web browser if the server is in the same network.

thunder07337


k9t33n

yep
kameron@kam-lapt:~$ ssh pi5.local
kameron@pi5.local's password: 
Linux pi5 6.6.20+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.20-1+rpt1 (2024-03-07) aarch64

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: Sun Apr 28 15:04:05 2024 from 192.168.1.210
kameron@pi5:~ $ exit
logout
Connection to pi5.local closed.
kameron@kam-lapt:~$ ssh pi5
ssh: Could not resolve hostname pi5: Name or service not known

masimooo

hhm

masimooo

having problems with my SD😭

k9t33n

Yeah they are crappy that's why I upgraded to a SSD on my server

masimooo

Can I use a USB

masimooo

will try

masimooo

just flashed and aded the ssh file

masimooo

following this guide

masimooo

.

masimooo

<@1071178789939331253> do I add my usb inyo yhr black or blue ports

masimooo

wait whattttt

masimooo


masimooo

I am dying slowly

thunder07337

Just leave out the .local or use the IP instead of the server name.

k9t33n

which pi again?

k9t33n

you dont need to do that anymore with the imager

masimooo

5

masimooo

How do i know the ip😅

k9t33n

from your router config or with fing

k9t33n

or angry ip scanner

masimooo

huh?

k9t33n

you dont need to add the ssh file you can just turn the setting on with the imager

masimooo

oh so the ssh file is pointless

k9t33n

no its just another way of doing things

k9t33n

more difficult though imo

masimooo

I just deleted all that i donwalded so i could start from schrach

masimooo

Let me get to where I was😁

masimooo

<@1071178789939331253>

masimooo

should i extract this file

masimooo


k9t33n

Btw just like to mention this article is kinda lying, it's not a monitor it's a virtual desktop service.

k9t33n

No need

k9t33n

Your doing things the old fashioned way it seems

masimooo

Would you reccomend a better way?

k9t33n

If you would prefer that way I can help you but there is a easier better way

masimooo

I whant the easier😅

masimooo

Let me try it

masimooo

Can you help me chose the best os for me

masimooo


k9t33n

Depends on your usecase

masimooo

usecase?

k9t33n

Beginner? Choose the top one raspberry pi os 64 bit.

k9t33n

I use lite os because its more efficient but that doesn't give you gui and isn't as intuitive for beginners

masimooo


k9t33n

Yeah and then change the settings

masimooo


masimooo

oh yea the guide

masimooo

can I change the Lan later

masimooo

I think that is the internet

k9t33n

Yeah but you cant use vnc (what the original guide) is trying to get you to use or putty without it because you won't have internet

k9t33n

Or you can use a ethernet cable

masimooo

So if my laptop has internet and I conect my laptop to rasbery with etheret it will work?

masimooo

Is this good?

masimooo

Dont wanna mess it up🤣

k9t33n

Yeah sure but what are you planning to do with this pi? Why not just plug it into the router

k9t33n

Trying to connect to a hotspot?

masimooo

Oh yea me stupid🤣

masimooo

Yep atm out of the county so using hotspot

masimooo

Will conect to ethernet once i have my router

masimooo

And is this good😅

k9t33n

Okay

k9t33n

Should be but if you have an ethernet cable it'd be much easier just to plug that into your laptop

k9t33n

Hotspots and pis don't play too well together

masimooo

I hope this will work

masimooo


masimooo

is this normal

masimooo

it is writing atm

k9t33n

Haven't actually seen that before

masimooo

Lets hope it was because i tried opening the usb while writing

k9t33n

That's fine

masimooo

Btw I owe you one

k9t33n

It's alright

k9t33n

I all want is for all of you to become even more knowledgeable than me. Then you can pass it on

masimooo

DOne what now

k9t33n

Wdym?

masimooo

How do I use it😅

masimooo

Put it into my pi5

masimooo

and how to project it on my laptop

masimooo

<@1071178789939331253>

k9t33n

SD card in pi and ethernet in laptop and pi

k9t33n

And the power supply too

masimooo

Used USB hope it is ok

masimooo

done

k9t33n

Yes it is

masimooo

What now?

masimooo

😅

k9t33n

Everything plugged in?

masimooo

yep

k9t33n

You can try putty with the hostname

masimooo

dont understsand

masimooo

trying to use my laptop screen for rasberry pi

masimooo

but all is still normal

masimooo

<@1071178789939331253> you here sory for pinging you so much

k9t33n

I'll attempt to help you once I get back from school if I have time

k9t33n

But exam week just started to you'll be lucky if I do

masimooo

Hey whenever you can is ok😁

masimooo

but during the weekend would be nice if posible😅

k9t33n

Yeah I can do

oops.se

When you created the SD card with Imager you entered a hostname, check your pictures you have posted earlier.