Command line disable enable wl1 5ghz radio r7000

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
slidermike
DD-WRT Guru


Joined: 11 Nov 2013
Posts: 1487
Location: USA

PostPosted: Thu Jul 03, 2014 4:08    Post subject: Command line disable enable wl1 5ghz radio r7000 Reply with quote
I have been looking around the internet without much luck for current/working commands to use.

What I would like to know how to do is enable/disable the 5ghz radio via the command line without taking the whole router down or even the 2.4ghz radio.

I believe it should be like this.
nvram set wl1_radio=1 (on)
nvram set wl1_radio=0 (off)
tried
nvram set wl1_radio="1"
nvram set wl1_radio="0"
tried
nvram set wl1_radio 1
nvram set wl1_radio 0
tried
nvram set wl1 radio on
nvram set wl1 radio off

None of these made a difference.
Anyone who knows the commands care to share please?

Thank you
Mike

_________________
Router currently owned:
Netgear R7800 - Router
Netgear R7000 - AP mode

R7000 specific Tips/Tricks.
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=264152
Sponsor
BasCom
DD-WRT Guru


Joined: 29 Jul 2009
Posts: 1378
Location: Germany

PostPosted: Thu Jul 03, 2014 14:56    Post subject: Reply with quote
wl -i eth2 down

if eth2 is your 5ghz radio

_________________
RT-N66U @ Build 25697M K3.10.63
TL-WR842ND v1 @ BS-build 23919 WDS AP
TL-WR841ND @ BS-build 23919 WDS Client
TL-WR841ND @ BS-build 23919 Client Bridge ( Routed )
slidermike
DD-WRT Guru


Joined: 11 Nov 2013
Posts: 1487
Location: USA

PostPosted: Sat Jul 05, 2014 21:15    Post subject: Reply with quote
Thank you BasCom.
I will put that command into my file for later use.
Smile

_________________
Router currently owned:
Netgear R7800 - Router
Netgear R7000 - AP mode

R7000 specific Tips/Tricks.
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=264152
evolvente23
DD-WRT Novice


Joined: 01 May 2014
Posts: 41

PostPosted: Sat Aug 15, 2015 9:48    Post subject: Reply with quote
For cron I use "startservice radio_off_0" for 2,4GHz and "startservice radio_off_1" for 5GHz.
I think Kong has written that in another thread and this works for my R7000.

Example for a cron job to turn off eth1 at 7:30 am:
30 7 * * 1-5 root startservice radio_off_0

update: to toggle guest wifi on/off you should use ifconfig wl0.1 down (or whatever your VAP is named). That worked for my E4200, for R7000 I haven't tested it so far.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC 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 can attach files in this forum
You can download files in this forum