Thanks. This is the best walk-through of headless setup I've seen. I particularly appreciate the points of caution you raise along the way, without tortuous digressions. 💯
I realize this post is months after the vid was released. I have a new pi 5. Is the red led supposed to stay on where there is power? I'm using the ac plugin with USB c. The USB c connection to the pi is lousy. It doesn't take much to come loose. However when I power up, the red light comes on, then goes off. The green light does flash and then stays on steady. I can ping the IP address of the device as shown in my home wifi router app. I cannot ping the hostname, which is default...I cannot successfully run putty or run the ssh command either. Do I have a faulty pi?
Most common reasons: 1. Host name not spelled correctly 2. Not enough time given for the Pi to boot and connect to network 3. Wi-Fi not configured correctly during setup Cycle the power of your Pi and wait full 2 minutes before attempting to connect using correct host name. Reinstall the system if still no luck
I have never tried using the RPi Imager to set up password-less login, as it unclear to me what the Imager would actually do. In the end setting up password-less login would depend on OS used and possibly on software used for remote connection to the Pi. My suggestion is to go for the password-less login setup after you have your Pi working and are able to authenticate using username and password. You may find the following tutorial useful if you are a Windows user and are planning to set up password-less login from plain Command Prompt, ua-cam.com/video/aSr_k6-dxfk/v-deo.html
if i installed the full raspberry pi OS with desktop and UI, will i need to do any extra steps or is it the same thing? and what if i need to use the raspberry pi outside my home, how can i connect it to my laptop then? thanks for the tutorial
Installation procedure is the same for graphical version of the OS. You can configure your Pi with multiple Wi-Fi networks afterwards. If you are a Windows user you can use your laptop's mobile hotspot with your Pi.
thank you for the video ! But i cant ping or access raspberrypi.local. but i can access via raspi local ip address. meaning that hostname doesnt link with the ip. How should I do?
You will need to manually create a wpa_supplicant.conf file and place it on the boot volume of your memory card. I discuss the procedure in another video: ua-cam.com/video/anztLhs4UZc/v-deo.html Here is an example wpa_supplicant.conf network block for an open network: network={ ssid="YOUR-NETWORK-SSID" key_mgmt=NONE }
I would try connecting anyway, but something is probably not right with the memory card. Re-image the OS and try again. Use another memory card if re-imaging does not work.
@@m.heidenreich hey, I don't any access to my router and I am not really sure how the network at my place works as it is shared by many people. I just connect to the WIFI. I get the same problems as the guy from the comment. However, I don't understand how to connect by IP. How can I know the IP of my headless raspberry pi?
I would not recommend connecting your Pi to a network that you do not control - it's not secure/safe. Instead, configure your PC as a mobile hotspot and connect your Pi to that. You will be able to use Putty then.
This may be an issue with your PC - update, reboot and try again. Or use another memory card. Also, try another memory card adapter if you are using one.
Thanks. This is the best walk-through of headless setup I've seen. I particularly appreciate the points of caution you raise along the way, without tortuous digressions. 💯
this helped me so much :) Thanks for the great tutorial
Amazing tutorial ! Thank you so much !
Great video+explanation+presentation! Thank you for sharing! Well done mate - NEW SUB 🙏🏻
thanks for the video, got me up and running!
Great video easy understandable . Last part you did with windows , can I do that with Android also with the help of Termux ??
I realize this post is months after the vid was released. I have a new pi 5. Is the red led supposed to stay on where there is power? I'm using the ac plugin with USB c. The USB c connection to the pi is lousy. It doesn't take much to come loose. However when I power up, the red light comes on, then goes off. The green light does flash and then stays on steady. I can ping the IP address of the device as shown in my home wifi router app. I cannot ping the hostname, which is default...I cannot successfully run putty or run the ssh command either. Do I have a faulty pi?
Flashing power LED usually means insufficient power. Make sure to use a certified Raspberry Pi power supply, which will provide 5.1V at 2A+.
This actually got me unstuck. Thank you!
Excellent detailed instructions.
thank you sir
hello sir i have a doubt, i am unable to connect it with putty, it show host does not exit. please help me
Most common reasons:
1. Host name not spelled correctly
2. Not enough time given for the Pi to boot and connect to network
3. Wi-Fi not configured correctly during setup
Cycle the power of your Pi and wait full 2 minutes before attempting to connect using correct host name. Reinstall the system if still no luck
If I select public key authentication for ssh in the imager settings what's the procedure? It's more secure than password authentication.
I have never tried using the RPi Imager to set up password-less login, as it unclear to me what the Imager would actually do. In the end setting up password-less login would depend on OS used and possibly on software used for remote connection to the Pi.
My suggestion is to go for the password-less login setup after you have your Pi working and are able to authenticate using username and password. You may find the following tutorial useful if you are a Windows user and are planning to set up password-less login from plain Command Prompt,
ua-cam.com/video/aSr_k6-dxfk/v-deo.html
if i installed the full raspberry pi OS with desktop and UI, will i need to do any extra steps or is it the same thing?
and what if i need to use the raspberry pi outside my home, how can i connect it to my laptop then?
thanks for the tutorial
Installation procedure is the same for graphical version of the OS. You can configure your Pi with multiple Wi-Fi networks afterwards. If you are a Windows user you can use your laptop's mobile hotspot with your Pi.
thank you for the video ! But i cant ping or access raspberrypi.local. but i can access via raspi local ip address. meaning that hostname doesnt link with the ip. How should I do?
This is typically a setting issue with your PC. I suggest searching the Web for a solution specific to your operating system.
My SSID has no password. Imager will not let me leave it bllank
How do I get around this?? Thanks. Tom
You will need to manually create a wpa_supplicant.conf file and place it on the boot volume of your memory card. I discuss the procedure in another video:
ua-cam.com/video/anztLhs4UZc/v-deo.html
Here is an example wpa_supplicant.conf network block for an open network:
network={
ssid="YOUR-NETWORK-SSID"
key_mgmt=NONE
}
What about the green led just keep on and doesn't flashing? What's probably wrong??
I would try connecting anyway, but something is probably not right with the memory card. Re-image the OS and try again. Use another memory card if re-imaging does not work.
@@m.heidenreich is it possible if the memory card could read on laptop even samrtphone but not on raspberry??
@@awahrtha4318 It's possible. Try another card and if that one does not work then there may be a problem with the Pi.
i dont get the whole wifi configuration ? do i need to connect it to the same wifi that im using at home and on my laptop ?
That's the idea. Your PC and Raspberry Pi need to be connected to the same network in order to see each other.
can I use MicroSDXC USB instead of the adapter?
Sure, as long as your PC recognizes your memory card as a removable volume, you are good to go.
hello, when i use putty, they tell me that my host doesnt exist and then putty shut down
Check your Wi-Fi router to make sure that your Pi actually connects to your network. If it does, try connecting by IP.
@@m.heidenreich hey, I don't any access to my router and I am not really sure how the network at my place works as it is shared by many people. I just connect to the WIFI. I get the same problems as the guy from the comment. However, I don't understand how to connect by IP. How can I know the IP of my headless raspberry pi?
I would not recommend connecting your Pi to a network that you do not control - it's not secure/safe. Instead, configure your PC as a mobile hotspot and connect your Pi to that. You will be able to use Putty then.
I can not choose storage (it is empty under the option).
This may be an issue with your PC - update, reboot and try again. Or use another memory card. Also, try another memory card adapter if you are using one.
Thankyou
I keep getting Permission Denied, even though my password is correct.😡I'll try reinstalling the image