[SOLVED] iwconfig gone? (Atheros - TP-Link Archer C7)

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


Joined: 24 Jul 2022
Posts: 2

PostPosted: Sun Jul 24, 2022 13:21    Post subject: [SOLVED] iwconfig gone? (Atheros - TP-Link Archer C7) Reply with quote
I have a TP-Link Archer C7 v4 (Atheros) running DD-WRT for several years and upgraded every 3 - 4 months to the latest revision of DD-WRT.

So I recently upgraded from DD-WRT r48741 (04/26/22) to r49544 (07/22/2022) and I've noticed that some of my scripts were failing.

iwconfig is no longer there. I tried other revisions in June and May, same results. Finally, I reverted back to r48741 so my scripts are functional again, for the time being.

So I assume that at some points in time after r48741, removing iwconfig has been done on purpose.

So these days, how does a script control the router's radio (setting TX power, for example) ?
Sponsor
sumbuddie
DD-WRT User


Joined: 28 Mar 2009
Posts: 77

PostPosted: Mon Jul 25, 2022 0:08    Post subject: Reply with quote
Found this:

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=311152&sid=fde5cb9d09304853ac4e15aea0f17c03

Can't confirm, but it looks like iwconfig is a depreciated command and replaced with iw.
Wildlion
DD-WRT Guru


Joined: 24 May 2016
Posts: 1413

PostPosted: Mon Jul 25, 2022 1:35    Post subject: Reply with quote
yes iwconfig is replaced by the newer command of iw
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14207
Location: Texas, USA

PostPosted: Mon Jul 25, 2022 2:05    Post subject: Reply with quote
I concur.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
JacquesP
DD-WRT Novice


Joined: 24 Jul 2022
Posts: 2

PostPosted: Mon Jul 25, 2022 12:19    Post subject: Reply with quote
sumbuddie wrote:
Found this:

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=311152&sid=fde5cb9d09304853ac4e15aea0f17c03

Can't confirm, but it looks like iwconfig is a depreciated command and replaced with iw.


Thank you! It's exactly that! Also iw seems to be a much more elaborate command than iwconfig with many options and parameters, so when it's all about improvements, I'm for it!

And the good thing, since r48741 (04/26/22) on my Archer router has both commands, I can conveniently convert my scripts first, and then move to the current version of DD-WRT.

Again, thanks!

-Jacques
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT 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