Answer the question
In order to leave comments, you need to log in
How can I control the router using php?
Good morning guys and have a great weekend. Tell me, please, is it possible to somehow manage the router from php. That is, for example, disable WAN by sending a request from php, and then turn it back on. Are there examples of solutions somewhere? I need to control the router from my script. Not necessarily PHP, you can BASH or something like that. The main thing is to learn the principle of interaction.
The router is a regular home Wi-Fi. Something like D-Link.
Thank you!
Answer the question
In order to leave comments, you need to log in
Options:
1) we follow in the firebug requests that are sent to the router when we change something in the browser in the hardware settings. And then we simulate the same requests through any programming language using the HTTP protocol
2) we put the dd-wrt firmware on the router, we stick snmpd there, and then we control the piece of iron via SNMP
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question