USB Networking

Tony Berth tonyberth at googlemail.com
Wed Nov 5 20:06:05 CET 2008


Dear group,

I just installed (following the wiki) 2008.9 on my FR and tried to connect
from a debian box. Applied the following:

-----------------------
 Debian, Ubuntu and others

Edit /etc/network/interfaces and add:

auto usb0
iface usb0 inet static
address 192.168.0.200
netmask 255.255.255.0
network 192.168.0.0
up iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24 &
up echo 1 > /proc/sys/net/ipv4/ip_forward &
up iptables -P FORWARD ACCEPT &
down iptables -D POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24 &
-------------------------------

as mentioned in: http://wiki.openmoko.org/wiki/USB_Networking

After re-booting the debian box and connected my FR via USB, ifconfig -a shows:

-----------------------
usb0      Link encap:Ethernet  HWaddr 9A:99:92:BD:1A:34
          BROADCAST MULTICAST  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:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
-----------------------

and ping to 192.168.0.202 returns nothing!

Your help is much appreciated!

Thanks

Tony
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20081105/fa768447/attachment.htm 


More information about the community mailing list