I have had this setting for months it does not work for me.
Whenever I want to connect my FR, I must first plug it in into the usb
and then run the following script which someone once posted here or on
the #openmoko irc. Until I run ths script I cannot ping and hence ssh
into the FR. Unfortunately I don't know enough to integrate and
automate what the script does into my interfaces file. If someone can
shed some more light, it would be appreciated:
----------------------------------
#!/bin/sh
# Enables Hostside USB-Networking for neo
ifconfig usb0 down
ifconfig usb0 192.168.0.200 netmask 255.255.255.0 up
iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -P FORWARD ACCEPT
route add -host 192.168.0.202 gw 192.168.0.200
route -n | grep -e "Destination" -e "usb0"
----------------------------------
cheers Denis
On Thu, Nov 6, 2008 at 7:13 AM, joezeewails <joezeewails@yahoo.de> wrote: