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.

luci-network: TypeError while editing wireless network on second radio on gl-mt1300_v1

See original GitHub issue

Steps to reproduce:

  1. Perform a fresh install or reset on hardware with two radios, such as GL-iNet MT1300. (This isn’t required, but ensures starting from a clean install.)
  2. Go to: Network → Wireless
  3. Ensure one wireless network on each radio, adding wireless networks as needed (defaults for networks ok).
  4. Edit second wireless network (radio1.network1), change SSID, then click Save, then click Dismiss. (Save doesn’t dismiss dialog like expected, possibly start of bugged behavior)
  5. Click Edit button for the second wireless network again.

Actual behavior:

UI presents the error “TypeError chan.options[0] is undefined” and no edit dialog is shown.

Expected behavior:

The dialog for editing wireless network is displayed.

Additional Information:

root@OpenWrt:~# 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=''

Some other notes:

  • What exactly is edited on the wireless networks doesn’t seem to matter, but SSID consistently reproduces.
  • Adding a new wireless network on the second wireless interface (radio1) gives the same error.
  • Editing wireless networks on the second wireless interface works as expected prior to editing the wireless network on the first radio.
  • This works on a GL-AR750S with OpenWrt 19.07.3 and 21.02.3 (after installing kernel modules for hardware support). I’m not sure why the hardware would matter.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jow-commented, Aug 1, 2022

Yes, 22.03 will include the relevant changes. Closing this as it is already solved.

0reactions
66schoollanecommented, Aug 16, 2022

Yes, 22.03 will include the relevant changes. Closing this as it is already solved.

hi jow how do i update to 22.03 just flashed from OpenWrt 21.02.3 r16554-1d4dea6d4f / LuCI openwrt-21.02 branch git-22.083.69138-0a0ce2a

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeError when editing or adding networks on radio0
2. Go to: Network → Wireless 3. Ensure one wireless network on each radio, adding wireless networks as needed (defaults for networks ok)....
Read more >
Recommended settings for Wi-Fi routers and access points
If you don't administer the Wi-Fi network, you can bring the recommended settings in this article to the attention of the network administrator....
Read more >
Setting up a wireless network in Windows - Microsoft Support
A wireless network at home lets you get online from more places in your house. This article describes the basic steps for setting...
Read more >
Manage Wi-Fi networks - Chromebook Help - Google Support
At the bottom right, select the time. Select Settings . In the "Network" section, select Wi-Fi and then your network. Turn on Automatically...
Read more >
Wi-Fi - Wikipedia
Wi-Fi is a family of wireless network protocols, based on the IEEE 802.11 family of standards, which are commonly used for local area...
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