I've installed the latest version of Qtopia on my Freerunner, and configured
it to auto-connect to my wifi network, on startup.

I can ssh into it. No problem. But, I can't connect out to the internet.

In the phone's terminal, if I type: ping google.com
I get the error: ping: bad address 'google.com'

But, if I connect the usb cable, run the script below, in Ubuntu, and then
DISCONNECT the cable, my outbound wifi connectivity suddenly works!:
-----------------------
#!/bin/bash

sudo ifconfig usb0 192.168.0.200
if (( `cat /proc/sys/net/ipv4/ip_forward` == 0 )); then
        echo 1 | sudo tee  /proc/sys/net/ipv4/ip_forward
        sudo iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -j MASQUERADE
fi
scp /etc/resolv.conf [EMAIL PROTECTED]:/etc/
-----------------------

What could be the problem? Any suggestions would be appreciated.

Dimitri
-- 
View this message in context: 
http://n2.nabble.com/strange-qtopia-wifi-connectivity-tp721367p721367.html
Sent from the Openmoko Support mailing list archive at Nabble.com.


_______________________________________________
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support

Reply via email to