Actually it's saying Packets: X, Errors: Y (0 errors on the output you pasted)
Also, I'm not sure about what ASU does by default, but have you checked the default route? The 'gateway 192.168.0.200' line in /etc/network/interfaces should be under usb0, and you should see it when you run 'ip route show' (default via ADDRESS dev usb0). Google should also be able to provide you more information about how to set and examine default routes. If it's a freerunner, you may also want to consider getting it on a wireless network for simplicity's sake. On Friday 08 August 2008 13:00:27 Dimitri wrote: > > I installed official ASU, but it can't connect to the internet (it connected > fine, prior to ASU upgrade). > > To establish usb networking I run this script as sudo in Ubuntu: > ------------------------ > #!/bin/bash > > iptables -F > ifconfig usb0 192.168.0.200 netmask 255.255.255.0 > route add 192.168.0.202 usb0 > iptables -I INPUT 1 -s 192.168.0.202 -j ACCEPT > iptables -I OUTPUT 1 -s 192.168.0.200 -j ACCEPT > iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24 > bash -c echo '1 > /proc/sys/net/ipv4/ip_forward' > ------------------------ > > This allows me to ssh into the phone: > ssh [EMAIL PROTECTED] > > But after I log in, I try > ping google.com > and it says it's a bad address. > > And if I go to the Installer gui, it says there's a problem with my network. > > ifconfig shows the following: > ------------------------ > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > inet6 addr: ::1/128 Scope:Host > UP LOOPBACK RUNNING MTU:16436 Metric:1 > RX packets:372 errors:0 dropped:0 overruns:0 frame:0 > TX packets:372 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:30168 (29.4 KiB) TX bytes:30168 (29.4 KiB) > > usb0 Link encap:Ethernet HWaddr 26:89:D4:D8:38:1C > inet addr:192.168.0.202 Bcast:192.168.0.255 Mask:255.255.255.0 > inet6 addr: fe80::2489:d4ff:fed8:381c/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:388 errors:0 dropped:0 overruns:0 frame:0 > TX packets:186 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:46744 (45.6 KiB) TX bytes:23237 (22.6 KiB) > ------------------------ > > I see a lot of RX/TX packet errors. Could that be a clue? What am I doing > wrong? > > Dimitri -- Daniel Benoy http://daniel.benoy.name
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community