Topic: Wifi toggle by QSS button on TP-link TL-WR741ND
Hi, I succedeed in flashing the firmware of my TP-link TL-WR741ND with openwrt Backfire (r22689).
Now I really need to enable toggle on/off of wireless directly from the Frontal QSS button, but I don't know how to do it.
Following the Wiki I succedeed in reading the gpio 12 (qss button) value and I noticed that normally is 1 and when pressed it goes to zero.
I want to write a script that checks the status of the button and when pressed enable the wifi is it was previously disabled and viceversa.
Now I need to know the command line command to get the wifi status (if it is ON or OFF) Is there any way to know if wifi is up or down by using a simple command?
and the command line to enable and disable it (wifi up and down works but I need to read the wifi status) or is there an alternative?
By using the procedure described in the wiki I need to unload the module gpio_buttons this can cause any problem?
I found a package called wifitoggle can't I use it? and how?
Tp-Link TL-WR741ND (v1.5) - OpenWRT Backfire (r22689) - USB mod ... work in progress