Hello,
I am running OZ 3.3.5 with Debian kernel 2.4.24. I did an apt-get to install the hotplug and usbutils for hotplugging support. I dropped the following script into the /etc/hotplug/usb directory but I lose my static internet connection. I don\'t undestand why. I can ssh to my zaurus when I put it in the cradle though. Any suggestions? --Jonathan
#! /bin/bash
typeset -i num
num=`ifconfig | grep usb0 | wc -l`
if [ $num -eq 0 ] ; then
ifconfig usb0 192.168.129.1 netmask 255.255.255.0 up
route add -host 192.168.129.201 usb0
fi
iptables -t nat -F
iptables -t nat -A POSTROUTING -j SNAT -o eth0 --to 192.253.72.59
echo 1 ] /proc/sys/net/ipv4/ip_forward