Created
July 15, 2016 07:23
-
-
Save rudylacrete/a8c474aa6e8b221530a654d1f363f7c8 to your computer and use it in GitHub Desktop.
How to ssh to the raspberry pi through the UART bus
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Commands found on http://www.instructables.com/id/Connect-the-Raspberry-Pi-to-network-using-UART/ | |
Raspberry part | |
---------------------------- | |
echo "Starting pppd..." | |
stty -F /dev/ttyAMA0 raw | |
stty -F /dev/ttyAMA0 -a | |
pppd /dev/ttyAMA0 115200 10.0.5.2:10.0.5.1 noauth local debug dump defaultroute nocrtscts persist maxfail 0 holdoff 1 | |
host part | |
---------------------------- | |
sudo stty -F /dev/ttyUSB0 raw | |
sudo pppd /dev/ttyUSB0 115200 10.0.5.1:10.0.5.2 proxyarp local noauth debug nodetach dump nocrtscts passive persist maxfail 0 holdoff 1 | |
Then on the host you can do: ssh [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment