03-29-2016, 02:51 PM | #1 |
Groupie
Posts: 175
Karma: 54048
Join Date: Mar 2016
Device: PW3 5.6.5-usbnet
|
Commands to switch airplane mode?
Hello!
I'm looking for commands to enable and disable the airplane mode from a script / shell. I prefer to keep WLAN off but sometimes I need it to fetch some data, eg for a KUAL ext. Turning it on and off interactively is not what I'm looking for. TIA |
03-29-2016, 04:01 PM | #2 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Start by searching (or reading) the scripts in /usr/bin # 9800 |
|
Advert | |
|
03-29-2016, 10:03 PM | #3 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
lipc command for controlling wireless as used in Aeris' Native Menu (which includes its own button for controlling the WiFi using nativeBridge for javascript ==> lipc):
Code:
#!/bin/sh wifi-enable() {lipc-set-prop com.lab126.cmd wirelessEnable 1} wifi-disable() {lipc-set-prop com.lab126.cmd wirelessEnable 0} Last edited by eschwartz; 03-29-2016 at 10:08 PM. |
03-30-2016, 12:16 PM | #4 |
Groupie
Posts: 175
Karma: 54048
Join Date: Mar 2016
Device: PW3 5.6.5-usbnet
|
Thanks a lot, this is exactly what I was looking for.
|
Tags |
airplane mode, pw3, wifi, wlan |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Updates from BB with Airplane Mode On? | pghaworth | Amazon Kindle | 26 | 10-30-2014 12:46 AM |
Auto toggle Airplane mode on Kindle Paperwhite | Inman | Amazon Kindle | 5 | 12-21-2012 05:38 PM |
Airplane Mode Keeps Enabling Itself | aglick | enTourage eDGe | 15 | 04-26-2012 12:34 PM |
Request Airplane mode - Battery Booster Crash? | Erminio Mostacci | enTourage eDGe | 1 | 08-08-2011 08:04 PM |
Airplane mode on 3g+wireless and battery life | ynot | Barnes & Noble NOOK | 1 | 04-06-2011 12:22 PM |