DIR-825 5GHz unavailable in web interface

Report wireless and/or network connectivity problems in this forum.

Moderator: Moderators

Post Reply
User avatar
ldpinney
Posts: 12
Joined: Fri Jan 21, 2011 10:46 pm

DIR-825 5GHz unavailable in web interface

Post by ldpinney »

Recent upgrade on my DIR-825 b1 to 1.5.10 from 1.5.7.
I did not "Attempt to Preserve Settings" on the "Upgrade Firmware" page.
Settings for the "Dual Band" or the 5G radio are not present in the web interface.

In /etc/config/wireless
config wifi-device 'radio3'
I set the channel then enabled the radio.
option disabled '0'

Then appended to /etc/config/wireless
config wifi-iface 'ap_a'
option device 'radio3'
option mode 'ap'
option network 'lan'
option ssid 'OpenWrt_5G'
option encryption 'psk'
option key 'your-passwd"

/etc/init.d/network reload

5G now works and shows on the "Status" page
However "Dual Band" is not available on the "Connection > Wireless" page.

BashfulBladder
Moderator
Posts: 250
Joined: Thu Jan 17, 2013 11:43 pm

Re: DIR-825 5GHz unavailable in web interface

Post by BashfulBladder »

I assume that when you view the source of the basic.sh page in your browser, dualBandWireless=false.

dualBandWireless is set /usr/lib/gargoyle/cache_basic_vars.sh

Code: Select all

#test for dual band
	if [ `uci show wireless | grep wifi-device | wc -l`"" = "2" ] && [ -e "/sys/class/ieee80211/phy1" ] && [ ! `uci get wireless.@wifi-device[0].hwmode`"" = `uci get wireless.@wifi-device[1].hwmode`""  ] ; then
		echo "var dualBandWireless=true;" >> "$out_file"
	else
		echo "var dualBandWireless=false;" >> "$out_file"
	fi
maybe set hwmode?
TP-Link WDR3600 v1.1 running 1.5.10+ L10n-English (Built 20130922 - OpenWrt r38093)
TP-Link WDR4300 running 1.5.10+ i18n-English (Built 20131010 - OpenWrt r38286)

https://github.com/BashfulBladder/gargoyle-plugins/wiki

User avatar
ldpinney
Posts: 12
Joined: Fri Jan 21, 2011 10:46 pm

Re: DIR-825 5GHz unavailable in web interface

Post by ldpinney »

Solved :

Yes page source indicated " var dualBandWireless=false; "

In /etc/config/wireless
For unknown reason there were entries for 4 radios

Deleted the non-working entries
Then edited the working entries

/etc/init.d/network reload

Fully Working Unit

Post Reply