How to on|off flightmode from terminal? [answered]
Hello! Anybody knows how to on|off flightmode from terminal? I want to do this by cron, for to lower power consumptions. Thanks anyway!
Hello! Anybody knows how to on|off flightmode from terminal? I want to do this by cron, for to lower power consumptions. Thanks anyway!
http://talk.maemo.org/showthread.php?p=1439380
flight mode on
dbus-send --system --dest=com.nokia.mce --print-reply /com/nokia/mce/request com.nokia.mce.request.req_radio_states_change uint32:0 uint32:1
Flight mode off
dbus-send --system --dest=com.nokia.mce --print-reply /com/nokia/mce/request com.nokia.mce.request.req_radio_states_change uint32:1 uint32:1
You could use mcetool, if not installed install with devel-su pkcon install mce-tools Then you can use mcetool --disable-radio=<master|cellular|wlan|bluetooth> use the one(s) you whish to turn off and mcetool --enable-radio=<master|cellular|wlan|bluetooth> to re-enable again mcetool --disable-radio=master set flight mode, no cellular, no wlan</master|cellular|wlan|bluetooth></master|cellular|wlan|bluetooth>
Since update to to 2.1.2.3 (Kiiminkijoki) neither d-bus nor mcetool
work from nemo user.
So what command work if those 2 not anymore? I would like to use this command in Situations app, due none of network disable/enable functions work since that update :( .
liqquid ( 2018-02-04 17:59:45 +0300 )Asked: 2015-01-14 11:02:16 +0300
Seen: 911 times
Last updated: Jan 14 '15