Can't set Wifi channel and bandwidth

nophead
 
Posts: 2
Joined: Sun Feb 16, 2020 10:42 am

Can't set Wifi channel and bandwidth

Fri Feb 21, 2020 6:32 pm

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?

Vonger
 
Posts: 896
Joined: Sun Oct 19, 2014 6:00 am

Re: Can't set Wifi channel and bandwidth

Sun Feb 23, 2020 8:17 am

This should be somewhere trigger wifi bug, I will check later :)

Vonger
 
Posts: 896
Joined: Sun Oct 19, 2014 6:00 am

Re: Can't set Wifi channel and bandwidth

Thu Feb 27, 2020 8:30 am

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

nophead
 
Posts: 2
Joined: Sun Feb 16, 2020 10:42 am

Re: Can't set Wifi channel and bandwidth

Wed Mar 04, 2020 10:21 pm

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.

Return to VoCore2/Lite/Ultimate

Who is online

Users browsing this forum: Google [Bot] and 40 guests