Command Line for WIFI switch button (

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Atheros WiSOC based Hardware
Author Message
upsangel
DD-WRT Novice


Joined: 11 May 2013
Posts: 2

PostPosted: Sun May 19, 2013 1:53    Post subject: Command Line for WIFI switch button ( Reply with quote
Hi all, I have setup cron for auto scheduling the on/off of the wifi, it looks like

00 01 * * * root /sbin/ifconfig ath0 off
00 07 * * * root /sbin/ifconfig ath0 up

however, when I want to act outside the schedule (for example i want to stay online very late), i have a problem to turn it on (since I don't have a computer plug in with wire)

so i want to rely on the AOSS (or WDS on yours maby) button to turn it on, but it simply doesn't work

Quote:

picture steal from http://www.dd-wrt.com/phpBB2/viewtopic.php?t=11457, seems the broadcom one will have perfect "wl radio" where my problem won't arise.


it seems the AOSS button is not operate by "ifconfig ath0 up/down" string, can I know what's the command line for the AOSS buttom??

unlucky that the dd-wrt wiki haven't said anything about the command line behind the buttom: http://www.dd-wrt.com/wiki/index.php/SES_Button#Turning_on.2Foff_wireless

I notice one difference, when I use the AOSS buttom to turn radio off, the security LED light black-out (strange, right?); however, when I type ifconfig to turn it off, the WIFI LED light black-out. It proved that they have different command.

i m using buffalo WZR-300HP

great thanks!

[update]
i just try to compare the nvram show, ifconfig and ps outputs before and after the buttom is pressed, but seems no clue how the AOSS buttom works to turn off the radio...sign
Sponsor
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum