Jump to content

Dlink Router Script


jgphp

Recommended Posts

Hello All.

First of all I am new to this forum so. Here is my first question.

 

I would like to create a php script that communicates to my home router.

which is a DSL DLink Router. So far I have figured out how to reboot the

router by loading the reboot.html file by clicking a button I created which

automatically logs into the router and reboots.

 

My issue is trying to enter information from my script to the device. I created

a html form and added the username and password for the ISP login. What I

would like to do is submit this to the router without entering the routers GUI.

 

I copied the form ACTION which is /Form_1 I changed it in my form to

192.168.1.1/Form_1 yet the information is not submitted nor is there any action

taken by the router.

 

Any information on how to enter information into a router using a automatic script

or forms. any ideas would be perfect. If examples can be added that would also

be perfect.

 

Many thnaks

Happy Holidays.

Link to comment
Share on other sites

I am doing that but I cannot login to the router using telnet via php. However I can using Putty.

 

Any Ideas on the script I should write (note that the router only asks for a password no username)

 

Many thanks for the previous quick response

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.