The feature "Channel Width" on dd-wrt console:
Wireless -> Basic config
the "Channel Width" value isn't properly displayed.
Before loading the config file /tmp/ath0_hostap.conf the "Channel Width" option display 40Mhz (as my initial setup and desire.)
but after loading config file /tmp/ath0_hostap.conf the "Channel Width" options display Full (20 MHz) and the "Wireless Channel" option is blank.
Does anyone know what is the ath0_hostap.conf variable that is responsible for setting the "Channel Width" option on the dd-wrt console?
It looks like that after loading the Atheros drive via insmod, it ups it as wlan0 instead of the expected ath0 and even after renaming it to ath0 with ip link, the dd-wrt console isn't able to find "Channel Width"....
hummm where I'm broking the console display x insmod ?
The router database is not up-to-date with current release information and may suggest builds that are broken for some devices.
Second, interface names were renamed "a while ago" to standardize them across all non-Broadcom platforms (not going to find the development commits for you to explain, sorry).
You need to adjust your script to modern nomenclature. Also, the channel width and other variables may be contained in nvram variables (nvram show | grep wlan0).
Enjoy. _________________ "The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost
"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio
I don't know that I'm not running the last version of dd-wrt firmware but that was the firmware that I was able to upgrade after a broken upgrade console feature in dd-wrt =/
So, regarding the interface name, you are right, the default interface name is ath0 and after insmod the ath and ath9k modules it must be renamed from wlan0 to ath0 to main the dd-wrt standards and I think that is the issue because renaming it will probably change /proc/dev hardware address?
I think the Web Console is unable to load the Wireless -> Basic config
the "Channel Width" because of these "rename from wlan0 to ath0"
So in brief, do you know a way that even re-loading the Atheros modules (ath and ath9k) the interface would still initiate as ath0 instead wlan0?
So in brief, do you know a way that even re-loading the Atheros modules (ath and ath9k) the interface would still initiate as ath0 instead wlan0?
Let me repeat myself. The ath* interface names inside DD-WRT firmware source code were renamed to wlan* on all non-Broadcom devices. The kernel module (ath*) names do not make any difference. Rename your instances of ath0 in your script to wlan0. There is no changing hard-coded interface name values without patching your own development tree and compiling your own firmware images. _________________ "The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost
"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio
service wland restart && service checkhostapd restart
Or under Administration -> Keepalive setting up a scheduled reboot. I haven't seen the need to do either on more recent releases on TL-WR1043ND v1.8. _________________ "The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost
"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio
Yep, it freezes this morning after like running for 10h so I created a custom script with your suggestion and enabled cron. Let's see how it behaves =)