[SHR] Howto configure GPRS

2009-03-16 Thread Pander
Hi all,

Many information is available on GPRS but the things I've tested scripts
from the Wiki were probably outdated, or I used them wrongly because I
was/am in the woods on debugging or tracing GPRS software. So, ...

How can one configure GPRS on SHR (latest testing). I'm willing to make
good and tested documentation for the Wiki if someone can tell me how to
get started and what to do exactly plus describing how to test each step.

Also, what will happen if you have network via usb, wifi and GPRS at the
same time? Will SHR be able to cope with all that or do you as a user
should avoid such a situation for now? In which order will the network
connection be selected?

Thanks,

Pander

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


Re: [SHR] Howto configure GPRS

2009-03-16 Thread kimaidou
Hi pander,

First, you need to load the ppp modules

echo ppp-generic  /etc/modutils/ppp-generic
update-modules


For me the easiest way to connect and disconnect to my GPRS provider (
mmsbouygtel.com) is to load theses scripts using dbus commands:

To connect (you must chmod +x the script, and replace mygprs_address by
yours, e.g mmsbouygtel.com for me; the x x at the end must be replaced by
login password if you need them.)

#!/bin/sh
mdbus -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device
org.freesmartphone.GSM.PDP.ActivateContext mygprs_address x x

To disconnect, just use (after chmod +x )

#!/bin/sh
#gprsoff
mdbus -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device
org.freesmartphone.GSM.PDP.DeactivateContext



2009/3/16 Pander pan...@users.sourceforge.net

 Hi all,

 Many information is available on GPRS but the things I've tested scripts
 from the Wiki were probably outdated, or I used them wrongly because I
 was/am in the woods on debugging or tracing GPRS software. So, ...

 How can one configure GPRS on SHR (latest testing). I'm willing to make
 good and tested documentation for the Wiki if someone can tell me how to
 get started and what to do exactly plus describing how to test each step.

 Also, what will happen if you have network via usb, wifi and GPRS at the
 same time? Will SHR be able to cope with all that or do you as a user
 should avoid such a situation for now? In which order will the network
 connection be selected?

 Thanks,

 Pander

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

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