Last active
August 29, 2015 14:19
-
-
Save billautomata/bed8a3977f240e1ce55f to your computer and use it in GitHub Desktop.
ppp over serial
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
# on host A | |
# sudo pppd [options] myip:destip /dev/usb baudrate | |
# sudo pppd proxyarp mtu 1280 persist nodeflate noauth lcp-echo-interval 10 crtscts lock HOST_A_IP:HOST_B_IP /dev/ttyusb baud_rate | |
sudo pppd proxyarp mtu 1280 persist nodeflate noauth lcp-echo-interval 10 crtscts lock 10.10.1.2:10.10.1.1 /dev/ttyUSB0 57600 | |
# on host B | |
sudo pppd proxyarp mtu 1280 persist nodeflate noauth lcp-echo-interval 10 crtscts lock 10.10.1.1:10.10.1.2 /dev/ttyUSB1 57600 | |
# on host A | |
ping 10.10.1.1 | |
# on host A | |
ping 10.10.1.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment