question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[openwrt/luci] Changing disassoc_low_ack wireless settings breaks 5g wireless [X5000R]

See original GitHub issue

Steps to reproduce:

  1. Network -> Wireless -> Edit a 5g SSID
  2. Interface Configuration -> Advanced
  3. Uncheck ‘Disassociate On Low Acknowledgement’
  4. Save & apply

Actual behavior:

Changes show the following:

# /etc/config/wireless
uci del wireless.radio1.band
uci del wireless.radio1.channel
uci add wireless.wifinet4.disassoc_low_ack='0'

Applying the changes disables wireless. Trying to edit the network again gives an error

TypeError
Cannot read properties of undefined (reading 'value')

This may be related to #5468

Expected behavior:

Example: Replace the following lines and remove this wireless.radio1.band and wireless.radio1.channel should not be deleted.

Additional Information:

OpenWrt version information from system /etc/openwrt_release

root@Tvroom:~# cat /etc/openwrt_release
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='21.02.2'
DISTRIB_REVISION='r16495-bf0c965af0'
DISTRIB_TARGET='ramips/mt7621'
DISTRIB_ARCH='mipsel_24kc'
DISTRIB_DESCRIPTION='OpenWrt 21.02.2 r16495-bf0c965af0'
DISTRIB_TAINTS=''
root@Tvroom:~# opkg list-installed | grep luci
liblucihttp-lua - 2021-06-11-3dc89af4-1
liblucihttp0 - 2021-06-11-3dc89af4-1
luci - git-20.074.84698-ead5e81
luci-app-acl - git-21.194.67638-1d6053e
luci-app-firewall - git-22.089.67741-3856d50
luci-app-opkg - git-21.312.69848-4745991
luci-base - git-22.083.69138-0a0ce2a
luci-lib-base - git-20.232.39649-1f6dc29
luci-lib-ip - git-20.250.76529-62505bd
luci-lib-jsonc - git-22.097.61937-bc85ba5
luci-lib-nixio - git-20.234.06894-c4a4e43
luci-mod-admin-full - git-19.253.48496-3f93650
luci-mod-network - git-22.046.85061-dd54dce
luci-mod-status - git-22.046.85784-0ac2542
luci-mod-system - git-22.019.40321-7a37d02
luci-proto-ipv6 - git-21.148.49484-14511e5
luci-proto-ppp - git-21.163.64918-6c6559a
luci-ssl - git-20.244.36115-e10f954
luci-theme-bootstrap - git-22.084.39047-f1d687e
rpcd-mod-luci - 20210614

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jow-commented, Apr 27, 2022

This is caused by a too old libiwinfo in OpenWrt base which does not understand the new option path ...+1 syntax used to identify the 5GHz radio phy. This has all sorts of weird side effects, like not being to identify the available operation modes, frequencies and so on.

I backported libiwinfo updates into the openwrt-21.02 branch now, the autobuilders will pick those up eventually and push new package versions to the binary repos. To fix the issue, you can then upgrade libiwinfo20210430 via opkg.

OpenWrt 21.02.4 will contain the updated package directly then.

0reactions
freaksdotcomcommented, May 2, 2022

21.02.3 with upgraded packages is working.

# cat /etc/openwrt_release
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='21.02.3'
DISTRIB_REVISION='r16554-1d4dea6d4f'
DISTRIB_TARGET='ramips/mt7621'
DISTRIB_ARCH='mipsel_24kc'
DISTRIB_DESCRIPTION='OpenWrt 21.02.3 r16554-1d4dea6d4f'
DISTRIB_TAINTS=''
# opkg list-installed|grep luci
liblucihttp-lua - 2021-06-11-3dc89af4-1
liblucihttp0 - 2021-06-11-3dc89af4-1
luci - git-20.074.84698-ead5e81
luci-app-firewall - git-22.089.67741-3856d50
luci-app-opkg - git-21.312.69848-4745991
luci-base - git-22.119.37126-a993714
luci-lib-base - git-20.232.39649-1f6dc29
luci-lib-ip - git-20.250.76529-62505bd
luci-lib-jsonc - git-22.097.61937-bc85ba5
luci-lib-nixio - git-20.234.06894-c4a4e43
luci-mod-admin-full - git-19.253.48496-3f93650
luci-mod-network - git-22.046.85061-dd54dce
luci-mod-status - git-22.046.85784-0ac2542
luci-mod-system - git-22.019.40321-7a37d02
luci-proto-ipv6 - git-21.148.49484-14511e5
luci-proto-ppp - git-21.163.64918-6c6559a
luci-ssl - git-20.244.36115-e10f954
luci-theme-bootstrap - git-22.084.39047-f1d687e
rpcd-mod-luci - 20210614
# ubus call iwinfo info '{ "device": "radio1" }'

