Just tried opkg update/upgrade and discovered that my fr cannot access the 
Internet. I can ping my desktop, no problem. I can ping google from my 
desktop, no problem, but, i cannot ping google from my FR. 

Here is a connection script I use (adapted from USB_Networking page on the 
wiki) to connect to FR. It worked a week ago.

**** start script

#!/bin/bash

# source: http://wiki.openmoko.org/wiki/USB_Networking
# connect OpenMoko FreeRunner over USB

IFACE="eth3"

ip addr add 192.168.0.200/24 dev ${IFACE}

iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24
iptables -P FORWARD ACCEPT
sysctl -w net.ipv4.ip_forward=1

ip link set ${IFACE} up

/sbin/route add -host 192.168.0.202/32 dev ${IFACE}

# copy DNS list to FR
scp /etc/resolv.conf [email protected]:/etc/resolv.conf

*** end script

ifconfig -a on desktop gives:

...
eth3      Link encap:Ethernet  HWaddr 00:1F:11:01:8B:08  
          inet addr:192.168.0.200  Bcast:0.0.0.0  Mask:255.255.255.0
          inet6 addr: fe80::21f:11ff:fe01:8b08/64 Scope:Link        
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1        
          RX packets:148 errors:0 dropped:0 overruns:0 frame:0      
          TX packets:215 errors:0 dropped:0 overruns:0 carrier:0    
          collisions:0 txqueuelen:1000                              
          RX bytes:17190 (16.7 KiB)  TX bytes:20968 (20.4 KiB)      
...

ifconfig -a on FR gives:

...
usb0      Link encap:Ethernet  HWaddr 00:1F:11:01:8B:07
          inet addr:192.168.0.202  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::21f:11ff:fe01:8b07/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:119681 errors:0 dropped:0 overruns:0 frame:0
          TX packets:116031 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:6832997 (6.5 MiB)  TX bytes:35355884 (33.7 MiB)
...

What's the problem?



_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user

Reply via email to