If the log file is empty it means that my code never get the instructions from the GUI.
Can't explain why.
Also the strange thing about enter credentials is strange. That problem others have even with Netgear stock firmware (You can search Netgear forum a.o.).
The remedy for that is to CHANGE password (NOT just enter your old credentials), or it will stay bad until you do.
Maybe this is your/our real problem? Can you change password and see if any change? And use a password without non-alphanumeric characters.
Netgear has had many problems with different character sets through the years and their html code is a "jungle" of tries to fix it.
And never use an old window/tab when trying this out!
Always start with a new tab, recommended to use an incognito tab to be professional.
You never know what "s*t" your browser puts in it's cache, especially if you once have allowed
google to "speed up" you connections by "buffering/caching" things. That mess up a lot of things as well.
But I guess you know already, you don't need to hear this. But maybe some other user can benefit from this knowledge.
For the WiFi-show problem. Make sure there are no strange characters in the device names - also a long being Netgear problem.
E.g. a "*" in the name could destroy "anything"...
And I hope you don't use smart-connect - another dangerous setting what I have read.
But thanks you use Voxel and not Netgear stock code. That saves you many many issues and safety issues. Viva
@Voxel!
High cpu load causes timeout in the Netgear web-server!
What is your CPU load? Actually a snapshot of the the Router Information page would give a lot of information about your router!
What language you use in the GUI?
Ok, running out of ideas for now. Exhausted after another tough day in life.
Tomorrow big screening. Hope for good news.
Have a good evening or night or morning!
Sincerely,
Kamoj
PS
Finally, what did the Chrome debug mode say? Any problems detected?
I ran your test, but the results are confusing.
First I created the log file, and then touched the "Output WiFi devices info to syslog when loading addon debug page" check box. The check mark flashed and disappeared. I then ran "cat /var/logs/kamoj.log", but there was no output. And I looked at the file size before deleting the log. It was "0" bytes (which explains why there was no output).
So I tried again. I created a new log file, and returned to the settings page. Again, I tried to check the box for "Output WiFi devices info to syslog when loading addon debug page". This time the check mark did NOT appear, but rather I immediately was presented with an authentication box (to enter admin + p/w). I entered my credentials, the page refreshed, and I noticed that the check box was NOW checked. I then ran "cat /var/logs/kamoj.log" and the related log file is:
2020-04-28 12:17:33 ------------------------------------------------------------------------------
2020-04-28 12:17:33 kamoj.cgi called: --->addon_toggles=kamoj&wifi_info_to_syslog=on<--- 42 characters
2020-04-28 12:17:33 kamoj.sh: Main called with -addon_toggles=kamoj&wifi_info_to_syslog=on-
2020-04-28 12:17:33 kamoj.sh: addoncmd: addon_toggles
2020-04-28 12:17:33 kamoj.sh: Decode the message: addon_toggles
2020-04-28 12:17:33 kamoj.sh: do_addon_toggles: begin
2020-04-28 12:17:34 kamoj.sh: do_addon_toggles: end
2020-04-28 12:17:34 kamoj.sh: Exiting...
I assume this is what you would want it to be.
But now I can't UNcheck the box (or check any of the others). And when I try, the log file is again 0 bytes. :'(
So, almost all of the time, the GUI commands on the Settings page aren't being implemented. I checked some of your other pages (OpenVPN and Wireguard). I didn't actually try to implement anything (nor did I create log files); I only wanted to see whether I could check and uncheck boxes. I could. So perhaps my issues are limited to the Kamoj Settings page.