![]() |
[SOLVED] turn off cellular when wifi is available
I use the N900 only as a computer. I have a sim card in it that only does data. Thus when I have wifi access there is no reason for the cellular subsystem to be on and drain battery. On the other hand when I am out, I want to be able to connect to 3G data.
I have cell-modem-ui installed and I switch to tablet mode when I am home but I am looking for a more automatic solution. Short version: I want cellular to turn off every time wifi is connected. Any pointers to where should I begin? |
Re: turn off cellular when wifi is available
Quote:
Latest version has an extra option for changing radio mode by OnConnect / OnDisconnect with the internet connection. |
Re: [SOLVED] turn off cellular when wifi is available
dbus-scripts ftw!
I installed dbus-scripts, created a control file /etc/dbus-scripts.d/onWifiConnect with this contents Code:
/home/user/onWifiConnect.sh * * com.nokia.icd status_changed * WLAN_INFRA CONNECTED onWifiConnnect.sh Code:
#!/bin/sh Code:
#!/bin/sh |
All times are GMT. The time now is 12:01. |
vBulletin® Version 3.8.8