Sign in to follow this  
Followers 0

some1 got an ip reset script for a router?

5 posts in this topic

hey all , as im rly new to autoit and dont understand it right i try to ask if some1 of ya can maybve write a ip reset script for my adsl netgear router D834GB ( , if sum1 could do this for i would be rly rly rly apriciated to him/her :lmao:

thx in advance to all who looked/helped :P

Share this post

Link to post
Share on other sites

i would make a .bat file and put this into it.

@echo off
@ipconfig /renew
Sometimes it works. Sometimes it dosn't.

Share this post

Link to post
Share on other sites

#3 ·  Posted (edited)

You actually don't need AutoIt at all.

Downlod cURL: The first link for "Win32 - Generic" seems to work here:

I don' t know the specifics for your router, but the following is based on a Netgear WGR614 v2 router:

curl -u admin:yourPassword

You just need to figure out the reset command.... View the source code of the page to determine the action of the button....

It seems that the following should also retrieve the status page, but it doesn't ""

I also had an SMC router, and I can tell you that the following commands performed a reset:



See the cURL manual for info:

I don't know much about cURL, so I cannot answer any questions, sorry.

Edited by CyberSlug

Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

Share this post

Link to post
Share on other sites

I have an SMCWBR16T-G model.

To reset this router I have used the following script:



curl -d "pws=MYPASSWORD" "http://${routerIP}/cgi-bin/login.exe"

curl "http://${routerIP}/cgi-bin/restart.exe?name=RebootForm"

exit 0

Share this post

Link to post
Share on other sites


I take it you did not notice the post above yours dates from SEVEN years ago? :wacko:

A warm welcome to the AutoIt forum - but please do not necro-post like this again. ;)


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:


ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

Share this post

Link to post
Share on other sites
This topic is now closed to further replies.
Sign in to follow this  
Followers 0