Reply
Thread Tools
JohnLF's Avatar
Posts: 551 | Thanked: 507 times | Joined on Feb 2010 @ North West England
#11
@MohammadAG
Did consider that originally but wasn't sure if the scripts would ever end and so would nest forever eventually running out of memory. Big lack of Linux knowledge on my part there, hence the cron method.

@nidO, thanks, that's much neater!
 
Posts: 74 | Thanked: 23 times | Joined on Jan 2010 @ Germany
#12
If you could make that into a demon with dbus messaging it would be perfect.
It might even be more energy efficient because you wouldn't need polling. You could just listen for the "wifi (dis)connect event" from dbus.
 
JohnLF's Avatar
Posts: 551 | Thanked: 507 times | Joined on Feb 2010 @ North West England
#13
I didn't do that because of the hotspot issue. You could automatically connect to a hotspot with a valid IP address, but it wouldn't necessarily be active unless you clicked agree or put your card details in to buy time or logged in with an account.
It would be very annoying if you didn't want to use WiFi in a hotspot area and the phone kept changing your 3G connection to a 2G !

There could be any amount of time between connecting to a hotspot and getting a working connection, hence the polling.
 
Posts: 56 | Thanked: 7 times | Joined on Dec 2009 @ Spokane, WA
#14
Excellent idea JohnLF! This should help me a ton.

What CPU meter are you using that is shown in the status area?
 
joshv06's Avatar
Posts: 346 | Thanked: 139 times | Joined on Jan 2008 @ Houston Texas
#15
Would it be possible to switch to 3g when the phone is charging?
__________________
Nokia N900
joshuavidana@gmail.com
 
Posts: 313 | Thanked: 247 times | Joined on Jan 2010 @ USA
#16
Originally Posted by gregc2009 View Post

What CPU meter are you using that is shown in the status area?
cpumem applet - http://maemo.org/packages/view/cpumem-applet/
 
Posts: 8 | Thanked: 10 times | Joined on Jan 2010
#17
Very nice idea indeed.
However, just a little warning for those who started using their N900 on WindMobile in Canada. As I had a chance to confirm, N900 relies on the 3G based data connection for voice as well. Switching to 2G turns off the cellular connection on Wind automatically.
 
Posts: 56 | Thanked: 7 times | Joined on Dec 2009 @ Spokane, WA
#18
Works like a champ. The only thing I'd add to your first post is the need to do a chown and chmod to auto2g.sh after you get it where you need it.
 

The Following User Says Thank You to gregc2009 For This Useful Post:
Posts: 74 | Thanked: 23 times | Joined on Jan 2010 @ Germany
#19
Originally Posted by JohnLF View Post
I didn't do that because of the hotspot issue. You could automatically connect to a hotspot with a valid IP address, but it wouldn't necessarily be active unless you clicked agree or put your card details in to buy time or logged in with an account.
It would be very annoying if you didn't want to use WiFi in a hotspot area and the phone kept changing your 3G connection to a 2G !

There could be any amount of time between connecting to a hotspot and getting a working connection, hence the polling.
In that case you could start polling only if wifi is connected but not usable due to it being blocked.
Even if you want it to keep polling I think it would be nicer as a properly packaged demon, so the noobs can use it too.
 
JohnLF's Avatar
Posts: 551 | Thanked: 507 times | Joined on Feb 2010 @ North West England
#20
Good idea, I'll look into it but out of my level of knowledge here. Any takers on moving this forward to a packaged daemon?

I did think about a GUI for it, that allowed you to select
  • change back to 3G or Dual mode
  • change the messages shown (no need for localisation issues)
  • switching 3G / 2G when charger connected / disconnected
etc. etc.

I may have to have a crash course in Python / Qt
 

The Following User Says Thank You to JohnLF For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 08:32.