Hi you can download a free program called Watch WAN IP that monitors your router and if your WAN IP address changes to can set the program up to Email you of the change
http://www.emc3.us/emc3war
Main Topics
Browse All TopicsOK, so I have comcast high speed at home, and I have set-up RDP. But comcast like to change my ip without telling me. What I want to do is create a batch file to run at start-up that gets my WAN IP and uploads it in a text file to an FTP site. I know there is no-ip.org and stuff but I have enough services as it is. I can't seem to figure out how to get the WAN IP from a command prompt. I can figure out how to upload it to an FTP site (I think) but is it even possible to get WAN IP from CMD?
Thanks in advance
Jeremy
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Hi you can download a free program called Watch WAN IP that monitors your router and if your WAN IP address changes to can set the program up to Email you of the change
http://www.emc3.us/emc3war
Why not get Logmein Free and just remote into your pc and forget RDP. Safer than opening up your RDP port to the internet too.
www.logmeinfree.com
Ignore the first person, your computer has no idea what it's WAN ip is because it's behind a router and all of it's traffic is nated. There are webpages like www.whatismyip.com that will show you in a browser what your external IP is. it would be tough to integrate that into a command though, maybe refresh the page and save it. and upload the page to your ftp site. OR
One thing you might be able to do, if you can send an email from the machine every hour, you can check the message header for the ip address.
I had this same problem.. The way I handled it in the past, was like this.. Hope I can be clear.
When you send out an email, there is a bunch of header information attached
to that email, that is not visible in most email clients up front. Here is a little trick
but would require you to leave Outlook or whatever email client you use,
up and running, and configured to auto send through the Rules Wizard.
What I did was set up a RULE in MS Outlook at my house.. When it would receive an email
with a certain "subject line", it would forward the message to my hotmail account. So when
I could not connect RDP to my house and I suspected IP change, I would send an email to
my house with the key "Subject line", which would trigger Outlook to forward the email back to me,
thus attaching the WAN IP address to the email, andforwarding it to me.
Once I do this, I can go to my hotmail inbox, right click on the email in the inbox and select
view source.. I will give you a plain text view of the email.... the IP address you will be looking
for will be pretty close to the top of that page. I have attached an example below of mine,
with some key number and information changed of course.
__________________________
X-Message-Status: n:0
X-SID-PRA: The Jack's <mike.johnson@comcast.net>
X-Message-Info: oG9qAjD2BNG0yVlB517PPKYPKC
Received: from sccrmhc14.comcast.net ([204.127.200.84]) by bay0-mc10-f21.bay0.hotmail
Thu, 2 Aug 2007 07:00:44 -0700
Received: from MyHomePC (c-71-233-136-173.hsd1.ma.
__________________________
The last line is where you IP address will be. There is a bunch more to the source, but it is
all related to the email content, formatting, etc... What you want is pretty close to the top
of the page.
If you need more clarification, or do not want to leave your email client running, I sure another
alternative is out there.. This one is pretty easy though!
http://www.whatismyip.org/
has simply text, so let's change this question around..... how can I download an html file from a command prompt.
you can try lynx for win32 http://www.fdisk.com/dosly
I don't think you can simply telnet to port 80 on whatismyip.org and get your ip.
What is this determination to use command line anyway? seems like email would be the easiest way.
Chuck,
The DOS option is usually a simple way to handle these thing in an automated fashion.
Low resources on the system, no services needed, and easy to set up a batch file
to run on a schedule.
The email option I outlined above is easy, but requires a few things:
1. You have Outlook or some other email software that you will not mind leaving
running on your home machine, and it can handle forwarding and rules.
2. A public email service like Hotmail to receive and view the information.
I'm not sure if you can view the header information (not sure if I am using the
correct term) in Outlook or another NON-WEB based email client? If so I would
like to learn about that myself! :o)
Chuck,
DOS Commandline is fast and low on system resources. It is also very easy for
the intermediate user to set up a batch file and schedule.
The email idea I outline above is easy, but relies on two things.
1. You have an email client that can deal with rules and automatic forwarding,
and you don;t mind leaving that email client up and running on your machine
at home.
2. You are a hotmail user (or possibly another web based email user)
I'm not sure you could recover the email header information (if I am using the
correct term), from an email that comes in through outlook? If so I would be interested
in learning that as well! :o)
Hey.
MyWanIp 2.0
http://www.download.com/30
Also has the option to load on startup and to copy your WAN IP to the clipboard.
Business Accounts
Answer for Membership
by: merowingerPosted on 2007-08-02 at 06:15:41ID: 19616531
what about his? ~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~~ ~~~~~ l") &chr(34)) -O -u c:\ipconfig.txt -site mysite -p /upload/ -s") ~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~~ ~~~~~ s/web1/Com mand_Line_ FTP.htm
u have to install a ftp client for examble coreftp (freeware)
'~~~~~~~~~~~~~~~~~~~~~~~~~
dim objShell
set objShell = CreateObject("Wscript.Shel
objShell.Run("ipconfig /all > C:\ipconfig.txt")
wscript.sleep 3000
objShell.Run (chr(34) &"c:\program files\coreftp\coreftp.exe
'~~~~~~~~~~~~~~~~~~~~~~~~~
more command line infos: coreftp.exe /?
and
http://www.coreftp.com/doc