Neil Jerram <n...@ossau.homelinux.net> writes:

> Marc Langlois <langlois.m...@gmail.com> writes:
>
>> Neil,
>>
>> My phone is GTA04A4.
>
> Ah, thanks.  Has GPRS actually been integrated yet in QtMoko on the
> GTA04?  I'm not sure that it has.

For ease of reference, here's Neil Brown's howto for GPRS on the GTA04
(and which it's well worth creating another copy of):

> 0/ connect to /dev/ttyHS3  (others might work)
> 1/ make sure you are registered with network.
>   e.g.
>      AT+CFUN=3D1
>      AT+COPS
>      AT+COPS?
> 
> 2/ establish data connection
>      AT_OWANCALL=3D1,1,1
> 
> 3/ collect status
> 
>    AT_OWANDATA?
>   My response was
>    _OWANDATA: 1, 49.179.102.244, 0.0.0.0, 211.29.132.12, 61.88.88.88, 0.0.0=
> .0, 0.0.0.0,144000
>                  ^IP address   ^          ^DNS-1------^  ^DNS-2----^
> 
> 4/  configure network
> 
>     ifconfig hso0 49.179.102.244 up
>     route add default dev hso0
> 
>     echo nameserver 211.29.132.12 > /etc/resolv.conf
>     echo nameserver 61.88.88.88 >> /etc/resolv.conf
> 
> 
> 
> 
> And you should be set to go.  If you want tethering via USB then add:
>  on GTA04:
>     echo 1 > /proc/sys/net/ipv4/ip_forward=20
>     iptables -t nat -A POSTROUTING -s 192.168.0.200 -j MASQUERADE
> 
>    (here 192.168.0.200 is the IP of my notebook on the USB interface.)
> 
>  on notebook/desktop/whatever
> 
>     route add default gw 192.168.0.202
>     echo nameserver 211.29.132.12 > /etc/resolv.conf
>     echo nameserver 61.88.88.88 >> /etc/resolv.conf
> 
>    (192.168.0.202 is IP of GTA04 of USB link).
> 
> To terminate data call
> 
>   AT_OWANDATA=3D1,0,1
> 
> 
> You don't need pppd at all.

But there are no occurrences of "OWAN" in the qtmoko codebase - so I'm
pretty sure it hasn't been integrated yet.

      Neil

_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community

Reply via email to