Vintage Computer Restoration, Part II

Configuring the Host: SLIP and Serial

slattach -s 19200 -p slip -d /dev/ttyUSB0

Configuring the Host: IP Tables

sl0: flags=4240<POINTOPOINT,NOARP,MULTICAST> mtu 296 slip txqueuelen 10 (Serial Line IP) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
sudo ifconfig sl0 192.168.5.1 netmask 255.255.255.0 up
sl0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 296 inet 192.168.5.1 netmask 255.255.255.0 destination 192.168.5.1 slip txqueuelen 10 (Serial Line IP) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Configuring Trumpet

Configuring the Host (Again)

sudo bash -c "echo 1 > /proc/sys/net/ipv4/ip_forward"
# Change the value of `wlp1s0` to the correct interface!! sudo iptables --table nat --append POSTROUTING --out-interface wlp1s0 -j MASQUERADE sudo iptables --append FORWARD --in-interface sl0 -j ACCEPT

What I Learned

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Rick Carlino

Rick Carlino

Open source software developer covering topics relating to computer programming, computer history and personal productivity. Co-founder @ farm.bot / fox.build