Monday, 12 October 2015

Disable wifi from userland



I'm using a chrooted debian within Android on a jb tablet. I would like to enable and disable wifi from a cronjob within debian. Is it possible to do it with the help from the sys or the proc filesystem?
I'm also thinking of writing a small utility in c to do the job so i'm looking for the c equivalent of the java wifimanager.wifisetenabled(). Is it a possible solution?

Cheers



No comments:

Post a Comment