Table of Contents

Using PPP and TCP/IP over a null modem connection

This is a very quick crash explanation of setting up a peer to peer IP link over serial. I researched this in order to use RF UART modules. This is what works for me. This is almost entirely ripped from this site (http://www.tldp.org/HOWTO/PPP-HOWTO/direct.html), but I wanted a local copy for myself.

Setup

pppd

On Machine 1:

pppd -detach crtscts noauth lock 11.0.0.1:11.0.0.2 /dev/ttyUSB0 115200 &

On Machine 2:

pppd -detach crtscts noauth lock 11.0.0.2:11.0.0.1 /dev/ttyUSB0 115200 &

These commands are nearly identical. The only difference is that the IP addresses (local:remote) are mirrored.