I want my Zaurus (OpenZaurus, latest version) to have access to the Internet using the following setup:
My Zaurus is connected via USB to a laptop, which is in turn connected to a PC acting as a gateway to the Internet. I can ping the Zaurus from the gateway PC, and vice versa. However, I can't do "route add default gw the_pc" - I get a "no route to host" error.
Details:
Zaurus: 192.168.129.201
Laptop: 192.168.129.1 (usb) and 192.168.1.3
Gateway PC: 192.168.1.2 + connected to isp modem
route -n on the Zaurus gives:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.2 192.168.129.1 255.255.255.255 UGH 0 0 0 usbd0
192.168.129.0 0.0.0.0 255.255.255.0 U 0 0 0 usbd0
while route add default gw 192.168.1.2 results in :
route: SIOC[ADD|DEL]RT: Network is unreachable
/proc/sys/net/ipv4/ip_forward on the laptop is set to 1.
Please not that I did get this to work once, however I can't recreate it - I don't remember the exact commands I issued on the Zaurus.
I would appreciate any help!