[pkg-fso-maint] GPRS Tool Script

Esteban Monge esteban.francisco at gmail.com
Fri Sep 25 20:10:42 UTC 2009


Hello I modified a little script in (1) named GPRS Tool, I test some times
and work good!

The step are:
1- Download the file (2)
2- ar -x gprs_0.1_arm.ipk data.tar.gz
3- scp data.tar.gz user at yourNeoFreerunner:/
4- ssh user at yourNeoFreerunner
5- cd /
6- tar -xvf data.tar.gz

In your desktop (Illume) you have a new Icon GPRS-Tool

But the script dont work because the lines for turn on and turn off are bad.
Search:
os.system("mdbus -s org.freesmartphone.frameworkd
/org/freesmartphone/GSM/Device org.freesmartphone.GSM.PDP.ActivateContext "
+ self.input.get_text() + " " + "\"" + self.input2.get_text() + "\" \"" +
self.input3.get_text() + "\"" )

And chage to:
os.system("mdbus -s
org.freesmartphone.*ogsmd*/org/freesmartphone/GSM/Device
org.freesmartphone.GSM.PDP.ActivateContext "
+ self.input.get_text() + " " + "\"" + self.input2.get_text() + "\" \"" +
self.input3.get_text() + "\"" )

And change the lines:
    def gprs_off(self, button):
        os.system("mdbus -s org.freesmartphone.frameworkd
/org/freesmartphone/GSM/Device
org.freesmartphone.GSM.PDP.DeactivateContext")

To:
def gprs_off(self, button):
        os.system("mdbus -s
org.freesmartphone.*ogsmd*/org/freesmartphone/GSM/Device
org.freesmartphone.GSM.PDP.DeactivateContext")

I have installed the version of frameworkd 0.9.5 (3), maybe the reason for
the error in the excecution.

Sorry for my bad english, but I hope you will understand and be of benefit
to someone.

(1) http://fyp-archiv.relei.de/
(2)
http://www.fly-society.de/web/openmoko/download_plus_script/files/gprs_0.1_arm.ipk
(3)
http://pkg-fso.alioth.debian.org/debian/pool/main/f/fso-frameworkd/fso-frameworkd_0.9.5.9+git20090920-1_all.deb
-- 
http://nuevaeracr.blogspot.com
Linux user number 478378
Linux machine number 386687
Tec. Esteban Monge Marín
Tel: (506) 8379-3562

“No habrá manera de desarrollarnos y salir de
la pobreza mientras los pocos negocios
grandes de nuestro medio se entreguen a las
economías foráneas y nosotros nos
quedemos con solo negocios de pobre,
mientras en vez de ser propietarios de nuestro
propio país nos convirtamos en un ejército de
empleados del exterior”
José Figueres Ferrer, 1952.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20090925/d06b76b4/attachment.htm>


More information about the pkg-fso-maint mailing list