The problem if you want to surf on Internet with your Zaurus through a computer equiped with a classic modem, is that dynamic informations from your provider (IP address for exemple) are only set after connection.
I wrote a shell script to launch after connection to your provider. This script get IP address of ppp0 interface using ifconfig and configure your linuxBox to route internet traffic between the Zaurus and Internet.
Create a file name Z2web for example (anywhere on the Linux Box) and type this in it :
#!/bin/sh
ppp_ip="`/sbin/ifconfig ppp0 | grep 'inet adr' | awk '{print $2}' | sed -e 's/.*://'`"
iptables -t nat -F
iptables -t nat -A POSTROUTING -j SNAT -o ppp0 --to-source ${ppp_ip}
echo 1 > /proc/sys/net/ipv4/ip_forward
Set execution permission flag for this script : right clic on it, permissions, execution for "user".
You have to run this script as super user ("su -" command then type su password) after Internet connection established : ./Z2web
That's all folks!