You don’t have to configure the router with the script. You can sue the built in method. (the script is not run under service-hotspot, but rather administration- commands)

What you can do is configure the router behind the 1st router with a nasid as per the WDS guide, so it reports to the control center as a WDS router, even if its connected by cable.

Manual method: Add ‘_wds’ to the NASID. So if the NASID was ‘operator’, then modify it to ‘operator_wds’. If it was ‘operator_2’, then modify it to ‘operator_2_wds’. If you are using multiple WDS routers, you can add a number to it, so it will be ‘operator_wds_2’ or ‘operator_2_wds_2’. (Administration/Hotspot or Services/Hotspot > Chillispot tab on the router’s admin panel)

If you are using the DD-wrt built-in setup method, then you should modify the “location ID” field. For location 1 this would be “1_wds” for location 2 this would be “2_wds”. If you are using multiple WDS routers, for example router 22, at location 1 would be “1_wds_22”.

You would need to set the 1st router’s lan port for free access. Be sure to read this guide CAREFULLY : http://hotspotsystem.com/deskpro/kb_article.php?ref=6778-RFZX-2714