? getting ip and dhcp info from linksys befsr41
Author |
Message |
Jesse Water #1 / 7
|
 ? getting ip and dhcp info from linksys befsr41
Hope someone can point me in the right direction, and thanks in advance. Heres the situation I have a broad band connection with a Dynamically assigned ip address.(can't get a static one, already tried) What i want to do is query the router and get ip address dhcp renew time when done email information to a webemail(hotmail or something) so i will always be able to tunnel in to the network reset the next time to query the router using and renew info from dhcp settings. Start process over when time elapse, using scheduled tasks to execute the VBScript. TIA, Jesse Waters
|
Tue, 16 Mar 2004 03:29:37 GMT |
|
 |
<P.B.. #2 / 7
|
 ? getting ip and dhcp info from linksys befsr41
If you run 2000 or nt4 you can pipe ipconfig /all >totext.txt And create something to email that file. Perhaps also intresting to you is an IPPoster. Look for it at tucows or hotbot. Such software is designed for it (and some are freeware) Quote: >-----Original Message----- >Hope someone can point me in the right direction, and thanks in advance. >Heres the situation I have a broad band connection with a Dynamically >assigned ip address.(can't get a static one, already tried) >What i want to do is query the router and get > ip address > dhcp renew time >when done email information to a webemail(hotmail or
something) so i will Quote: >always be able to tunnel in to the network >reset the next time to query the router using and renew info from dhcp >settings. >Start process over when time elapse, using scheduled
tasks to execute the Quote: >vbscript. >TIA, >Jesse Waters >.
|
Tue, 16 Mar 2004 22:16:31 GMT |
|
 |
Jesse Water #3 / 7
|
 ? getting ip and dhcp info from linksys befsr41
Thanks for the reply, unfortunately ipconfig only works on the local machine, not on the outside of your gateway. I'll check out IPPoster did quick look and it may do what i need. thanks again, Jesse Waters "end of line" -MCP
Quote: > If you run 2000 or nt4 you can pipe > ipconfig /all >totext.txt > And create something to email that file. > Perhaps also intresting to you is an IPPoster. > Look for it at tucows or hotbot. > Such software is designed for it (and some are freeware) > >-----Original Message----- > >Hope someone can point me in the right direction, and > thanks in advance. > >Heres the situation I have a broad band connection with a > Dynamically > >assigned ip address.(can't get a static one, already > tried) > >What i want to do is query the router and get > > ip address > > dhcp renew time > >when done email information to a webemail(hotmail or > something) so i will > >always be able to tunnel in to the network > >reset the next time to query the router using and renew > info from dhcp > >settings. > >Start process over when time elapse, using scheduled > tasks to execute the > >vbscript. > >TIA, > >Jesse Waters > >.
|
Tue, 16 Mar 2004 22:35:02 GMT |
|
 |
Robert LeVa #4 / 7
|
 ? getting ip and dhcp info from linksys befsr41
www.deerfield.com has a free product called DNStoGo which wile give you a me.dns2go.com url that resolces to your dynamic ip Bob
Quote: > Hope someone can point me in the right direction, and thanks in advance. > Heres the situation I have a broad band connection with a Dynamically > assigned ip address.(can't get a static one, already tried) > What i want to do is query the router and get > ip address > dhcp renew time > when done email information to a webemail(hotmail or something) so i will > always be able to tunnel in to the network > reset the next time to query the router using and renew info from dhcp > settings. > Start process over when time elapse, using scheduled tasks to execute the > vbscript. > TIA, > Jesse Waters
|
Wed, 17 Mar 2004 00:08:29 GMT |
|
 |
Chris Davidso #5 / 7
|
 ? getting ip and dhcp info from linksys befsr41
I threw this together, it works on my linksys. change the password. (yours still isn't admin is it?) Option Explicit Dim objXMLHTTP, xml ' Create an xmlhttp object: Set xml = CreateObject("Microsoft.XMLHTTP") ' Opens the connection to the remote server. xml.Open "GET", "http://192.168.1.1/Status.htm", False,,"admin" ' Actually Sends the request and returns the data: xml.Send 'Kinda Kludgy, may not work in further upgrades if they change the html around... wscript.echo mid(xml.responseText,instrrev(xml.responseText,"IP Address")+46,14) Set xml = Nothing
Quote: > Thanks for the reply, unfortunately ipconfig only works on the local > machine, not on the outside of your gateway. I'll check out IPPoster did > quick look and it may do what i need. > thanks again, > Jesse Waters > "end of line" -MCP
> > If you run 2000 or nt4 you can pipe > > ipconfig /all >totext.txt > > And create something to email that file. > > Perhaps also intresting to you is an IPPoster. > > Look for it at tucows or hotbot. > > Such software is designed for it (and some are freeware) > > >-----Original Message----- > > >Hope someone can point me in the right direction, and > > thanks in advance. > > >Heres the situation I have a broad band connection with a > > Dynamically > > >assigned ip address.(can't get a static one, already > > tried) > > >What i want to do is query the router and get > > > ip address > > > dhcp renew time > > >when done email information to a webemail(hotmail or > > something) so i will > > >always be able to tunnel in to the network > > >reset the next time to query the router using and renew > > info from dhcp > > >settings. > > >Start process over when time elapse, using scheduled > > tasks to execute the > > >vbscript. > > >TIA, > > >Jesse Waters > > >.
|
Fri, 04 Jun 2004 00:11:51 GMT |
|
 |
Alex Angelopoulo #6 / 7
|
 ? getting ip and dhcp info from linksys befsr41
Chris, you are THE MAN... We've got several Linksys BEFSR#1 boxes out there...I like this. Note for anyone else using this - don't forget to include the port address in the URL if you are linking externally.
Quote: > I threw this together, it works on my linksys. change the password. (yours > still isn't admin is it?) > Option Explicit > Dim objXMLHTTP, xml > ' Create an xmlhttp object: > Set xml = CreateObject("Microsoft.XMLHTTP") > ' Opens the connection to the remote server. > xml.Open "GET", "http://192.168.1.1/Status.htm", False,,"admin" > ' Actually Sends the request and returns the data: > xml.Send > 'Kinda Kludgy, may not work in further upgrades if they change the html > around... > wscript.echo mid(xml.responseText,instrrev(xml.responseText,"IP > Address")+46,14) > Set xml = Nothing
> > Thanks for the reply, unfortunately ipconfig only works on the local > > machine, not on the outside of your gateway. I'll check out IPPoster did > > quick look and it may do what i need. > > thanks again, > > Jesse Waters > > "end of line" -MCP
> > > If you run 2000 or nt4 you can pipe > > > ipconfig /all >totext.txt > > > And create something to email that file. > > > Perhaps also intresting to you is an IPPoster. > > > Look for it at tucows or hotbot. > > > Such software is designed for it (and some are freeware) > > > >-----Original Message----- > > > >Hope someone can point me in the right direction, and > > > thanks in advance. > > > >Heres the situation I have a broad band connection with a > > > Dynamically > > > >assigned ip address.(can't get a static one, already > > > tried) > > > >What i want to do is query the router and get > > > > ip address > > > > dhcp renew time > > > >when done email information to a webemail(hotmail or > > > something) so i will > > > >always be able to tunnel in to the network > > > >reset the next time to query the router using and renew > > > info from dhcp > > > >settings. > > > >Start process over when time elapse, using scheduled > > > tasks to execute the > > > >vbscript. > > > >TIA, > > > >Jesse Waters > > > >.
|
Fri, 04 Jun 2004 00:44:14 GMT |
|
 |
Alex Angelopoulo #7 / 7
|
 ? getting ip and dhcp info from linksys befsr41
I did a test on a BEFSR that has no username specified, and it appears that Chris *does* have all his systems well protected - otherwise he would have caught this...;) I modified the xml.Open line to include a port number; the necessary part is including "" for the user name if none is specified. This is a Linksys running the latest BIOS rev available. NOTE: Watch for bad line wrap xml.Open "GET", "http://192.168.1.1:8080/Status.htm", False,"","admin" ---------------------------------------------------------
Quote: > I threw this together, it works on my linksys. change the password. (yours > still isn't admin is it?) > Option Explicit > Dim objXMLHTTP, xml > ' Create an xmlhttp object: > Set xml = CreateObject("Microsoft.XMLHTTP") > ' Opens the connection to the remote server. > xml.Open "GET", "http://192.168.1.1/Status.htm", False,,"admin" > ' Actually Sends the request and returns the data: > xml.Send > 'Kinda Kludgy, may not work in further upgrades if they change the html > around... > wscript.echo mid(xml.responseText,instrrev(xml.responseText,"IP > Address")+46,14) > Set xml = Nothing
> > Thanks for the reply, unfortunately ipconfig only works on the local > > machine, not on the outside of your gateway. I'll check out IPPoster did > > quick look and it may do what i need. > > thanks again, > > Jesse Waters > > "end of line" -MCP
> > > If you run 2000 or nt4 you can pipe > > > ipconfig /all >totext.txt > > > And create something to email that file. > > > Perhaps also intresting to you is an IPPoster. > > > Look for it at tucows or hotbot. > > > Such software is designed for it (and some are freeware) > > > >-----Original Message----- > > > >Hope someone can point me in the right direction, and > > > thanks in advance. > > > >Heres the situation I have a broad band connection with a > > > Dynamically > > > >assigned ip address.(can't get a static one, already > > > tried) > > > >What i want to do is query the router and get > > > > ip address > > > > dhcp renew time > > > >when done email information to a webemail(hotmail or > > > something) so i will > > > >always be able to tunnel in to the network > > > >reset the next time to query the router using and renew > > > info from dhcp > > > >settings. > > > >Start process over when time elapse, using scheduled > > > tasks to execute the > > > >vbscript. > > > >TIA, > > > >Jesse Waters > > > >.
|
Fri, 04 Jun 2004 01:06:21 GMT |
|
|
|