Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 01-08-2024, 11:28 PM   #1
KetchupCider
Member
KetchupCider can extract oil from cheeseKetchupCider can extract oil from cheeseKetchupCider can extract oil from cheeseKetchupCider can extract oil from cheeseKetchupCider can extract oil from cheeseKetchupCider can extract oil from cheeseKetchupCider can extract oil from cheeseKetchupCider can extract oil from cheese
 
Posts: 20
Karma: 1000
Join Date: Jan 2024
Device: Paperwhite 4, Paperwhite 5 SE
Airplane Mode/Wifi Toggle from Command Line

Hi,
I'm hoping to find out how to turn on/off my wireless connectivity from command-line. I've tried a few commands to test this:
  • ifconfig wlan0 down
  • ip link set wlan0 down
  • iw int wlan0 down
  • ip link set dev wlan0 down
  • ifdown wlan0
and many other commands that have worked on Linux elsewhere, but these don't seem to work on the Kindle from my testing so far.

For additional context, my goal is to use cron scheduling to enable Wifi daily for a brief connect & sync period from one Kindle, so it won't need to have Wifi connected constantly.

I'm certain invoking Airplane mode from command-line would be sufficient as well, but I'm just not certain how to do that at this point. Has anyone done this before?
KetchupCider is offline   Reply With Quote
Old 01-09-2024, 08:53 AM   #2
shamanNS
Guru
shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.
 
Posts: 886
Karma: 10113994
Join Date: Feb 2010
Location: Serbia
Device: Kindle PW5 [bricked], Kindle PW1
Try those commands:

Code:
 
lipc-set-prop com.lab126.cmd wirelessEnable 1
lipc-set-prop com.lab126.cmd wirelessEnable 0
shamanNS is offline   Reply With Quote
Old 01-09-2024, 10:06 PM   #3
KetchupCider
Member
KetchupCider can extract oil from cheeseKetchupCider can extract oil from cheeseKetchupCider can extract oil from cheeseKetchupCider can extract oil from cheeseKetchupCider can extract oil from cheeseKetchupCider can extract oil from cheeseKetchupCider can extract oil from cheeseKetchupCider can extract oil from cheese
 
Posts: 20
Karma: 1000
Join Date: Jan 2024
Device: Paperwhite 4, Paperwhite 5 SE
Quote:
Originally Posted by shamanNS View Post
Try those commands:

Code:
 
lipc-set-prop com.lab126.cmd wirelessEnable 1
lipc-set-prop com.lab126.cmd wirelessEnable 0
That worked perfectly, thank you!!
KetchupCider is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to configure wifi from the command line Kindleschokolade Kindle Developer's Corner 5 09-11-2023 02:53 AM
iPhone Airplane mode engaging by itself? OtinG Apple Devices 0 03-04-2021 02:00 PM
Change ebook metadata using filename in command-line mode hfpop Calibre 4 02-18-2016 05:35 PM
Auto toggle Airplane mode on Kindle Paperwhite Inman Amazon Kindle 5 12-21-2012 05:38 PM
which command does uds send to toggle fullscreen? Iñigo iRex Developer's Corner 16 08-06-2010 09:51 AM


All times are GMT -4. The time now is 05:20 AM.


MobileRead.com is a privately owned, operated and funded community.