Headless Raspberry Pi Setup (New Simpler/Easier Method) - Without Monitor, Keyboard/Mouse

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 มิ.ย. 2024
  • ************* October 23, 2023 Update
    Raspberry Pi Imager got a makeover, coinciding with Raspberry 5 release. The menu/interface has changed slightly, but general headless configuration and connection procedure shown in this video is valid, including when working with Raspberry Pi 5.
    Thanks for watching!
    **************************
    This video demonstrates how to setup and connect to Raspberry Pi headless - without monitor, keyboard and mouse attached.
    0:00 Intro
    0:33 Supplies Needed
    0:50 Raspberry Pi Imager Download, Installation and Options
    4:16 Raspberry Pi OS Installation Using Imager
    5:07 Installing microSD Card in a Raspberry Pi
    5:30 Booting Headless Raspberry Pi
    6:31 Connecting Remotely Using Putty
    7:58 Connecting Remotely Using ssh Command in Terminal/Command Prompt
    9:21 Logging Out and Shutting Down the Pi Safely
    9:54 Wrap-Up
    I really enjoy making TH-cam videos and I appreciate that you watch them. Please subscribe and like my videos and I will keep making them. Constructive criticism is always welcome!
    Disclaimer:
    "Raspberry Pi" and the distinct logo are a trademark of Raspberry Pi Foundation.
    Music: ERF By Bensound, www.bensound.com/
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 31

  • @batchrocketproject4720
    @batchrocketproject4720 4 หลายเดือนก่อน +1

    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. 💯

  • @ImnotChuck.
    @ImnotChuck. ปีที่แล้ว

    Excellent detailed instructions.

  • @mrg3dit2002
    @mrg3dit2002 หลายเดือนก่อน

    thanks for the video, got me up and running!

  • @jdiggz7923
    @jdiggz7923 7 หลายเดือนก่อน

    This actually got me unstuck. Thank you!

  • @Vaios1981
    @Vaios1981 3 หลายเดือนก่อน

    thank you sir

  • @Ticks_and_Chaos
    @Ticks_and_Chaos 10 หลายเดือนก่อน

    Thankyou

  • @tumbley1557
    @tumbley1557 7 หลายเดือนก่อน

    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

    • @m.heidenreich
      @m.heidenreich  7 หลายเดือนก่อน +1

      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.

  • @willdwyer6782
    @willdwyer6782 11 หลายเดือนก่อน +1

    If I select public key authentication for ssh in the imager settings what's the procedure? It's more secure than password authentication.

    • @m.heidenreich
      @m.heidenreich  11 หลายเดือนก่อน +1

      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,
      th-cam.com/video/aSr_k6-dxfk/w-d-xo.html

  • @kayriexii
    @kayriexii 6 หลายเดือนก่อน

    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?

    • @m.heidenreich
      @m.heidenreich  6 หลายเดือนก่อน

      This is typically a setting issue with your PC. I suggest searching the Web for a solution specific to your operating system.

  • @tlmooney
    @tlmooney ปีที่แล้ว +1

    My SSID has no password. Imager will not let me leave it bllank
    How do I get around this?? Thanks. Tom

    • @m.heidenreich
      @m.heidenreich  ปีที่แล้ว +1

      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:
      th-cam.com/video/anztLhs4UZc/w-d-xo.html
      Here is an example wpa_supplicant.conf network block for an open network:
      network={
      ssid="YOUR-NETWORK-SSID"
      key_mgmt=NONE
      }

  • @awahrtha4318
    @awahrtha4318 ปีที่แล้ว

    What about the green led just keep on and doesn't flashing? What's probably wrong??

    • @m.heidenreich
      @m.heidenreich  ปีที่แล้ว

      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.

    • @awahrtha4318
      @awahrtha4318 ปีที่แล้ว

      @@m.heidenreich is it possible if the memory card could read on laptop even samrtphone but not on raspberry??

    • @m.heidenreich
      @m.heidenreich  11 หลายเดือนก่อน

      @@awahrtha4318 It's possible. Try another card and if that one does not work then there may be a problem with the Pi.

  • @chrisphan3649
    @chrisphan3649 11 หลายเดือนก่อน

    can I use MicroSDXC USB instead of the adapter?

    • @m.heidenreich
      @m.heidenreich  11 หลายเดือนก่อน +1

      Sure, as long as your PC recognizes your memory card as a removable volume, you are good to go.

  • @Nokless
    @Nokless ปีที่แล้ว +1

    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 ?

    • @m.heidenreich
      @m.heidenreich  ปีที่แล้ว +1

      That's the idea. Your PC and Raspberry Pi need to be connected to the same network in order to see each other.

  • @runzeliu6104
    @runzeliu6104 11 หลายเดือนก่อน

    I can not choose storage (it is empty under the option).

    • @m.heidenreich
      @m.heidenreich  11 หลายเดือนก่อน +1

      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.

  • @hichambarbou9775
    @hichambarbou9775 11 หลายเดือนก่อน

    hello, when i use putty, they tell me that my host doesnt exist and then putty shut down

    • @m.heidenreich
      @m.heidenreich  11 หลายเดือนก่อน +1

      Check your Wi-Fi router to make sure that your Pi actually connects to your network. If it does, try connecting by IP.

    • @hidennseek1483
      @hidennseek1483 4 หลายเดือนก่อน

      @@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?

    • @m.heidenreich
      @m.heidenreich  3 หลายเดือนก่อน

      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.

  • @vitorpolovanick
    @vitorpolovanick 4 หลายเดือนก่อน

    I keep getting Permission Denied, even though my password is correct.😡I'll try reinstalling the image