Help needed with code to schedule wireless

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Atheros WiSOC based Hardware
Author Message
05dyna
DD-WRT User


Joined: 25 Jan 2008
Posts: 181

PostPosted: Thu Nov 20, 2014 17:47    Post subject: Help needed with code to schedule wireless Reply with quote
I have two dd-wrt routers. Ultimately my goal is to make the TL-WDR4300v1 the main router again.

On my TL-WDR4300v1 the code below works perfectly (with 5G disabled) with build 23919 however the code below does not work correctly on my TP-LINK-WR1043NDv1 router with r25309. When I go into the TP-LINK-WR1043NDv1 status page for the Wi-Fi it shows the wireless being up however no SSID is being broadcast nor is there a connection to the wireless. So it appears to shut down correctly so the problem appears to be in the code to bring it back up.

I like having the Wi-Fi off at night so could someone tell me what I’m missing? I copied the code below from another post and altered the times, please advise. Thanks in advance


0 23,0-9 * * * root ifconfig ath0 down; iwconfig ath0 txpower 0
0 10 * * * root ifconfig ath0 up; iwconfig ath0 txpower 55mW; startservice lan

_________________
TP-LINK-WR1043NDv1 r23919
TL-WDR4300v1 r23919
Sponsor
05dyna
DD-WRT User


Joined: 25 Jan 2008
Posts: 181

PostPosted: Fri Nov 21, 2014 0:12    Post subject: Reply with quote
code to schedule wireless in cron not working in r25309 but does work in 23919... reverting back to r23919
_________________
TP-LINK-WR1043NDv1 r23919
TL-WDR4300v1 r23919
c.monty
DD-WRT Novice


Joined: 19 Nov 2014
Posts: 3

PostPosted: Fri Nov 21, 2014 7:40    Post subject: Reply with quote
05dyna wrote:
code to schedule wireless in cron not working in r25309 but does work in 23919... reverting back to r23919


Is this confirmed for any TP-Link router?

To turn off radio / WLAN, why should I set txpower 0?
To turn on radio / WLAN, why should I startservice lan that was not stopped before?

THX
05dyna
DD-WRT User


Joined: 25 Jan 2008
Posts: 181

PostPosted: Fri Nov 21, 2014 11:55    Post subject: Reply with quote
c.monty wrote:
05dyna wrote:
code to schedule wireless in cron not working in r25309 but does work in 23919... reverting back to r23919


Is this confirmed for any TP-Link router?

To turn off radio / WLAN, why should I set txpower 0?
To turn on radio / WLAN, why should I startservice lan that was not stopped before?

THX
the best answer I could give you is the code is for Atheros hardware. From looking at the the forum the code and results vary. I reverted back to my TL-WDR4300v1 and r23919, all is good
_________________
TP-LINK-WR1043NDv1 r23919
TL-WDR4300v1 r23919
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