View Single Post
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: 22
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