With the OpenWrt LuCI interface I can't set the Wifi band, channel or bandwidth because the drop down lists are empty. This is because the Java script has this error:
Uncaught TypeError: Cannot read property 'HT20' of null
at ra0.network1:200
This seems to be because htmodes is initialised to null and then htmodes.HT20 is referenced.
I can't find any mention of this bug with Google so I am wondering why I am getting it. I have flashed the latest firmware 20190802 but I also had the same problem with an older one. Anybody know why this is broken?
Can't set Wifi channel and bandwidth
- nophead
- Posts: 2
- Joined: Sun Feb 16, 2020 10:42 am
- Vonger
- Posts: 907
- Joined: Sun Oct 19, 2014 6:00 am
Re: Can't set Wifi channel and bandwidth
This should be somewhere trigger wifi bug, I will check later
- Vonger
- Posts: 907
- Joined: Sun Oct 19, 2014 6:00 am
Re: Can't set Wifi channel and bandwidth
The issue is about two files: /lib/netifd/wireless/ralink.sh and /etc/config/wireless.
ralink.sh will decode /etc/config/wireless, and use driver interface to setup its parameters.
and luci is using uci system making change from /etc/config/wireless
ralink.sh will decode /etc/config/wireless, and use driver interface to setup its parameters.
and luci is using uci system making change from /etc/config/wireless
- nophead
- Posts: 2
- Joined: Sun Feb 16, 2020 10:42 am
Re: Can't set Wifi channel and bandwidth
Seems more like a simple bug in the Java script to me. It explicitly sets a variable to null and then tries to reference a field of a record that is null.
4 posts
Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests