To set up network translation:
On tuba:
route add -host 192.168.129.201 usb0;
iptables -t nat -F;
iptables -t nat -A POSTROUTING -j SNAT -o eth0 –to 192.168.1.100;
echo 1 > /proc/sys/net/ipv4/ip_forwardpp;
On zink:
route add -host 192.168.129.1 usbd0;
route delete -net 192.168.129.0/24 usbd0;
route add default gw 192.168.129.1;
(This is from the website I was using
http://www.ruault.com/Zaurus/ethernet-over-usb-howto.html — history doesn’t work on the
OZ shell.)
It looks like the zink side survives a reboot, but the tuba side does not.
