------------------------ /etc/inetd.conf ssh stream tcp nowait root /usr/sbin/tcpd /usr/local/bin/sshd -i ssh-keygen -b 1024 -f /usr/local/etc/ssh_host_key -N '' ======================================= swap dd if=/dev/zero of=/mnt/cf/SwapFile count=32768 mkswap /mnt/cf/SwapFile swapon /mnt/cf/SwapFile swapoff /mnt/cf/SwapFile ======================================= I extracted the original ROM-fs from my Zaurus with dd, copied it to my PC, mounted it with mount -o loop, copied and altered it. After that I made a new init.rd with mkcramfs. Then I downloaded the english 2.37 OSPack and extracted the necessary files with romburst. I copied the bootflag.txt from another site and zImage.bin from the OSPack to the CompactFlash-Card of my Zaurus (using samba). Then I copied my altered init.rd to the CompactFlash-Card and updated my zaurus with this c+d+reset thingie. ======================================= ------------- connect to the internet from the Zaurus ifconfig usb0 192.168.129.1 netmask 255.255.255.255 up route add -host 192.168.129.201 usb0 iptables -t nat -F iptables -t nat -A POSTROUTING -j SNAT -o ethX --to MY_IP echo 1 > /proc/sys/net/ipv4/ip_forward ------------- on the Zaurus side add a default route pointing to your linux PC 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 then edit /etc/resolv.conf to add the IP of your DNS ------------- /etc/hotplug/usb/usbdnet #! /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.255 up route add -host 192.168.129.201 usb0 fi iptables -t nat -F iptables -t nat -A POSTROUTING -j SNAT -o eth0 --to MY_IP echo 1 > /proc/sys/net/ipv4/ip_forward ======================================= Debian iface usb0 inet static address 192.168.129.1 pointopoint 192.168.129.201 netmask 255.255.255.255 =======================================