You should be able to use the original filename and just sed
the entry into /tmp/menuTree.js. No need to occupy one of the 20 slots if you’re not modifying the original survey ASP.
Yeah, initially that's what I thought as well, but when I coded & tested a couple of ideas that at the time seemed like a good "solution," none of them worked so I decided to stick with what I knew would work, based on what I had done before for testing/debugging the modified YazFi webpages.
For the record, the following are the ideas that I tested using the original "
Advanced_Wireless_Survey.asp" file without any changes to its name or contents.
1) Added the webpage to the "
Tools" menu, leaving alone the already existing entry found in the "
Wireless" menu.
2) Added the webpage to the "
Tools" menu *and* removed the already existing entry from the "
Wireless" menu.
3) Added the webpage to the "
Tools" menu, removed the already existing entry from the "
Wireless" menu *and* changed the tab "title" just to double-check that something was in fact taking effect.
In every case, the webpage tab never became visible at all, although the webpage was indeed available under "
Tools" when I typed in the ASP file ("http://{ROUTER_IP}/Advanced_Wireless_Survey.asp") directly in the browser.
It's certainly possible that I missed some key change or "trick" to make it work, but at the time I didn't have enough time & motivation to continue on the unproductive path, so I chose the solution that was finally provided. I also figured that if someone really has the need to have 20 webGUI add-on tabs on their ASUS router, it's probably not a person that would also want the "Site Survey" webpage.