Active Topics

 


Reply
Thread Tools
Guest | Posts: n/a | Thanked: 0 times | Joined on
#11
Originally Posted by afaq View Post
Just a thought - what if you go to settings and under Internet Connections change "Connect Automatically" to ""Always Ask".
Would that stop the sync until confirmation from the user?
yep it was mentioned earlier in the thread by as I said, I dont want to be prompted during the day if I switch from WIFI to 3G coverage ...

am I asking the impossible ??
I would have thought a simple scheduled disable of the "Internet Connection" would have worked but looks like it is not that easy !
 
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#12
I think the easiest way would be to unload the modules with a script or someting. I do not know which modules it should be and i have no clue about scripting.. but should be looking similar to something like this...

#!/bin/sh

modprobe -r <wifi-module>
modprobe -r <gprs-module>
sleep 36000;
modprobe <wifi-module>
modprobe <gprs-module>
done
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#13
You can set the GConf key /system/osso/connectivity/network_type/auto_connect to an empty list to stop automatic connections to APs or do what Wi-Fi Switcher does: rmmod wl12xx.

Schedule the key to be set back to "WLAN_INFRA" to have it connect to APs again.

Last edited by qwerty12; 2010-05-11 at 09:35.
 

The Following User Says Thank You to qwerty12 For This Useful Post:
Guest | Posts: n/a | Thanked: 0 times | Joined on
#14
yes I think you get my idea
I don't know about this modprobe but will definately look in more details.

Cheers !
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#15
Originally Posted by qwerty12 View Post
You can set the GConf key /system/osso/connectivity/network_type/auto_connect to an empty list to stop automatic connections to APs or do what Wi-Fi Switcher does: rmmod wl12xx.
perhaps I can make a combination of
Evening:
- disconnect all connections
- set auto connect to "Prompt"

Morning:
- set auto connect to "auto"
- connect available APN
 
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#16
Hmm.. here we got something maybe

http://talk.maemo.org/showthread.php...hlight=alarmed
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#17
yeah alarmed is good to schedule commands, no problem with it but I need to know what command/script to schedule first !
 
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#18
Originally Posted by Jkill View Post
yeah alarmed is good to schedule commands, no problem with it but I need to know what command/script to schedule first !
You could also try this: http://wiki.maemo.org/Fcron

http://talk.maemo.org/showthread.php...ighlight=fcron
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#19
Originally Posted by qwerty12 View Post
You can set the GConf key /system/osso/connectivity/network_type/auto_connect to an empty list to stop automatic connections to APs or do what Wi-Fi Switcher does: rmmod wl12xx.

Schedule the key to be set back to "WLAN_INFRA" to have it connect to APs again.
Any idea on how to modify this GConf key ? I had a look but it is obviously not a file to modify ..
 
Posts: 13 | Thanked: 5 times | Joined on Apr 2010
#20
I have solved the problem with ProfilesX and fcron. I have made a special night-time profile (normal volume for calls, silent for sms/email) and fcron activates it at specified time and switches back to general profile at morning.
 
Reply


 
Forum Jump


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