Thank you for everyone's help. Indeed, I was no longer able to connect to the internet because of an empty /etc/resolv.conf
This script that was suggested worked perfectly: http://svn.openmoko.org/developers/tick/Test_env_script_GTA02A5/setneo Cheers. Dimitri 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 > -- View this message in context: http://n2.nabble.com/can%27t-connect-to-internet-after-ASU-upgrade-tp681131p682324.html Sent from the Openmoko Community mailing list archive at Nabble.com. _______________________________________________ Openmoko community mailing list [email protected] http://lists.openmoko.org/mailman/listinfo/community

