-
Notifications
You must be signed in to change notification settings - Fork 0
SSH | Using it
If you have successfully connected to a wireless network, once your Pi has booted up it will flash the last three digits of it's IP address on the on-board RGB LED.
If it flashes white, It's not connected to the internet.
The RGB LED will show the last part of your IP address by flashing different colours, red for the first digit, green for the second and blue for the last.
Here are some examples:
If your IP address is 192.168.0.123, the RGB LED will flash red once, green twice and blue three times. If your IP address is 172.16.1.108, the RGB LED will flash red once, it won't flash green then it will flash blue eight times. If your IP address is 192.168.31.15, the RGB LED won't flash red, then it will flash green once then blue five times.
If you miss it, you can momentarily press the on-board push button to flash the IP address again (wait a few seconds after pressing the button. Also - don't hold the button down as this will reset the Pi
Before connecting via SSH, you need to know the IP address of your Raspberry Pi on the local
Using the Terminal: Open the terminal on your Raspberry Pi or any other computer connected to the same
Run the following command: Type hostname -I and press Enter. This command will display the IP address of your Raspberry Pi.
hostname -I
Now that you have the IP address of your Raspberry Pi, you can connect to it using SSH.
Open a Terminal: On your local computer (it could be a Windows PC, Mac, or another Linux machine), open a terminal.
Run the SSH Command: Type the following command in the terminal, replacing [your_pi_IP] with the IP address of your Raspberry Pi:
ssh piwars@[your_pi_IP]
You may be prompted to confirm the connection and enter the password for your Raspberry Pi. The username is piwars, and the default password is piwars.
Connected: If everything is successful, you should now be connected to your Raspberry Pi via SSH, and you'll see a command line interface similar to the one on the Raspberry Pi itself.
2024 Felsted Robotics