Disable Wi-Fi over SSH?

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


Joined: 08 Jan 2009
Posts: 7

PostPosted: Tue Jan 13, 2009 19:21    Post subject: Disable Wi-Fi over SSH? Reply with quote
Can someone point me towards a guide on using the terminal over SSH / Telnet? I'm able to connect over SSH without any problem but can't figure out what to do next.

What I want to do is disable (and re-enable) my wi-fi over my remote SSH connection. In other words the commands that are equivalent to
Wireless > Basic Setup > Wireless Network Mode = Disable

Thanks
Sponsor
soulstace
DD-WRT Guru


Joined: 04 Aug 2007
Posts: 6427

PostPosted: Tue Jan 13, 2009 19:56    Post subject: Reply with quote
I don't know the exact commands right of hand, but you don't really need to use the command line. If you already have remote SSH enabled, just create SSH tunnel into the HTTP port of the router. Then you connect to the UI and disable/enable wifi from there.

http://www.dd-wrt.com/wiki/index.php/Telnet/SSH_and_the_Command_Line#Local_Port_Forwarding
alain
DD-WRT Guru


Joined: 06 Jun 2006
Posts: 601

PostPosted: Tue Jan 13, 2009 21:20    Post subject: Reply with quote
wl radio off
wl radio on
soulstace
DD-WRT Guru


Joined: 04 Aug 2007
Posts: 6427

PostPosted: Tue Jan 13, 2009 21:28    Post subject: Reply with quote
yes, but that is not all the UI does. If you do wl radio off and reboot the router, the radio will come back on. If you disable it from the UI, it won't.

fhsm wrote:
In other words the commands that are equivalent to
Wireless > Basic Setup > Wireless Network Mode = Disable
fhsm
DD-WRT Novice


Joined: 08 Jan 2009
Posts: 7

PostPosted: Tue Jan 13, 2009 21:37    Post subject: Reply with quote
thanks that did the trick
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