PDA

View Full Version : Querying the WAN IP Address of a Linksys Router


wren mott
01-13-2004, 11:00 PM
OK, quick summary:

I have DSL connected to a Linksys wireless router. The WAN IP adress
is dynamic (changes every so often). I need to query the router for
its WAN IP address from an internal machine and write it to a text
file which will then be sent to my hotmail account.

The automated sending of the info once it is contain within a text
file is simple. What I don't know how to do from a windows platform
is write a simple batch file or .vbs script that will retrieve the
information from the router itself. I thought I'd be able to run a
scheduled tracert from an internal machine, but when I do this the
output skips over the external interface of the Linksys and jumps
right to my gateway.

Any hints? All the info I have found for this type of operation is
related to the UNIX platform. At the risk of alienating potential
help let me say this, UNIX has never been my friend. ;)

Thanks in advance.

Wren

Yousuf Khan
01-14-2004, 07:40 AM
"wren mott" <wren_mott@hotmail.com> wrote in message
news:7bb79694.0401132300.60aa2ca0@posting.google.com... OK, quick summary: I have DSL connected to a Linksys wireless router. The WAN IP adress is dynamic (changes every so often). I need to query the router for its WAN IP address from an internal machine and write it to a text file which will then be sent to my hotmail account. The automated sending of the info once it is contain within a text file is simple. What I don't know how to do from a windows platform is write a simple batch file or .vbs script that will retrieve the information from the router itself. I thought I'd be able to run a scheduled tracert from an internal machine, but when I do this the output skips over the external interface of the Linksys and jumps right to my gateway.

It's simple, it's already been done for you, and you don't even need to
write any program yourself. Just goto IPMonster.com, and download their
utility. The utility will even send you emails once an IP change has been
detected.

Yousuf Khan

wren mott
01-14-2004, 11:45 AM
"Yousuf Khan" <ABCbjsk90DEF@GHIhotmailJKL.com> wrote in message news:<dqdNb.148419$AAe1.136551@news01.bloor.is.net.cable.rogers.com>... "wren mott" <wren_mott@hotmail.com> wrote in message news:7bb79694.0401132300.60aa2ca0@posting.google.com... OK, quick summary: I have DSL connected to a Linksys wireless router. The WAN IP adress is dynamic (changes every so often). I need to query the router for its WAN IP address from an internal machine and write it to a text file which will then be sent to my hotmail account. The automated sending of the info once it is contain within a text file is simple. What I don't know how to do from a windows platform is write a simple batch file or .vbs script that will retrieve the information from the router itself. I thought I'd be able to run a scheduled tracert from an internal machine, but when I do this the output skips over the external interface of the Linksys and jumps right to my gateway. It's simple, it's already been done for you, and you don't even need to write any program yourself. Just goto IPMonster.com, and download their utility. The utility will even send you emails once an IP change has been detected. Yousuf Khan


Thanks Yousuf! It has solved my woes....

Wren


MyLounge.com Site Map
Forum: Cars, Cell Phone, Database, Games, Home Improvement, IT, Music, School, Sports, Web Design, Web Server, Weight Loss

The MyLounge.com forum is intended for informational use only and should not be relied upon and is not a substitute for any advice. The information contained on MyLounge.com are opinions and suggestions of members and is not a representation of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for the accuracy, completeness or usefulness of any postings or the qualifications of any person responding. Please consult a expert or seek the services of an attorney in your area for more accuracy on your specific situation. Please note that our forums also serve as mirrors to Usenet newsgroups. Many posts you see on our forums are made by newsgroup users who may not be members of MyLounge.com Term of Service