qtmoko v45
NeilBrown
neilb at suse.de
Mon Jul 2 23:53:12 CEST 2012
On Mon, 2 Jul 2012 21:57:28 +0200 Marc Langlois <langlois.marc at gmail.com>
wrote:
> Hi,
>
> After execution of Neil Brown's howto for GPRS on the GTA04, I would
> conclude as:
> +> For the connection to /dev/ttyHS3, I use minicom with the default
> settings but the connection does not work consistently.
> +> AT+CFUN = 3D1 (set phone functions on), and AT_OWANCALL=3D1,1,1
> returns me "ERROR".
>
> Here is my log:
> AT+COPS
> OK
> AT+COPS?
> + COPS: 0,0, "004f00720061006e0067006500200046", 0
>
> OK
> AT_OWANCALL = 3D1,1,1
Try dropping the spaces and the '3D' (which a mime-encoding artefact - '='
is sometimes encoded in email messages as '=3D').
So:
AT_OWANCALL=1,1,1
NeilBrown
> ERROR
> AT_OWANDATA?
> OK
>
> What are the tips for the connection débuger?
> Can you used the modem mode multiplexing (neocontrol) with a GTA04A4?
> The UMTS signal reception is good in my house.
>
> Best regards,
>
> Marc
>
> >>Neil Jerram <neil at ossau.homelinux.net> writes:
> >> Marc Langlois <langlois.marc at 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 at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: not available
URL: <http://lists.openmoko.org/pipermail/community/attachments/20120703/9f439e43/attachment-0001.pgp>
More information about the community
mailing list