::HELP::web page Hotspot + Broadband

Hello
i have an idea !
HOW can include a script in my internal hotspot page to Auto configure the router of my client Like TP-link or D-link
ANY HELP
thanks