How to connect raspberry pi to laptop | saMvidita

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 มิ.ย. 2024
  • In this video we will learn how to connect raspberry pi to laptop screen and keyboard without external monitor or keyboard. This is simple method using LAN cable and PuTTY and VNC viewer. No need of finding the IP address.
    Watch our new video
    ▶️ Connect Raspberry Pi to Laptop Wirelessly: • Connect Raspberry Pi t...
    ___________________Contents___________________
    0:00 Introduction
    0:40 Download OS and flash
    2:12 Enable SSH
    3:40 Raspberry Pi configuration (sudo raspi-config)
    4:37 VNC viewer
    ----------------------------------------------------------------------
    Note:
    Kindly ignore the ifconfig instruction @ 3:00​ Just open PuTTy and type raspberrypi.local and carry on with remaining steps
    If you are facing problems regarding connection to desktop please try to change the default resolution during raspberry pi configuration i.e Under Advanced options then try to connect with VNC.
    For any queries please DM us on / samvidita
    ----------------------------------------------------------------------
    Follow us on Instagram
    / samvidita
    Like our page on Facebook
    / samvidita
    Required items
    Hardware used
    1.Raspberry pi : amzn.to/30kF78u
    2.RJ45 LAN cable: amzn.to/3qmzXDi
    3.SD card & Adapter: amzn.to/3uWVyps
    4.Power adapter: amzn.to/3uYply7
    Software used
    1.Rasbian OS: www.raspberrypi.org/downloads...
    2.VNC viewer: www.realvnc.com/en/connect/do...
    3.SD card Formatter: www.sdcard.org/downloads/form...
    4.balenaEtcher: www.balena.io/etcher/
    5.PuTTY: www.chiark.greenend.org.uk/~s...
    Useful links
    1.ssh: www.raspberrypi.org/documenta...
    2.raspi-config: www.raspberrypi.org/documenta...
    3.ip-address: www.raspberrypi.org/documenta...
    #raspberry
    #pi
    #raspberrypi
    #raspbian
    #electronics
    #os
    #arm
    #developmentBoard
    Like subscribe and support. Thank you
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @vardhanshah
    @vardhanshah 3 ปีที่แล้ว +5

    THANK YOU SO MUCH you made it look easier

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

    Finally, I found this way. Thank you very much
    :)

  • @manishlautre5168
    @manishlautre5168 3 ปีที่แล้ว +2

    it was a wonderful solution, i didn't had a personal desktop to enable ssh, the only problem which i faced was of resolution, the pi is set to the default resolution and i just had to tweak it, if you would update about this in the description, it'll be helpful for viewers, rest the video was pretty good. Loved it!

    • @SaMvidita
      @SaMvidita  3 ปีที่แล้ว +3

      Thank you so much. Your suggestion is appreciated and we will update accordingly.

  • @akshayfaritkhane649
    @akshayfaritkhane649 3 ปีที่แล้ว

    Thanks a lot for your tutorial !

  • @samarattaher4978
    @samarattaher4978 3 ปีที่แล้ว

    thank you very much, it's very useful

  • @meghashenoy9461
    @meghashenoy9461 4 ปีที่แล้ว +2

    Excellent work💯

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

    Good work 🔥 keep going

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

    thats was very useful
    thank you

  • @AMaupin2
    @AMaupin2 3 ปีที่แล้ว

    Thank you!

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

    Excellent 👌 work

    • @SaMvidita
      @SaMvidita  3 ปีที่แล้ว

      Thank you keep supporting

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

    Thank you!!!!!! this worked (^_^) even though the music was unnecessary, it f***ing worked!!!

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

    Good work amigos🥃. Why we should use SSH? Can you guys pls explain.

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

      You can access the command line of a raspberry pi remotely from another computer connected on the same network using SSH so we need to enable it

  • @bhavekmahyavanshi1633
    @bhavekmahyavanshi1633 3 ปีที่แล้ว

    You are great brother
    I was struggling from like 3-4 days to connect my pi with laptop,
    Bt you made it easy to me by making this amazing video♥️👍💯

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

      Thank you keep supporting ❤️

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

    thank you

  • @JezusKristi
    @JezusKristi 3 ปีที่แล้ว +2

    Hello, I have a problem in the end. I followed all the steps, opened VNC, entered the raspberrypi.local command, entered the id and password, but the message I get says "Cannot currently show the desktop". What should I do, or what did I do wrong? Thank you!

    • @SaMvidita
      @SaMvidita  3 ปีที่แล้ว +2

      Once you login to putty type 'sudo raspi-config'. Under advanced options try to change default resolution and then try to connect to VNC

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

    Are those BalenaEtcher and Formatting Steps really needed? Won't it work if we skip those and start right away from PuTTY and VNC Viewer?

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

      They are recommended. Balena etcher is recommended for copying img. file if you know any other you can use them as well.

    • @jacobmojares2554
      @jacobmojares2554 3 ปีที่แล้ว

      @@SaMvidita Thank you so much! I really appreciate this.

  • @03mayurchavanbeelex65
    @03mayurchavanbeelex65 2 ปีที่แล้ว

    Thanks Bro

  • @yathi111hk8
    @yathi111hk8 4 ปีที่แล้ว +2

    👌

  • @erik5317
    @erik5317 3 ปีที่แล้ว +2

    I cant create ssh file in the boot help pls

  • @shettyankushshetty4439
    @shettyankushshetty4439 4 ปีที่แล้ว +2

    👍👍

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

    Hey, I don’t have an sd over 8gb can I use a usb stick and format that?

    • @SaMvidita
      @SaMvidita  3 ปีที่แล้ว

      By default RPi uses SD as booting option. But yes you can also use USB storage as booting option in latest versions of pi. Find more details about the same in following link...
      www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/msd.md

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

    Hi I keep getting the error "Unable to open connection raspberrypi.local. Host doesn't exist" Is there a way to fixed it? I'm using a pi 4?

  • @keithduffield5239
    @keithduffield5239 3 ปีที่แล้ว +5

    Nice - now where does one find a modern laptop with a LAN connector.

  • @ankitkaushal1592
    @ankitkaushal1592 2 ปีที่แล้ว

    I have a doubt
    Is it necessary to use Etcher to put the OS in the SD card. Because I have directly put the OS from the RAspberry pi website into the SD card. So, can I skip that Etcher part?
    If you know please help.

    • @SaMvidita
      @SaMvidita  2 ปีที่แล้ว

      You have to flash OS to SD card. Just copying OS file will not work. You can either use Etcher or Raspberry pi imager. Watch our new video for more details
      th-cam.com/video/I-vCFP2jD1g/w-d-xo.html

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

      @@SaMvidita Thanks a lot. I will check it out.

  • @jeromelique6658
    @jeromelique6658 3 ปีที่แล้ว

    I have a question, hoping someone will answer for clarifications
    After successful interfacing. Is it right that whatever data you input on the raspberry pi it will remain on the RPi? I'm planning to have heavy work on the RPi that needs mass storage.
    So my option is to boot mass storage like SSD in the RPi and manage all the data in my laptop. Correct me if I'm wrong
    Thanks!

    • @SaMvidita
      @SaMvidita  3 ปีที่แล้ว

      @JeromeLique, Yes you are correct whatever the data you input on Pi will remain in Pi. While flashing SD acrd with OS, SD card will make partitions for storage and it will be saved there

    • @SaMvidita
      @SaMvidita  3 ปีที่แล้ว

      By default RPi uses SD as booting option. But yes you can also use USB mass storage as booting option in latest versions of pi. Find more details about the same in following link...
      www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/msd.md

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

    Every time I try to save the ssh file in sd card, the file is automatically saved as txt file. How can I avoid that? I think that is causing issues because the PuTTY cannot detect it.

    • @SaMvidita
      @SaMvidita  3 ปีที่แล้ว

      While saving keep type as all files
      Or jus open cmd and type following command
      echo>drive_name:\ssh
      In place of drive_name put the drive name of boot drive
      For eg if boot drive is K then
      echo>K:\ssh
      This will create an ssh file

    • @divyayandey396
      @divyayandey396 3 ปีที่แล้ว

      Okay I saved the file without a txt extension. But still it isn't shown under 'Network Connections'. Any way out?

    • @SaMvidita
      @SaMvidita  3 ปีที่แล้ว

      Please DM us on instagram.com/samvidita we will help you

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

    After connecting to laptop.. if I remove lam cable and reconnecting it.. will it need to do all process again?

    • @SaMvidita
      @SaMvidita  2 ปีที่แล้ว

      No need...Just test it

    • @ramsabarish9011
      @ramsabarish9011 2 ปีที่แล้ว

      @@SaMvidita kk 👍 dude

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

    Sir can we remove LAN cable after this.

  • @user-xm6zt2ev3e
    @user-xm6zt2ev3e 3 ปีที่แล้ว +3

    after typing the host name as raspberrypi.local in putty. it shows host does not exist

    • @SaMvidita
      @SaMvidita  3 ปีที่แล้ว

      This problem occurs if SSH is not enabled properly . After flashing OS into SD card create a file named SSH without any extension inside boot drive

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

    After i downloaded the programs i got a blue screen of death. Was one of thos the cause of it?

    • @SaMvidita
      @SaMvidita  2 ปีที่แล้ว

      Check your display settings

  • @asmaulhusna7959
    @asmaulhusna7959 2 ปีที่แล้ว

    3:15 It worked only when the host name/IP Address was entered as raspberrypi alone .It thrown an error window as "host not found" when it was given as raspberrypi.local .

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

      i still get errors on both of them. raspberrypi or raspberrypi.local

  • @jensschroder8214
    @jensschroder8214 2 ปีที่แล้ว

    Thanks very much.
    Only the password should still be changed. That then changes for VNC and SSH.

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

    Etcher finishing with errors when flashing SD card what should I do😥

    • @SaMvidita
      @SaMvidita  4 ปีที่แล้ว

      DM your problem snap to instagram.com/samvidita

  • @shaunairdien3767
    @shaunairdien3767 2 ปีที่แล้ว

    good day, I saved the ssh file as all files and it still says host does not exist. Do you know what the issue is?

    • @SaMvidita
      @SaMvidita  2 ปีที่แล้ว

      There are two possibilities. Check whether ssh file created correctly or check your LAN cable

  • @SURESHKUMAR-ps8oh
    @SURESHKUMAR-ps8oh 3 ปีที่แล้ว +1

    Which one i have to download putty for SSH or Window

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

      PuTTY is a terminal emulator
      www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
      From this link download MSI (Windows installer) based on your system size. Thank you

    • @SURESHKUMAR-ps8oh
      @SURESHKUMAR-ps8oh 3 ปีที่แล้ว +1

      @@SaMvidita thnk u☺

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

    I can't find the custom pass , what should I do?

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

    is the LAN cable a crossed or straight cable?

    • @SaMvidita
      @SaMvidita  2 ปีที่แล้ว

      No difference you can use any

  • @chethanningappa
    @chethanningappa 3 ปีที่แล้ว

    yes, super 5mi

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

    Would be nice to do the same thing with WIFI and no router or network.

    • @SaMvidita
      @SaMvidita  3 ปีที่แล้ว

      Yeah definitely we can do that as well

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

    Can this be done for first time? will this work for rasp pi 2.Pls reply

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

      Yess of course this is completely first time setup and you can try this with all pi version with the LAN port

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

      @@SaMvidita okay thanks!

    • @jyvben1520
      @jyvben1520 3 ปีที่แล้ว

      ​@@SaMvidita or pi zero with an "usb to ethernet dongle" or even "usb to wifi"

  • @randommeme7632
    @randommeme7632 3 ปีที่แล้ว

    stuck at 3:30 any help, please? I followed the same step but when I made the connection my raspberry pi bootable device is not showing there

    • @SaMvidita
      @SaMvidita  3 ปีที่แล้ว

      Create ssh file using command prompt as following
      echo>drive_name:\ssh
      In place of drive_name put the drive name of boot drive
      For eg if boot drive is K then
      echo>K:\ssh

    • @randommeme7632
      @randommeme7632 3 ปีที่แล้ว

      @@SaMvidita its not working still not showing anyhthing

    • @randommeme7632
      @randommeme7632 3 ปีที่แล้ว +3

      @@SaMvidita when I was on the 3:08 step I clicked open and after that, it displays the message network no host connection after that my raspberry pi device is not showing. kindly help !!

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

      Kindly check whether u connected proper LAN cable and ssh file.
      Please note ssh file should not have any extension... Just blank ssh file
      If you are still facing problem kindly DM us on instagram.com/samvidita

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

    i don't have boot option in raspberrypi. Can I fix it?

    • @SaMvidita
      @SaMvidita  2 ปีที่แล้ว

      Format SD card and flash the OS once again

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

    Holla

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

    3:31 the password is not getting actually showing "Access denied"
    What should I do? Help!!

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

      Check if any custom password is given

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

      @@SaMvidita how can I get it?

  • @haras.498
    @haras.498 3 ปีที่แล้ว +2

    after i setup the raspi from the gui, i cant open it again. it said "Unable to open connection to raspberrypi.local, Host does not exist" does anyone has the same problem with me?
    Update: solved it with reopening connection from Putty with "raspberrypi" (not raspberrypi.local) and then on the VNC with "raspberrypi.local"

    • @SaMvidita
      @SaMvidita  3 ปีที่แล้ว

      *Check whether connected to network or not.
      *Check whether network sharing is enabled on your system or not
      *Check ssh port and address i.e raspberrypi.local

    • @haras.498
      @haras.498 3 ปีที่แล้ว +1

      @@SaMvidita thanks, i'll try it

    • @vinodsv9190
      @vinodsv9190 3 ปีที่แล้ว

      @@haras.498 same problem for me.
      Can you help me to fix this?

    • @SaMvidita
      @SaMvidita  3 ปีที่แล้ว

      Try changing the default resolution under advanced options it might work

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

    Its Showing Me Cannot Connect To Display.Can Anyone Please Help Me How To Solve This?

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

      Try any of these
      Go to raspi-config on putty
      *Enable vnc
      *Under boot option select desktop autologin
      *Try to change default resolution
      *Check whether network sharing is enabled on your system.

    • @SoumwadeepGuha
      @SoumwadeepGuha 3 ปีที่แล้ว +2

      @@SaMvidita thank you very much it worked perfectly now I just change the screen resolution to 1920*1080 60fps and it worked.Thanks A Lot For Your Help!!

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

      Anytime🤗

  • @rucky4665
    @rucky4665 2 ปีที่แล้ว

    the password doesn't seem to work for me, I have no idea why. I am 100% certain I'm using the right password 'raspberry' and typing it correctly. But is still doesn't work, ant advice to get around this of what might be causing this

    • @SaMvidita
      @SaMvidita  2 ปีที่แล้ว

      Please check if you have configured any custom password during the setup.

    • @surajkunwar6830
      @surajkunwar6830 2 ปีที่แล้ว

      same problem did you got any fix?

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

    acces denied ! despite correct password and username , I can't login.

    • @SaMvidita
      @SaMvidita  3 ปีที่แล้ว

      Format SD card start from beginning

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

      Default username : pi
      Password : raspberry

  • @ritabratachakraborty7776
    @ritabratachakraborty7776 2 ปีที่แล้ว

    When I entered the password raspberry it is showing access denied in puTTY terminal.

    • @SaMvidita
      @SaMvidita  2 ปีที่แล้ว

      Check whether u given custom password

    • @shortsforall5687
      @shortsforall5687 2 ปีที่แล้ว

      @@SaMvidita i don't give password? Plz tell

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

    where to write Ifconfig command?

    • @SaMvidita
      @SaMvidita  3 ปีที่แล้ว

      Sorry.. It was editing mistake.
      Kindly ignore that ifconfig instruction @ 3:00 Just open putty and type raspberrypi.local and cary on with remaining steps
      Thank you.....

  • @meditationrelaxationcenter8034
    @meditationrelaxationcenter8034 3 ปีที่แล้ว

    "can not currently show the desktop". I get this instead of display screen.

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

      Change default resolution following these steps.
      1.login with PuTTY.
      2.use this command 'sudo raspi-config'.
      3.select Advanced Settings->Resolution
      4.choose a resolution.
      5.reboot

    • @meditationrelaxationcenter8034
      @meditationrelaxationcenter8034 3 ปีที่แล้ว

      @@SaMvidita Thanks sir, now it is working perfect.

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

    Host doesn't exist, can't connect,,, What am i supposed to do

    • @SaMvidita
      @SaMvidita  2 ปีที่แล้ว

      Check the wifi connection

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

    It says Disc G is Write protected

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

      Please check your SD card adapter. Unlock if it is locked 🙂

    • @mukundshukla5097
      @mukundshukla5097 3 ปีที่แล้ว

      @@SaMvidita it worked thanks bro

  • @tendilvignesh1508
    @tendilvignesh1508 3 ปีที่แล้ว

    Vnc viewer is not working in my laptop w

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

      What should I do now

    • @SaMvidita
      @SaMvidita  3 ปีที่แล้ว

      Can you give us some more details....
      *did you follow all previous steps and enabled ssh and vnc using putty
      *If there is problem with laptop you can install vnc viewer mobile app also

    • @SaMvidita
      @SaMvidita  3 ปีที่แล้ว

      help.realvnc.com/hc/en-us/sections/360000576931-Troubleshooting
      This might help you

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

      @@SaMvidita ok I will try

  • @koteshwarbharath7894
    @koteshwarbharath7894 2 ปีที่แล้ว

    What to do when your default password shows access denied

    • @SaMvidita
      @SaMvidita  2 ปีที่แล้ว

      Check whether u given custom password

    • @shortsforall5687
      @shortsforall5687 2 ปีที่แล้ว

      I don't give any password

  • @channelcuriousity6467
    @channelcuriousity6467 2 ปีที่แล้ว

    Where to get image file?

    • @SaMvidita
      @SaMvidita  2 ปีที่แล้ว

      www.raspberrypi.com/software/operating-systems/

    • @channelcuriousity6467
      @channelcuriousity6467 2 ปีที่แล้ว

      @@SaMvidita bro I have a doubt can I use pi lite for interface with laptop?

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

      Pi Lite does not contain a GUI.

  • @yathishh.k9461
    @yathishh.k9461 4 ปีที่แล้ว +1

    🙈🙉🙊

  • @arthurmwaura314
    @arthurmwaura314 3 ปีที่แล้ว

    Very informative but you went too fast. Had to pause in each stage
    Great job otherwise

  • @majorproject5359
    @majorproject5359 4 ปีที่แล้ว

    Can you guys help us in our major project, we are facing issue in hardware side. If you're ready to help us then I will post my email address. We are ready to give 💸. Athmanirbal Barath🙏

    • @SaMvidita
      @SaMvidita  4 ปีที่แล้ว

      DM us on instagram.com/samvidita