Raspberry Pi 4 Headless Setup | First Boot SSH Without Monitor

Поділитися
Вставка
  • Опубліковано 27 жов 2024

КОМЕНТАРІ • 46

  • @datasith
    @datasith  4 роки тому +2

    I had made a more comprehensive video [ ua-cam.com/video/h3cCHN3MBvs/v-deo.html ] covering different ways of setting up SSH with and without a monitor/keyboard, and even in the absence of a Wi-Fi network. I caught flack because the "no monitor" setup wasn't right at the beginning so I decided to change its title, and make this video solely focused on setting up ssh without a monitor.

    • @genkiferal7178
      @genkiferal7178 3 роки тому

      I am grateful for that. I wish more UA-camrs would also mention up front if they are using Windows, Mac, or Linux.

  • @wolfenmond4082
    @wolfenmond4082 4 роки тому +1

    Thanks man, helped a lot!
    Forgot in my initial setup (before watching your video) the empty "ssh" file

  • @paulgibby6932
    @paulgibby6932 4 роки тому

    Great! I can't wait to get my Raspberry Pi and try this out. Thanks

    • @datasith
      @datasith  4 роки тому +1

      Awesome! Let me know if you hit any snags.

    • @paulgibby6932
      @paulgibby6932 4 роки тому

      @@datasith Thankyou!

  • @EDGARDOUX1701
    @EDGARDOUX1701 4 роки тому

    You rule dude!! Great video, sharing channel too. Abrazo capo!

    • @datasith
      @datasith  4 роки тому +1

      Gracias capo, un poco trillado el tema, pero me tienen harto los comentarios en el otro con el tema del setup sin monitor :)

    • @EDGARDOUX1701
      @EDGARDOUX1701 4 роки тому

      @@datasith No les des bola, el que nace pito no llega a corneta :) abrazo!

  • @stephanurkel7567
    @stephanurkel7567 4 роки тому

    This was awesome.. thanks!!

  • @loubloom153
    @loubloom153 4 роки тому +1

    Awesome can you please do the same with Ubuntu server? To install headless without monitor or keyboard but from USB?

  • @rico8192
    @rico8192 4 роки тому

    Impecable master. Como siempre.

    • @datasith
      @datasith  4 роки тому

      Gracias genio, seguimos la lucha para mantener o mejorar un poco!

  • @muhdismadi1101
    @muhdismadi1101 3 роки тому +2

    damn apple. Everywhere i go is raspberry on apple i just can't get it on window and what files. haiz.

    • @muhdismadi1101
      @muhdismadi1101 3 роки тому

      @@5drtfygunjm yeah i did that but still to no avail. When i went around i found out you need to enable the spi in order to allow the lcd screen be displayed. the command is
      sudo raspi-config
      after this find the section where the spi needs to be enabled then it becomes easy or after reboot it works.

    • @muhdismadi1101
      @muhdismadi1101 3 роки тому

      @@5drtfygunjm thx man.

  • @virnowi
    @virnowi Рік тому

    but this is wifi case... what about connecting via LAN eternet?

  • @copitzkymichael3313
    @copitzkymichael3313 Місяць тому

    terminal/spotlight search... how to open this with windows? is it the same as start.elf?

  • @gena1959uk
    @gena1959uk 4 роки тому

    Use touch to create the empty file: touch /Volumes/boot/ssh, it is quick and easy.

    • @datasith
      @datasith  4 роки тому

      ...and then someone comments "wHy DoN't YoU uSe A tExT eDiToR?" - source: i've used touch and other command line tools in other videos.

  • @JaySott
    @JaySott 4 роки тому

    Great video.. What I'd like to do on what I'm building is Headless, but also need to be a static IP address for VNC connection. I assume there's no way around entering SSID and Password into a file though?

    • @datasith
      @datasith  4 роки тому +1

      Thanks, Jay! Could you handle the Static IP with your Wi-Fi router? You can always configure it to assign a specific address to your Raspberry Pi. Would that work? You can also set up the Pi as an access point, in which case it'll always have a static address that you can connect to as needed.

    • @JaySott
      @JaySott 4 роки тому

      @@datasith Thanks.. I'm on an Eero mesh system (provided by cable company) which isn't quite as configureable some of the non-mesh routers. I've found out that I can reserve an IP though which may work. Have to work on the headless part next. :-) Will check out your other video.. Thanks!

  • @copitzkymichael3313
    @copitzkymichael3313 Місяць тому

    i just want a c++ written server host to draw electricity from my samsung usb... so when plugged in it can be known that a server is available to receive mail. I remember similar instruction in the early 2010's that used windows and c++ to create hosts however I don't have the old sd computer. i have a new one

    • @copitzkymichael3313
      @copitzkymichael3313 Місяць тому

      there is also windows subsystem but I don't receive validation when I use [mount] or mount/i

  • @o2lamsps
    @o2lamsps 4 роки тому

    Great video!!
    The SSD card after etching the img becomes read only. How to copy ssh and WPA_suplicant.com over? Thanks

  • @buratinoff
    @buratinoff 4 роки тому +1

    09.2020 - this is not works in last version ubuntu mate 18.04 and 20.04 = openssh-server no longer pre-installed.

    • @datasith
      @datasith  4 роки тому

      Thanks for sharing. I never tried this on Ubuntu, but it's an odd choice for the distro to remove openssh-server from the default image. I won't ever be an issue on Raspbian, fwiw.

  • @ierosgr
    @ierosgr 4 роки тому +1

    tried with ethernet cable connected so I guess I dont need the wifi file you put in the sdcard only the ssh.... When I am trying to connect I get a connection refused
    PS I am trying with the Ubuntu 20.04 Maybe the ufw is enabled by default and brings down ssh connection through port 22?

    • @datasith
      @datasith  4 роки тому

      heya, i haven't tried it myself, but my understanding is that the wifi file should work. double-check your firewall settings so that it's not blocking outgoing connections on your computer's port 22. hth!

    • @loubloom153
      @loubloom153 4 роки тому

      Please let me know how it goes 😀I want to install Ubuntu server headless for Plex

  • @ohgodwhataholymess
    @ohgodwhataholymess 4 роки тому

    I'm getting "operation timeout" whenever I do the ssh pi@192.168.1.XX command. What could have gone wrong?

    • @datasith
      @datasith  4 роки тому

      hey, thanks for watching the vid! it sounds like you haven't enabled ssh yet on the Raspberry Pi. if you have enabled it, it may be the case that your computer is blocking outbound traffic (check your firewall settings). HTH!

  • @kiwinesss
    @kiwinesss 4 роки тому

    well I followed exactly what you did but got the following:
    ssh: connect to host 192.168.178.1 port 22: Connection refused
    So what did I do wrong?

    • @datasith
      @datasith  4 роки тому +2

      Heya, Bob. Good news is that your Pi is successfully connected to Wi-Fi, and you can "see" it from your computer. Bad news is that SSH wasn't configured properly. My suspicion is that when you created the empty file called "ssh" an extension got tacked to the end, which happens by default on Windows. If you use Notepad, make sure that you save it without an extension, and in "Plain Text" format for it to work. HTH!

    • @kiwinesss
      @kiwinesss 4 роки тому

      @@datasith This is what the problem was. Thank you for your reply, I appreciate it.

  • @serinn5416
    @serinn5416 4 роки тому

    Can we use cherrytree in the raspberry Pi 4 (ubuntu distro)

  • @jonglass
    @jonglass 4 роки тому

    Is it possible to set up VNC in the same way?

  • @robottrainer
    @robottrainer 3 роки тому +1

    whats password to login bro, thats important.

  • @kiwinesss
    @kiwinesss 4 роки тому

    At 5:02 why is your txt file showing as a unix executable file?

    • @datasith
      @datasith  4 роки тому +1

      Yessir, by default on Mac that's how an empty file with not extension is created on the Flash Card (it has executable permissions). You're on the right track, that this file isn't being created correctly in your setup. Previously, I assumed your Operating System, let me know if that's not the case, and we'll try something else. GL!

    • @kiwinesss
      @kiwinesss 4 роки тому

      @@datasith Perfect thank you for your reply.

  • @probablypablito
    @probablypablito 2 роки тому

    ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
    update_config=1
    country=US
    network{
    ssid="SSID"
    psk="PASSWORD"
    key_mgmt=WPA-PSK
    }

  • @ZacharySchroeder
    @ZacharySchroeder 4 роки тому

    country=US
    ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
    update_config=1
    network={
    ssid="NETWORK-NAME"
    psk="NETWORK-PASSWORD"
    }