Notices


Reply
Thread Tools
Guest | Posts: n/a | Thanked: 0 times | Joined on
#161
I have just discovered this app with the dbus-send command it is just great!
I hated the fact that IMAP email check could not be desactivated during the night, well now I can schedule an internet disconnect in the evenings and schedule an internet connect early in the mornings (http://wiki.maemo.org/Phone_control)
Brilliant !
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#162
actually it does not work as expected ... My schedule does work but if any process require a connection to Internet, it will re-establish a connection (either WLAN or GPRS).
anybody would have an idea of how to "disable" completely internet connectivity and enable.
I think I know how to disable the wlan0 on demand but I am guessing that if an internect connection is required, it will then use the gprs which I dont know how to disable, I could simply disable wlan + radio but I want to keep the phone application running too
any ideas?
 
Posts: 539 | Thanked: 165 times | Joined on Feb 2010 @ Berlin, Germany
#163
Did you set the entry in Settings - Network Connection - Automatic Connection to Always ask (probably the the entries are called differently, my lang is german, so I just don't know the english entries)? That should prevent the device to automatically connect to internet and will pop up a request instead.
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#164
that's a good point, yes I did set it to connect automatically simply because I don't want to confirm. I don't really want to have to confirm everytime the phone comes in a known wifi zone or 3G.
I created a post here
 

The Following User Says Thank You to For This Useful Post:
evad's Avatar
Posts: 354 | Thanked: 151 times | Joined on Mar 2008 @ London (UK) / Zielona Góra (PL)
#165
Originally Posted by x-lette View Post
Did you set the entry in Settings - Network Connection - Automatic Connection to Always ask (probably the the entries are called differently, my lang is german, so I just don't know the english entries)? That should prevent the device to automatically connect to internet and will pop up a request instead.
Actually, I'm also looking for a way to change that "automatic connection" setting via CLI and/or some config file. I also like to keep that setting on, so it would connect automatically, but overnight or whenever battery goes low, I'd like to disable it automagically.

Anyone knows where this setting is set in the system?

UPDATE:
Solution found. Setting for this is stored under "auto_connect":

Code:
gconftool-2 -R /system/osso/connectivity/network_type
Value of "[*]" is "Any connection" and "[]" is "Always ask".
__________________
Dawid 'evad' Lorenz * http://dawid.lorenz.co
_______________________________________________

Last edited by evad; 2010-05-11 at 11:38. Reason: Solution found
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#166
awesome
any details on how to modify the value of auto_connect ?
 
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#167
any chance we can select profiles made by the ProfilesX app??

thanks
 
evad's Avatar
Posts: 354 | Thanked: 151 times | Joined on Mar 2008 @ London (UK) / Zielona Góra (PL)
#168
Originally Posted by Jkill View Post
awesome :)
any details on how to modify the value of auto_connect ?
Always ask:
Code:
gconftool-2 --set --type list --list-type string /system/osso/connectivity/network_type/auto_connect []
Any connection:
Code:
gconftool-2 --set --type list --list-type string /system/osso/connectivity/network_type/auto_connect[*]
UPDATE:
I have quickly crafted a shell script which you could put in place like /usr/local/bin and then use via x-terminal:

Code:
power-saver.sh
Code:
power-saver.sh off
Or schedule it for automatic overnight execution via Alarmed, if you wish.
Attached Files
File Type: zip power-saver.sh.zip (488 Bytes, 110 views)
__________________
Dawid 'evad' Lorenz * http://dawid.lorenz.co
_______________________________________________

Last edited by evad; 2010-05-11 at 12:47. Reason: Uploading shell script
 
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#169
Originally Posted by f2thak View Post
any chance we can select profiles made by the ProfilesX app??

thanks
As long as you can execute custom commands, you can activate those profiles, too.
http://wiki.maemo.org/Phone_control#Set_Silent
ProfilesX profiles can be used just like "silent" and "general".
This is one reason I made this app.

nicolai
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#170
ok I have find a way to "untick" the auto connect option using GConf, but I cannot seem to "tick" it back.
when I set the auto_connect to "[]" it works:

gconftool-2 -g /system/osso/connectivity/network_type/auto_connect
[]

but when I set it to"[*]" it doesn't ..
gconftool-2 -g /system/osso/connectivity/network_type/auto_connect[*]

any idea?
 
Reply


 
Forum Jump


All times are GMT. The time now is 20:39.