USB Networking troubles

phillip tribble 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
>
> http://iki.fi/lindi/print-net-settings
>
> on your desktop system and report the output? It should print all
> relevant network information.
>
> Also,
>
> 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
> https://lists.openmoko.org/mailman/listinfo/support
>


This is my script to login and configure . Hope it works for you.
#!/bin/bash
clear
/etc/rc.d/iptables start
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



-- 
Phillip Tribble
Rushers Blog
http://rusher.webhop.org
"If you don't take one step forward, you will always be one step behind"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/support/attachments/20080807/77357d7f/attachment.htm 


More information about the support mailing list