Skip to content

Instantly share code, notes, and snippets.

@ShapeShifter499
Created April 3, 2018 16:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ShapeShifter499/0d113c17392865aeeada5af8bd14d6b3 to your computer and use it in GitHub Desktop.
Save ShapeShifter499/0d113c17392865aeeada5af8bd14d6b3 to your computer and use it in GitHub Desktop.
Raspberry Pi Zero PPP Serial configuration
## Host RPi sysctl config /etc/sysctl.d/99-sysctl.conf
net.ipv4.ip_forward=1
net.ipv6.conf.all.forwarding=1
net.ipv4.conf.usb0.proxy_arp=1
net.ipv6.conf.usb0.accept_ra=1
## Guest RPi Zero PPP Config /etc/ppp/options.ttyAMA0
noauth
nocrtscts
xonxoff
passive
local
maxfail 0
defaultroute
persist
nodetach
netmask 255.255.255.0
192.168.1.12:192.168.1.13
# Disable all compression
novj
novjccomp
nobsdcomp
noccp
noaccomp
nodeflate
nopcomp
nopredictor1
## Host RPi Zero PPP Config /etc/ppp/options.ttyAMA0
noauth
nocrtscts
xonxoff
passive
local
maxfail 0
nodetach
netmask 255.255.255.0
192.168.1.13:192.168.1.12
persist
# Disable all compression
novj
novjccomp
nobsdcomp
noccp
noaccomp
nodeflate
nopcomp
nopredictor1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment