#!/bin/bash echo setting up the eth$num device typeset -i num num=`ifconfig | grep usb | wc -l` #if [ $num -eq 0 ] ; then ifconfig $1 192.168.129.20$num netmask 255.255.255.0 broadcast 192.168.1.255 up #pump -i $1 #fi echo settting up the route to 192.168.129.201 route add -host 192.168.129.201 $1 echo setting up the iptables/NAT iptables -t nat -F iptables -t nat -A POSTROUTING -j SNAT -o eth0 --to 192.168.2.104 echo turning ip_forward ON echo 1 > /proc/sys/net/ipv4/ip_forward #On the Zaurus:add a default route pointing to your linux PC #route add default gw 192.168.129.200