DSL-G604T - telnet command to disable wireless?

Specific forum for all wireless related issues. Even if you have a wireless router, only post here if you have a question about issues with the wireless functionality of it. Questions about wireless access points, cards, hot-spots etc. are also welcome here.
Post Reply
padnoter
Newbie
Newbie
Posts: 4
Joined: Thu Dec 22, 2011 6:47 pm

DSL-G604T - telnet command to disable wireless?

Post by padnoter » Thu Dec 22, 2011 6:56 pm

Hi,

I know how to disable the wireless ap thru' the gui, but want to be able to program it thru' a telnet session.

i.e.
telnet 192.168.1.1 23
un>root
pw>admin
disable_ap_command??
or
setvar "apenabled" 0
etc


does anyone know the relevant command or setvar/set setting?

thanks
padnoter
User avatar
thechief
RouterTech Team
RouterTech Team
Posts: 12067
Joined: Wed Feb 01, 2006 10:22 pm
Location: England, the Centre of Africa
Contact:

Re: DSL-G604T - telnet command to disable wireless?

Post by thechief » Thu Dec 22, 2011 8:19 pm

It all depends on what your firmware provides. Which firmware are you using?
The Chief: :afro: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
padnoter
Newbie
Newbie
Posts: 4
Joined: Thu Dec 22, 2011 6:47 pm

Re: DSL-G604T - telnet command to disable wireless?

Post by padnoter » Fri Dec 23, 2011 11:55 am

Hi,

I'm using;

Software Version V1.00B02T02.UK.20050815

Software Versions
Gateway V1.00B02T02.UK.20050815
ATM Driver 4.01.00.00
DSL HAL 1.01.00.00
DSL Datapumps 1.01.00.00 Annex A
SAR HAL 01.06.06 s
PDSP Firmware 0.49
Wireless Firmware 0.3.16.13
Wireless APDK 5.5.20
Wireless Driver 1.1.2
Boot Loader 0.22.02
User avatar
thechief
RouterTech Team
RouterTech Team
Posts: 12067
Joined: Wed Feb 01, 2006 10:22 pm
Location: England, the Centre of Africa
Contact:

Re: DSL-G604T - telnet command to disable wireless?

Post by thechief » Fri Dec 23, 2011 2:32 pm

That firmware is far too old - I doubt that you can do what you're trying to do with it. However, there is one way to check. Run the following command from a telnet session on the router, and post the output

Code: Select all

echo "begin;ap:settings/ap_enabled;end" | cm_cli
The Chief: :afro: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
padnoter
Newbie
Newbie
Posts: 4
Joined: Thu Dec 22, 2011 6:47 pm

Re: DSL-G604T - telnet command to disable wireless?

Post by padnoter » Fri Dec 23, 2011 2:51 pm

that's brilliant - many thanks...

your command doesn't return anything, but that value is set & wireless is enabled/disabled with;

Code: Select all

echo "begin;ap:settings/ap_enabled=1;end" | cm_cli -l
echo "begin;ap:settings/ap_enabled=0;end" | cm_cli -l
:D

thanks again

btw - I thought I had the latest firmware - well latest I could find anyway... do you have an easy link to a better one?
User avatar
thechief
RouterTech Team
RouterTech Team
Posts: 12067
Joined: Wed Feb 01, 2006 10:22 pm
Location: England, the Centre of Africa
Contact:

Re: DSL-G604T - telnet command to disable wireless?

Post by thechief » Fri Dec 23, 2011 3:42 pm

If your current firmware is all working well for you and you need nothing more, then you might as well stick with it. Upgrading a firmware is a fraught process and not for the faint-hearted. If you are feeling adventurous, then you might want to upgrade to RouterTech - but you will first of all need to upgrade to the latest manufacturer firmware. Apparently, the latest D-Link release is version 3.02B01T01. Do a Google search for it - or you can see a list here (in Italian, but the links, towards the bottom of the page, are clear enough).

There is an Australian version (for GenII) here. And there is an older Australian version here.

As usual, all disclaimers apply. Proceed at your own risk!
The Chief: :afro: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
padnoter
Newbie
Newbie
Posts: 4
Joined: Thu Dec 22, 2011 6:47 pm

Re: DSL-G604T - telnet command to disable wireless?

Post by padnoter » Thu Dec 29, 2011 10:05 pm

thanks
Post Reply