Ansuel / tch-nginx-gui

Modified file to apply to a stock technicolor GUI
GNU General Public License v3.0
340 stars 52 forks source link

Changing wireless settings end up in error #1097

Open nob0dy80 opened 2 years ago

nob0dy80 commented 2 years ago

Device Model/Firmware: DGA4132 / 2.2.1 GUI Version: 9.6.65 (fresh install, no upgrade)

The only thing that is working in the wireless config is on/off. Trying to change the country, the ID or the password ends up in error and not saving the changes. "Some paramters failed validation wps_button_handler: Invalid value"

All changes can be done in the original gui successfully.

sanzoghenzo commented 1 year ago

I had the same issue, while trying to enable the Guest Wifi.

I "solved" by forcing the WPS Buttom Mode (see the typo here?) to something, because it was not set to anything, even though uci showed button.wps.handler='pairing_button.sh wps_button_pressed.sh'

(I forgot to take the "before" screenshot) image

after enabling the WPS Mode and saving, uci only shows button.wps.handler='wps_button_pressed.sh'.

Having a quick look at the code, I guess this is happening because it expects to get only the exact match while validating against wps_button_mode enum.