New Method to Setup Raspberry Pi Without Keyboard or Mouse (Headless)
ฝัง
- เผยแพร่เมื่อ 27 มิ.ย. 2024
- Raspberry Pi 4 👉 amzn.to/3Ok20lR
The new way to setup your Raspberry Pi device without any keyboard or mouse (headless). This video will step you through the exact process to format your Micro SD card and install the Raspbian operating system as well as booting up and configuring your Raspberry PI. We will also walk through how to connect to your device over SSH and VNC Remote Desktop.
Outline
Download RPI Imager 0:00 - 1:51
Insert Micro SD Card into Computer 1:51 - 3:06
Flash Raspbian to SD Card 3:06 - 3:50
Enable SSH and WIFI 3:50 - 5:00
Insert Micro SD into Raspberry Pi 5:00 - 5:15
Power On Raspberry Pi 5:15 - 5:38
Verify RPI is Connected to WIFI Network 5:38 - 7:45
Connect Over SSH 7:45 - 9:04
Update RPI OS 9:04 - 9:56
Modify Default Settings 9:56 - 11:40
Reboot the RPI 11:40 - 12:23
SSH into Raspberry Pi 12:23 - 13:25
Connect with Remote Desktop VNC 13:25 - 14:14
Download RealVNC Viewer 14:14 - 17:02
Host Website on RPI 17:02 - 19:25
Raspberry Pi Image
www.raspberrypi.org/software/
Real VNC Viewer
www.realvnc.com/en/connect/do...
Commands
SSH
ssh pi@raspberrypi
Ping
ping raspberrypi
Dig
dig raspberrypi
Update OS
sudo su -
apt-get update
apt-get upgrade
Reboot OS
sudo reboot
Modify Configuration
raspi-config
#raspberrypi #headless
______________________________________________________________________
Subscribe
/ @dataslayermedia
______________________________________________________________________
New Here?
My name is Tim Draper and I live in Boston, MA. I work for a marketing technology startup and love to teach others about emerging technology around artificial intelligence internet of things and google cloud platform.
______________________________________________________________________
Contact
TH-cam: TH-cam comments are by far the best way to get a response from me!
Email: thetimdraper[at]gmail.com
*If you contact me, also drop a comment on a video just letting me know that you reached out.
______________________________________________________________________
Need Help with Something?
I offer micro consulting sessions to quickly solve your problems over a screen share.
calendly.com/session-with-tim - วิทยาศาสตร์และเทคโนโลยี
ive watched SO MANY VIDEOS on how to get this up and running and you're the only person that mentioned the Linux subsystem for windows.. Thank you so much!
Glad I could help!
Great tutorial - had me up and running in no time.
Excellent tutorial, Thank you!! It helped me to install OS on my raspberry pi. SSH option is helpful.
Very clear and useful. Thanks.
love u lots man! i reached the end of the video with no issues
Thank you so much for this tutorial 💯
No problem!!
Super tip with the hidden menu, I didn't know that one :)
There are five billion tutorials on how to configure a Raspberry Pi. They are all the same and BAD ! They assume that everyone already knows everything and only show the configuration, not what to connect and how.
This is the only tutorial on the internet showing everything step by step. From the things you need, through connection, to installation. WELL DONE. THANKS !!!
Great video! Thanks.
Very Very straightforward Tutorial. Thank You so much for this.
thank you so much bro. this worked like a charm on mac.
Thanks man!
Thank you - this helped a lot!!!
here are some annotations which hopefully help some others :)
I had to reboot my raspberrypi to be visible with a devicename in the wifi settings
on Windows you need to generate ssh keys and move the private key into the boot folder of the microSD card otherwise
ssh devicename won't let you in
in case your raspi config is not found it is not installed ( it was not on my raspberry pi os 32-bit) so execute sudo apt-install raspi-config and execute it with sudo raspi-config
in general be careful using sudo as a root, but you will know what you are doing.
vnc viewer worked perfectly well on Windows 10
Thanks
You are a life saver.
No problem.
very good tut!
Wonderful! No bullshit! Thanks for the tutorial!
ooo raspbian flash special features, that lil secret really helps
You're welcome.
Really nice, thanks. I got lucky choosing this video first from the search. I haven't even got my pi yet but this video covered exactly how I want to use it so thanks.
Glad it helped!
thanks for this idea
why am i able to ssh into raspberry on one machine but the other one constantly gives me permission denied when entering raspberry pi password?
same here, would love help on this
I wish you were my teacher in my IT class, you're so good at teaching!
Thank you sir.
kunji eh sappu
Thanks a lor for this great tutorial can you tell me what is the best raspberry pi to buy for my 3d printer
great tuto
grat i love this much simplier and works faster
PING and SSH are available in the current version of Windows 10. SSH may have to be activated via "Turn Windows Features On". PING may be default install.
Oooh that's good to know.
Can this be done on an older pi that doesn’t have Wifi by adding a usb Wifi dongle? Does it need configuration on the initial sd card setup?
are you doing this on linux terminal? can we do the same steps and command with MacOS terminal?
Hello thanks for such an amazing video this is super helpful. Would you know how to download VNC viewer on MAC OS I am struggling to install it since it says corrupt file whenever I try...
good idea
I have question related to this topic. I have rPi 4 on the pole which is in failed state, not responding. I need to boot it up again, but I won't be climbing to reach it physically. I have the IP address, it's in the same network, I can connnect via putty. I have dovnloaded the rPi image and ubuntu image. Is there any way to boot Ubuntu on it remote and headless?
I followed the video and did all the commands you showed and when you did the LS command that was the first hint that you did not have a new install as there was more content in the home directory. The next clue was when I rebooted with VNC enabled it had the error "cannot display desktop". Being new to the Raspberry Pi what would you add to the video so it boots and the GUI can be seen with the VNC connection?
Where did you get the error?
16:52 Could you go through how to do that? (VNC over Windows' Remote Desktop Connection)
Hi, so what if the password - "raspberry", doesn't work, what is the other alternative or how do i go about finding the password
Hi, I followed your instructions on my Mac using the latest imaging package, I can see my raspberry pi zero w on my network but it will not let me ping or ssh into it. Any help or advice would be greatly appreciated.
Edit! I keep getting “Unknown host”
Hi, I am confused on authenticating to VNC am I supposed to create an account or how do I know what user and pass to enter at 15:01? thank you!
VNC credentials are the same as SSH. You do need to download the VNC client (Real VNC Viewer)
SSH and Ping are native to Windows, no need to download Linux Sub System!
Is there a video to show me how to set it up from smart tvs?
Not that I'm aware of but you would just use the HDMI cable to use your tv as monitor by toggling the input/source.
When I connect my Raspberry Pi with ssh it is saying connection reset. What did I made wrong?
FYI, I'm using Window 11 and PowerShell works and rest of tutorial still works
I'm trying to set up my pi but I'm stuck on it connecting to my wifi, should I restart from the beginning
can't you use ssh from powershell? installing WSL just for ssh connection is a bit of an overkill, don't you think? getting putty would much faster.
also the `sudo su -` is not something you want to advise to any user
why not you need sudo to do things
@@veroxsity2336 since it's very bad practice to just run everything with elevated permissions. If you need a specific command to run with elevated permission, use sudo just for that one
As a user from windows and after 3 frustrating hours trying to install debian into a pi3 and seeing I have no sudo command installed , i see this video . Now interesting points about the linux experience : a) The hidden menu Ctrl shift X in raspberry installer why is it hidden ? It might help a person like me be able to get that sudo command ..b) why oh why would debiaan not fit a raspberry pi3 linux distro without sudo command , how can I program my wifi to work to upgrade ? It feels like insane torture . Patience is super low at moment.
I got all the way thru your tutorial but when I got to the point of entering a password I cannot enter anything. Do I absolutely need the Linux for Windows 10? I was able to "ping" the pi and also able to use the "ssh", but it literally will not allow me to type anything for a password. It's like my keyboard has been disabled. Don't understand why. Can you help me please.
Your keyboard does work and no you dont need the subsystem, its just a safety feature to not show what is being typed out :)
@@moonlmg4087please at that point I typed in “raspberry” as the password but it didn’t work
What do you write in the password section when configuring wifi if your network is passwordless?
Leave blank?
as you type the password, it stays blank. So he probably typed raspberry, you just couldn't see it.
you should add configuration of eth0 as not everyone uses wifi.
Good point.
You lowkey look like ryan renolds bro lol... in a good way
my Computer asked me for the public key. what to do?
I’m stuck at inputting the password for the raspberry pi on the terminal,
It is not showing the password while I type and I put in raspberry but it didn’t grant me access
You really should incase your pi to protect it from dust and other things. Besides it will look better in this video.
Done!
I use this method, for at least two years... How its new?
how to do this without an SD card and use the on board storage?
does it have to be sd card
what do i do if it refuses to connect to the wifi. or rather im not seeing any evidence of it.
when i try to download rpi imager it wont let me, says virus detected :(((((
My pi doesn't connect automatically to my wifi network. Any advice?
my raspberry is not conecting to the wifi whatt do i do?
What band are you using? 5ghz or 2.4gzh?
@@DataSlayerMedia i am using raspberry pi o and the wifi band is 2.4gzh
Wen I do ls it doesn't do anything
I think My problem is my router is 5g, so how am I supposed to do this?
You look almost exactly like Ryan Reynolds🤣
cannot resolve raspberrypi: Unknown host this error is coming
I for the life of me can not get pass the ssh password… he says “raspberry” is it but I keep getting denied. Any help ?
Me too! It doesn't work for me
CTRL + SHIFT + X
The problem is that i can not connect raspberry pi to wifi network because there are no keyboard to enter pass of wifi.
thanks spiderman
Great info but that music, just can't stand it anymore!!! 😂
Raspberry Pi is basically Linux in Windows use Cmd ssh or use putty
where's the like button?
Naa I am on windows. I just use Putty. None of this linux rubbish LOL
Clickbait.
"Headless" is as old as the Internet. Get out. Headless is only "new" if you are a total noob.
The "new" part referred to how we set it up using Raspberry Pi imager as opposed to a third party flashing tool like etcher and NOOBS. The headless part just refers to type of setup.
@@DataSlayerMedia Give me a break
@@DataSlayerMedia keep doing what you are doing. You are doing a good job. I know what you mean by "new"
You *DON'T* need: *"sudo su -"* just enter *"sudo apt update && sudo apt upgrade"*
*CLI* is Command Line Interface.
Anyone has the problem with the network adapter and the raspberry pi not appearing?
cannot resolve raspberrypi: Unknown host this error is coming
cannot resolve raspberrypi: Unknown host this error is coming
cannot resolve raspberrypi: Unknown host this error is coming
cannot resolve raspberrypi: Unknown host this error is coming