Peterborough Linux User Group (Canada) Forum

Linux & Android => Raspberry Pi & Single-Board Computers => Topic started by: fox on April 06, 2021, 01:01:38 PM

Title: Raspberry Pi headless setup
Post by: fox on April 06, 2021, 01:01:38 PM
Here (https://fossbytes.com/raspberry-pi-headless-setup/) is a good, easy to follow article on how to set up your Raspberry Pi and run it headless.
Title: Re: Raspberry Pi headless setup
Post by: Jason on April 06, 2021, 01:32:46 PM
That's cool. Looks very beginner-friendly. One criticism though. For the love of God, don't use Putty. Linux already has a built-in SSH client and it's really not that hard to use. There's no need for putty. I believe Windows' Powershell also has ssh. Just type:

ssh pi@100.110.120.130

(substitute pi with whatever username you have if it's not the default and the actual IP address. You can also add an entry to /etc/hosts so that the IP address can be represented by something 'foxmulder' so you do:

ssh pi@foxmulder

The rest is fine although you can set up X-forwarding over ssh which may give you better performance than VNC. Somewhere there are presentation notes I gave on using ssh. You should also set up a static IP so that if your router is rebooted, you can still get into the Pi. I think my notes showed how to do this but you can google it. It's easy.

Title: Re: Raspberry Pi headless setup
Post by: fox on April 06, 2021, 02:00:02 PM
Thanks, Jason. Now that you mention it, I think I did follow your instructions when I set up my Pi to work headless. I was only doing it to play around and my Pi isn't connected to anything right now. I put it aside, but I'll have to get back to it.
Title: Re: Raspberry Pi headless setup
Post by: ssfc72 on April 07, 2021, 04:48:07 AM
Thanks Fox for the Link to the RPi headless article. I have bookmarked it on my computer.
Title: Re: Raspberry Pi headless setup
Post by: ssfc72 on April 07, 2021, 04:50:35 AM
Thanks Jason for your tip about using SSH on the RPi. I will have to fire up my RPi and try those commands.

Quote from: Jason on April 06, 2021, 01:32:46 PM
That's cool. Looks very beginner-friendly. One criticism though. For the love of God, don't use Putty. Linux already has a built-in SSH client and it's really not that hard to use. There's no need for putty. I believe Windows' Powershell also has ssh. Just type:

ssh pi@100.110.120.130

(substitute pi with whatever username you have if it's not the default and the actual IP address. You can also add an entry to /etc/hosts so that the IP address can be represented by something 'foxmulder' so you do:

ssh pi@foxmulder

The rest is fine although you can set up X-forwarding over ssh which may give you better performance than VNC. Somewhere there are presentation notes I gave on using ssh. You should also set up a static IP so that if your router is rebooted, you can still get into the Pi. I think my notes showed how to do this but you can google it. It's easy.
Title: Re: Raspberry Pi headless setup
Post by: gmiller1977 on April 18, 2021, 03:20:12 PM
Hey!  I like PuTTY!  :P
Title: Re: Raspberry Pi headless setup
Post by: Jason on April 18, 2021, 06:36:02 PM
Quote from: gmiller1977 on April 18, 2021, 03:20:12 PM
Hey!  I like PuTTY!  :P

We're not talking about the silly kind!