Page 1 of 1

DIR-825 5GHz unavailable in web interface

Posted: Mon Jul 01, 2013 10:36 pm
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.

Re: DIR-825 5GHz unavailable in web interface

Posted: Tue Jul 02, 2013 2:30 pm
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?

Re: DIR-825 5GHz unavailable in web interface

Posted: Wed Jul 03, 2013 4:29 pm
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