I intend to connect to the pi using windows remote desktop connection
luke_202
do i need to enable ssh?
k9t33n
yes
luke_202
this will have a gui won't it?
luke_202
i won't just be looking at a terminal?
k9t33n
yes it will
k9t33n
32 bit desktop
luke_202
perfect
luke_202
tnx
luke_202
does the 64 bit not have one?
k9t33n
it does, only the "lite" versions dont have a gui
k9t33n
which is in the section below
k9t33n
i mean headless is the best anyway but dw i wouldnt enforce it on u
luke_202
yea i like gui's lmao
luke_202
i've written all the code for the project on windows already
luke_202
i'm praying it's as simple as transferring my files and connecting the led screen
k9t33n
this is linux, it likes to make you think a little bit more
k9t33n
dont get me wrong i love linux and daily drive it, but when your just getting started headaches are guaranteed
luke_202
yup
k9t33n
it done?
luke_202
nah
luke_202
22%
luke_202
it's slow
luke_202
cheap usb i ran to the store and bought
k9t33n
very slow
k9t33n
what's your sch project btw?
luke_202
Making an embedded system that contributes to wellbeing
luke_202
I’m doing music that helps people sleep and tracks when they sleep based off last input
k9t33n
oh ok
k9t33n
you definitely didn't need to upgrade to the pi 4 then
luke_202
Probably not
luke_202
I was having an issue installing Python libraries
luke_202
Couldn’t install pip because pi2 was pointing to a url that didn’t exist anymore
k9t33n
what was the error?
luke_202
Something with apt
k9t33n
that's not the pi 2s fault
luke_202
Yea probably mine
luke_202
But I don’t know what I’m doing lmao
k9t33n
no
k9t33n
a full update probably wouldve fixed it
luke_202
i went and had a shower came back it's on 49% of verifying
luke_202
hopefully don't need to do this again project will be due at that point
k9t33n
lol
luke_202
ok
luke_202
it's done
luke_202
so i can just
luke_202
plug the hdmi, usb and power into the pi
luke_202
and it'll work?
k9t33n
yes without keyboard too
luke_202
ok
luke_202
does it matter the port for usb?
k9t33n
try the blue ones first because they are faster but some usbs dont support it so if that doesnt work try the grey ones
luke_202
I’m on this now
luke_202
Last time it was on that forever
k9t33n
yeah because thats it loading the gpu which consumes the most power
k9t33n
and thats where it wasnt able to do so
luke_202
ok so i'll just wait a few
k9t33n
tell me if its taking about 2-3 minutes from now
luke_202
i plugged in the wrong cable they're all the same color 💀
luke_202
will it break anything if i unplug it
k9t33n
kinda
k9t33n
just do it anyway, i mean you have no other choice
luke_202
boots
luke_202
i'm on welcome to raspberry pi desktop
luke_202
i'll need the keyboard to get through won't it?
luke_202
the display turned itself off and now is gone back to the color screen
luke_202
<@1071178789939331253> it's been on the color screen for 5 mins
k9t33n
oh ok
k9t33n
weird it does that
luke_202
i took the power out again and put it back in, go tto welcome screen
k9t33n
i think the psu is unstable
luke_202
it ran a bunch of commands in the bottom left now the green led flash is gone on the pi and the screen is turning on and off
k9t33n
yup unstable psu
k9t33n
i dont know what to do tho
k9t33n
wait does it power cycle only when the keyboard is plugged in?
luke_202
keyboard isn't plugged in
k9t33n
oh ok
k9t33n
get a second opinion from one of the mods
k9t33n
<@&818389709134626826> what do you think? i think unstable psu but i dont want them to buy a new one only for the problem to still exist
luke_202
I took the power out again, should I let this run or plug keyboard in and ctrl alt f2?
luke_202
(Ignore dusty monitor took it out of storage from 2 years just for this)
k9t33n
so far weve reformatted and reflashed correctly, tried multiple chargers and this one supposedly has enough power but now its working for a second then kinda power cycling
k9t33n
keep it running
luke_202
Ok
luke_202
I think the issue starts once it finishes
luke_202
It changed screens a few times before it started losing signal
luke_202
On a blank terminal now
luke_202
This is all I see
luke_202
No idea what to do to get off this screen
illegitimate_egg
unstable or overloaded
luke_202
I’m in
luke_202
luke_202
I think/hope
luke_202
On a blank grey screen with a cursor that works
luke_202
So it’s progress
luke_202
I have a Bluetooth keyboard and mouse I’ll set up whichll take weight off the psu
luke_202
It works
luke_202
God bless you K9T33n
k9t33n
power supply overloaded? I mean it apparently supplies 5v 3a
k9t33n
np, sorry I didn't help you on the last bit
illegitimate_egg
I thought it was 2A
k9t33n
old one was I think
illegitimate_egg
nvmd
illegitimate_egg
just sounds unstable then
luke_202
This is the same problem I had with the 2 😦
luke_202
Any fixes for these?
illegitimate_egg
you tried running apt update?
luke_202
I ran sudo apt-get install xrdp
luke_202
Yep
illegitimate_egg
hmm
luke_202
There was a warning wt the end of it tho
luke_202
I’ll run it again
k9t33n
anyway <@883019151327764531> if it happens again it's because the power supply is bad
k9t33n
try a different one
luke_202
luke_202
Hopefully I can avoid it
luke_202
I just need it working for 5 minute video
illegitimate_egg
can you ping a website like raspberrypi.com?
luke_202
Temporary failure in name resolution
illegitimate_egg
yeah
illegitimate_egg
is your pi actually connected to the internet?
lassevk
Considering you're showing photos of your RPI running on a monitor, it means you're not connecting to the RPI over your network. This means that it is entirely possible the RPI is not even properly connected to your local network, at all.
Did you use a WIFI connection? Or did you plug in a network cable?
luke_202
Doesn’t look like iit
luke_202
I see the wifi up in my image
illegitimate_egg
can you run ip a?
lassevk
I would double-check the settings you have for your WIFI connection then. Unfortunately I do not know where to find those settings in X, but from a terminal you can run:
sudo raspi-config
You can then find the WIFI settings under "1 System Options"
luke_202
Probably very dumb to ask but where is the settings 😭
luke_202
illegitimate_egg
that's very interesting
illegitimate_egg
you are actually connected
illegitimate_egg
are you able to ping 8.8.8.8?
lassevk
How do you figure that?
illegitimate_egg
the adapter is up
luke_202
Network is unreachable
lassevk
but it's not showing an ip address
illegitimate_egg
huh
illegitimate_egg
it is
illegitimate_egg
it's ipv6
illegitimate_egg
though
illegitimate_egg
it's weird
illegitimate_egg
it should have an IPv4
illegitimate_egg
and parts of it are down
illegitimate_egg
it's kind of connected
lassevk
on my rpi, "ip a" ,shows:
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
inet 192.168.0.192/24 brd 192.168.0.255 scope global dynamic noprefixroute eth0
valid_lft 69975sec preferred_lft 69975sec
inet6 xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:b06/64 scope global dynamic noprefixroute
valid_lft 1680sec preferred_lft 1680sec
inet6 fe80::1f92:c03:95ba:88c7/64 scope link noprefixroute
valid_lft forever preferred_lft forever
luke_202
I have to go now though and I won’t be on til tomorrow. Will try again then if this channel can stay open
illegitimate_egg
The NO-CARRIER at the start would mean that it's up but still not connected
illegitimate_egg
which feels really strange because it's really hard to force an adapter to be up with no carrier
luke_202
man i'm being trolled frfr
luke_202
i bought a 3A usb-c and it first gave a low voltage now it's stuck on colored screen
luke_202
this is funny it works now
luke_202
plugging keyboard in breaks it 💀
k9t33n
maybe it's something about the keyboard
k9t33n
the keyboard is probably taking too many amps
k9t33n
is it a cheap one maybe with rgb?
k9t33n
that wouldn't usually make the pi unstable but maybe if it's a cheap micro controller in it or something
luke_202
yep
luke_202
do you have any solutions to login via VNC?
k9t33n
yes
luke_202
I have the pi's IP
k9t33n
ssh working?
k9t33n
go in your computers command line and enter ssh <user>@<pis ip>
luke_202
connection timed out
k9t33n
for vnc or SSH?
luke_202
nvm i am actually just being stupid
luke_202
the PI isn't even turned on it crashed cus i tried the keyboard again
k9t33n
oh ok
luke_202
<@1071178789939331253> sry to ping but I managed to login via SSH
luke_202
What can I do to access the GUI remotely?
k9t33n
great
k9t33n
ok first enter sudo raspi-config
k9t33n
then go to interfaces and turn on vnc
luke_202
done
luke_202
what now?
luke_202
oops.se
Remote Desktop is NOT VNC. You need to install a VNC client software
luke_202
good point
luke_202
thank you!
k9t33n
Google vnc viewer
luke_202
I had realvnc installed already
luke_202
last thing(probably)
luke_202
how can I paste files onto it using vnc?
luke_202
i did ctrlc ctrlv didn't work
oops.se
Google file transfers with VNC
k9t33n
I use sftp but that doesn't work well on windows so forget this message
oops.se
I uses SSHFS (SSH File System) and it works verry well in linux and Windows
luke_202
installing xrdp since i have more experience using that
big usb. never seen one of those before but that makes sense
luke_202
The file does not exist it says
luke_202
Do I do the individual directories?
luke_202
Nvm that doesn’t work either
luke_202
k9t33n
interesting
oops.se
DD will wipe your SD card, no need to format.
oops.se
Those commands will not work as the block device is /dev/mmc.... and as you post pictures of text I cant help you with the complete command.
luke_202
Thanks but I think I won’t bother now. Project is due tomorrow but I’ve finally got the Bluetooth keyboard to work so most issues should be solved
luke_202
Praying the program I wrote runs
k9t33n
I highly suggest you to do a test run because I can pretty much guarantee everything that could go wrong will... and more
luke_202
Oh I know
luke_202
But yea I am, biggest issue rn is that it's taking an average of 20mins to boot the pi. which is why i wanted to move os to sd card because the USB is what's slow
luke_202
but i only need it running for 5 mins..
luke_202
so wayvnc was idle using 35% of my cpu that is why it was so slow 💀
luke_202
This shit is genuinely just fucking with me
luke_202
The R key on my Bluetooth keyboard just stopped working
luke_202
Like what
k9t33n
lol
k9t33n
is it that cheap RGB one?
luke_202
no
luke_202
it's one of the good apple ones lmfao
luke_202
but anyway. fine. i'll just keep sshing everything
luke_202
I got my program on and running using winscp
luke_202
just need to connect a bluetooth speaker since apparently I need some kind of adapter for the speakers the teacher gave me
luke_202
unless you know wtf a jst-ph2.0 2pin cable is
k9t33n
never heard of it
luke_202
yea i'll just use a bluetooth one lmao
oops.se
WTF I don't know what that is, JST-PH is a connector type, 2.0 is the spacing between the pins (2.0 mm)
luke_202
Does it plug into a pi without needing anything extra?
oops.se
idk what you ask?
luke_202
I’m tryna plug in into the pi so I can use it but I don’t know where to put it
luke_202
I don’t have time to buy any special adapters is what I mean
oops.se
Ok
luke_202
So can I plug it in?
luke_202
thank you all for the help, project video recorded successfully today(took 4 hours) but we got 4 mins of footage ❤️ ❤️ ❤️ ❤️ ❤️ ❤️