Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
How to ssh to the raspberry pi through the UART bus
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 pi@10.0.5.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment