RaspberryPi/Headless
From charlesreid1
WARNING: These instructions are old. Some of the details may not stay the same, but the concepts will not change.
UPDATE: See RaspberryPi/July 2020 for up-to-date instructions for installing Ubuntu 18.04 and getting the headless Pi connected to wifi
Contents
Interfacing with Headless Raspberry Pi
Step 1: Modify Raspberry Pi boot sequence
Plug the SD card into your computer. Edit the file cmdline.txt to include a directive to hard-code an IP address. Add a space and the following directive to the end of cmdline.txt:
ip=169.254.113.200
That's it. The old procedure required a cmdline.directive, but now the Raspberry Pi boots from cmdline.txt directly. Hooray for removing redundant steps!
Step 2: Cat5 Network Cable
Get a standard network cable and connect the laptop to the RPi. Remove the SD card from the laptop once you've modified cmdline and put it in the RPi to boot it up.
Step 3: SSH
Now you can SSH to the IP address you specified using the default username 'pi' and the default password 'raspberry':
ssh secure shell, the most useful tool in unix
Tunnels: Building SSH tunnels: SSH Tunnels Tunnel SSH through HTTPS: Stunnel Tunnel SSH through DNS: Iodine
Raspberry Pi and SSH: RaspberryPi/Headless · RaspberryPi/Reverse SSH RaspberryPi/SSH Stunnel · RaspberryPi/Reverse SSH Stunnel Category:SSH · Category:Networking
Linux and SSH:
Category:SSH · Category:Kali · Category:Networking Flags · Template:SSHFlag · e |