Jump to content

new ip autimated


Recommended Posts

http://www.freewebs.com/onedayillpay/screenshot.GIF

Im sure the screen shot was not needed

can this be done in the background and in under a second???

can some one show me a faster way to logginto my rounter and dissconnect.(autorecconnect after dissconnect will get me a new ip)

#include <Inet.au3>
#include <IE.au3>
$PublicIP = _GetIP()
;MsgBox(0, "IP Address", "Your IP Address is: " & $PublicIP)
$oIE = _IECreate ("http://"& $PublicIP)
Sleep(3000)
Send("bob{TAB 14}12345{ENTER}{TAB 14}{ENTER}");account and password
; 14 tabs to click dissconnect
Exit
this works and its simmple and i could put it into a loop with a timmer.
Link to comment
Share on other sites

http://www.freewebs.com/onedayillpay/screenshot.GIF

Im sure the screen shot was not needed

can this be done in the background and in under a second???

can some one show me a faster way to logginto my rounter and dissconnect.(autorecconnect after dissconnect will get me a new ip)

#include <Inet.au3>
#include <IE.au3>
$PublicIP = _GetIP()
;MsgBox(0, "IP Address", "Your IP Address is: " & $PublicIP)
$oIE = _IECreate ("http://"& $PublicIP)
Sleep(3000)
Send("bob{TAB 14}12345{ENTER}{TAB 14}{ENTER}");account and password
; 14 tabs to click dissconnect
Exit
this works and its simmple and i could put it into a loop with a timmer.
Rather than navigate all 14 tabs to reach the disconnect, I'd see if manually navigating to the final page/tab might yield an absolute path to the internal page on the router. Then you could use your _IECreate() to open that absolute URL (which would still send you a password prompt) to reduce the page load time of each prior click needed.

- MoChr(77)& Chr(97)& Chr(100)& Chr(101)& Chr(32)& Chr(121)& Chr(97)& Chr(32)& Chr(108)& Chr(111)& Chr(111)& Chr(107)-------I've told you 100,000 times not to exaggerate!-------Don't make me hit you with my cigarette hand...-------My scripts:Random Episode Selector, Keyboard MouseMover, CopyPath v2.1, SmartRename for XP,Window Tracer[sup]New![/sup]

Link to comment
Share on other sites

Rather than navigate all 14 tabs to reach the disconnect, I'd see if manually navigating to the final page/tab might yield an absolute path to the internal page on the router. Then you could use your _IECreate() to open that absolute URL (which would still send you a password prompt) to reduce the page load time of each prior click needed.

well after disconnecting a new ip is retreaved instintly so then the webrowser is worthless.

is ther a nother way to disconnect from my router?

Edited by onedayillpay
Link to comment
Share on other sites

well after disconnecting a new ip is retreaved instintly so then the webrowser is worthless.

is ther a nother way to disconnect from my router?

Are you trying to access the router from an external source? You're using a SpeedStream router. After your router retrieves a new IP address, *if* operating from inside your own network, DNS resolution should be able to resolve http://speedstream/

This is assuming that the SpeedStream is also acting as your internal DHCP server.

- MoChr(77)& Chr(97)& Chr(100)& Chr(101)& Chr(32)& Chr(121)& Chr(97)& Chr(32)& Chr(108)& Chr(111)& Chr(111)& Chr(107)-------I've told you 100,000 times not to exaggerate!-------Don't make me hit you with my cigarette hand...-------My scripts:Random Episode Selector, Keyboard MouseMover, CopyPath v2.1, SmartRename for XP,Window Tracer[sup]New![/sup]

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...