maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Connect to Internet on demand & disconnect automatically, particularly for GPRS? (https://talk.maemo.org/showthread.php?t=38832)

calvin_42 2010-02-18 23:59

Re: Connect to Internet on demand & disconnect automatically, particularly for GPRS?
 
The application AutoDisconnect is now available in the extra-devel repository.

The thread for this app is here. Don't hesitate to post feedback there!

mclarson 2010-02-19 19:52

Re: Connect to Internet on demand & disconnect automatically, particularly for GPRS?
 
Note to all people with questions about the script I posted: Please use the autodisconnect calvin_42 uploaded to extras-devel. And don't forget to disable extras-devel afterwards blah blah!

Matan 2010-02-19 20:04

Re: Connect to Internet on demand & disconnect automatically, particularly for GPRS?
 
Quote:

Originally Posted by low life (Post 534543)
Is there a way to establish the gprs0 connection from the command line/with a simple script?

Yes. Something like
Code:

dbus-send --type=method_call --system --dest=com.nokia.icd /com/nokia/icd com.nokia.icd.connect string:"Internet Pelephone" uint32:0
Where "Internet Pelephone" should be replaced by the i.d. of your connection. Find it by examining the output of

gconftool-2 -R /system/osso/connectivity/IAP

low life 2010-02-20 13:39

Re: Connect to Internet on demand & disconnect automatically, particularly for GPRS?
 
Quote:

Originally Posted by Matan (Post 537199)
Yes. Something like
Code:

dbus-send --type=method_call --system --dest=com.nokia.icd /com/nokia/icd com.nokia.icd.connect string:"Internet Pelephone" uint32:0
Where "Internet Pelephone" should be replaced by the i.d. of your connection. Find it by examining the output of

gconftool-2 -R /system/osso/connectivity/IAP

Ah it works, thanks a lot (again)! I thought I tried that at some point and it didn't work, but I guess I did something a bit different.. That and the wiki saying that it wouldn't work with GPRS connection made me give up trying it that way. Either way, awesome!


All times are GMT. The time now is 10:11.

vBulletin® Version 3.8.8