To get this working, I consulted:
http://docs.zaurus.com/index.php?id=lc_generic
among others
The one thing that I've not been able to do is to access the internet (#3.3 from the above referenced doc) from the Zaurus. I successfully compiled in the stuff from the previous step and ran the following:
Code: Select all
ifconfig usb0 192.168.129.1 netmask 255.255.255.255 up
route add -host 192.168.129.201 usb0
iptables -t nat -F
Code: Select all
iptables -t nat -A POSTROUTING -j SNAT -o eth0 --to 192.168.1.140
iptables: Invalid argument
I am behind a router/switch doing NAT connected to a cable modem on the internet. What am I supposed to put for MY_IP after --to?
ifconfig -a reveals:
Code: Select all
dummy0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
BROADCAST NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
eth0 Link encap:Ethernet HWaddr 00:40:33:E4:5D:68
inet addr:192.168.1.140 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MTU:1500 Metric:1
RX packets:177383 errors:0 dropped:0 overruns:0 frame:0
TX packets:48359 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:89933394 (85.7 Mb) TX bytes:5246563 (5.0 Mb)
Interrupt:16 Base address:0xe800
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:87 errors:0 dropped:0 overruns:0 frame:0
TX packets:87 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:14040 (13.7 Kb) TX bytes:14040 (13.7 Kb)
usb0 Link encap:Ethernet HWaddr 5E:BF:EE:63:2E:84
inet addr:192.168.129.1 Bcast:192.168.129.255 Mask:255.255.255.255
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:53 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:6491 (6.3 Kb) TX bytes:908 (908.0 b)
Any insight would be appreciated. Thanks -


