On 28 July 2010 17:39, Esben Stien <[email protected]> wrote:
> I'm using the script from the wiki[0]:
>
> #!/bin/sh
> APN="internet.parlino.se"
> USERNAME="x"
> PASSWORD="x"
> BUSNAME="org.freesmartphone.ogsmd"
> OBJECTPATH="/org/freesmartphone/GSM/Device"
> SETMETHODNAME="org.freesmartphone.GSM.PDP.SetCredentials"
> ACTMETHODNAME="org.freesmartphone.GSM.PDP.ActivateContext"
> mdbus2 -s $BUSNAME $OBJECTPATH $SETMETHODNAME $APN "$USERNAME"
> "$PASSWORD"
> mdbus2 -s $BUSNAME $OBJECTPATH $ACTMETHODNAME
>
> , but it reports:
>
> [ERR]: No method org.freesmartphone.GSM.PDP.SetCredentials found at 
> /org/freesmartphone/GSM/Device for org.freesmartphone.ogsmd
> [ERR]: Need 3 params for signature 'sss', supplied 0

It works for me (tho I always use the method from the quick settings).
Can you run the script with "sh -x ...". What shell do you use?
_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user

Reply via email to