16 Aug 2016
Preparations
- Download Raspbian and install to SD card.
- Download Debian packages:
- Copy
*.debto SD cards boot partition. - Boot Raspberry Pi and connect to console:
screen /dev/ttyUSB0 115200
On Raspberry Pi
- Install packages:
dpkg -i /boot/libpcap0.8_*.deb dpkg -i /boot/ppp_*.deb - Remove
console=serial0,115200from/boot/cmdline.txt. - Edit
/etc/rc.local:... stty -F /dev/ttyAMA0 raw stty -F /dev/ttyAMA0 -a pppd /dev/ttyAMA0 115200 10.0.0.2:10.0.0.1 noauth local debug dump defaultroute nocrtscts persist maxfail 0 holdoff 1 exit 0 - Reboot
On host
- Run
pppd:stty -F /dev/ttyUSB0 raw sudo pppd /dev/ttyUSB0 115200 10.0.0.1:10.0.0.2 proxyarp local noauth debug nodetach dump nocrtscts passive persist maxfail 0 holdoff 1 & - Enable Routing and NAT:
sudo sysctl -w net.ipv4.ip_forward=1 sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE - Connect to Raspberry Pi via SSH:
ssh pi@10.0.0.2 - Download files from the Internet with ~12KB/s like it’s 1998.

Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.