{
	"phy": "phy1",
	"bssid": "00:0C:43:4A:21:50",
	"country": "US",
	"mode": "Master",
	"channel": 52,
	"center_chan1": 58,
	"frequency": 5260,
	"frequency_offset": 0,
	"txpower": 23,
	"txpower_offset": 0,
	"quality_max": 70,
	"noise": 0,
	"htmodes": [
		"HT20",
		"HT40",
		"VHT20",
		"VHT40",
		"VHT80",
		"HE20",
		"HE40",
		"HE80",
		"HE80+80",
		"HE160"
	],
	"hwmodes": [
		"ac",
		"ax",
		"n"
	],
	"hwmode": "ac",
	"htmode": "VHT80",
	"hardware": {
		"id": [
			5315,
			30997,
			5315,
			30997
		],
		"name": "MediaTek MT7915E"
	}
}
# ubus call iwinfo freqlist '{ "device": "radio1" }'
{
	"results": [
		{
			"channel": 36,
			"mhz": 5180,
			"restricted": false,
			"active": false
		},
		{
			"channel": 40,
			"mhz": 5200,
			"restricted": false,
			"active": false
		},
		{
			"channel": 44,
			"mhz": 5220,
			"restricted": false,
			"active": false
		},
		{
			"channel": 48,
			"mhz": 5240,
			"restricted": false,
			"active": false
		},
		{
			"channel": 52,
			"mhz": 5260,
			"restricted": false,
			"active": true
		},
		{
			"channel": 56,
			"mhz": 5280,
			"restricted": false,
			"active": false
		},
		{
			"channel": 60,
			"mhz": 5300,
			"restricted": false,
			"active": false
		},
		{
			"channel": 64,
			"mhz": 5320,
			"restricted": false,
			"active": false
		},
		{
			"channel": 100,
			"mhz": 5500,
			"restricted": false,
			"active": false
		},
		{
			"channel": 104,
			"mhz": 5520,
			"restricted": false,
			"active": false
		},
		{
			"channel": 108,
			"mhz": 5540,
			"restricted": false,
			"active": false
		},
		{
			"channel": 112,
			"mhz": 5560,
			"restricted": false,
			"active": false
		},
		{
			"channel": 116,
			"mhz": 5580,
			"restricted": false,
			"active": false
		},
		{
			"channel": 120,
			"mhz": 5600,
			"restricted": false,
			"active": false
		},
		{
			"channel": 124,
			"mhz": 5620,
			"restricted": false,
			"active": false
		},
		{
			"channel": 128,
			"mhz": 5640,
			"restricted": false,
			"active": false
		},
		{
			"channel": 132,
			"mhz": 5660,
			"restricted": false,
			"active": false
		},
		{
			"channel": 136,
			"mhz": 5680,
			"restricted": false,
			"active": false
		},
		{
			"channel": 140,
			"mhz": 5700,
			"restricted": false,
			"active": false
		},
		{
			"channel": 144,
			"mhz": 5720,
			"restricted": false,
			"active": false
		},
		{
			"channel": 149,
			"mhz": 5745,
			"restricted": false,
			"active": false
		},
		{
			"channel": 153,
			"mhz": 5765,
			"restricted": false,
			"active": false
		},
		{
			"channel": 157,
			"mhz": 5785,
			"restricted": false,
			"active": false
		},
		{
			"channel": 161,
			"mhz": 5805,
			"restricted": false,
			"active": false
		},
		{
			"channel": 165,
			"mhz": 5825,
			"restricted": false,
			"active": false
		},
		{
			"channel": 169,
			"mhz": 5845,
			"restricted": true,
			"active": false
		},
		{
			"channel": 173,
			"mhz": 5865,
			"restricted": true,
			"active": false
		}
	]
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

[openwrt/luci] Changing disassoc_low_ack wireless settings ...
[openwrt/luci] Changing disassoc_low_ack wireless settings breaks 5g ... Edit a 5g SSID; Interface Configuration -> Advanced; Uncheck 'Disassociate On Low ...
Read more >
Setting `disassoc_low_ack '0'` kills 5g wireless - OpenWrt Forum
I'm running nightlies on a TOTOLINK X500R and ran into a problem when disabling this option via LUCI. wireless.radio1.band and wireless.radio1.
Read more >
X5000R wireless 5GHz issue - Installing and Using OpenWrt
can render LUCI GUI to work in perfect harmony with 5GHz radio by following ... Changing wireless settings breaks wireless [X5000R] #5468
Read more >
Lost Wifi connection on smart TV - Installing and Using OpenWrt
Hi all, I am using router Totolink X5000R with openwrt 21.02 I have a problem when my TV (Samsung SmartTV) connect to wifi...
Read more >
X5000R wireless 5GHz issue - Installing and Using OpenWrt
Because using LUCI to do the setting is broken for 5GHz radio, ... your changes are not showing up in the wireless config...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found