USB Networking troubles
phillip.tribble at gmail.com
Fri Aug 8 00:02:28 CEST 2008
On Thu, Aug 7, 2008 at 2:54 PM, Timo Juhani Lindfors
<timo.lindfors at iki.fi>wrote:
> "michael cole" <mjcole137 at gmail.com> writes:
> > This is not a Freerunner issue -- I am able to ssh into FR using UBS
> > networking but I simply cannot get the Freerunner to ping anything
> > other than the desktop it is connected to. The issue almost certainly
> > has something to do with the iptables/nat setup on the desktop
> > computer.
> Can you run
> on your desktop system and report the output? It should print all
> relevant network information.
> desktop$ sudo tcpdump -i usb0 -n icmp
> desktop$ sudo tcpdump -i eth0 -n icmp
> while running
> freerunner$ ping 192.168.1.1
> could be useful. What does tcpdump print in that case?
> support mailing list
> support at lists.openmoko.org
This is my script to login and configure . Hope it works for you.
iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24
sysctl -w net.ipv4.ip_forward=1
ifconfig usb0 192.168.0.200
iptables -t filter -F FORWARD
scp /etc/resolv.conf root at 192.168.0.202:/etc
ssh root at 192.168.0.202
"If you don't take one step forward, you will always be one step behind"
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the support