If you bring more than one computer with you wherever you go, you probably want to be able to connect the other computer up at the same time. Since your Treo looks like a regular network interface, it's a simple matter to turn your Linux machine into a router.
# sudo apt-get install dhcp # sudo vi /etc/dhcpd.conf You will need to add a new section that looks like this: ... subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.64 192.168.1.250; option broadcast-address 192.168.1.255; option routers 192.168.1.1; option domain-name-servers 192.168.1.1; } ...Once all the tools are configured, you can turn routing on with the following commands as root:
IF=eth0 # set to your desired network port IP=192.168.1.1 SUBNET=`echo $IP|cut -f1-3 -d.` ifconfig $IF up $IP dnscache-conf dnscache dnslog /etc/dnscache-$SUBNET $IP touch /etc/dnscache-$SUBNET/root/ip/$SUBNET ln -s /etc/dnscache-$SUBNET /service /etc/init.d/dhcp restart echo 1 >/proc/sys/net/ipv4/ip_forward iptables -t nat --insert POSTROUTING 1 --source $SUBNET.0/24 --jump MASQUERADE