Advertisement

08.02.2007 at 06:01AM PDT, ID: 22737293
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

WAN IP from Command Prompt

Tags: ip, wan, command, prompt
OK, 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
Start your free trial to view this solution
Question Stats
Zone: Software
Question Asked By: jeremy092288
Solution Provided By: merowinger
Participating Experts: 5
Solution Grade: A
Views: 103
Translate:
Loading Advertisement...
08.02.2007 at 06:15AM PDT, ID: 19616531

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
08.02.2007 at 06:19AM PDT, ID: 19616571

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
08.02.2007 at 06:22AM PDT, ID: 19616589

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
08.02.2007 at 06:36AM PDT, ID: 19616724

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
08.02.2007 at 06:41AM PDT, ID: 19616776

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
08.02.2007 at 06:49AM PDT, ID: 19616861

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
08.02.2007 at 07:10AM PDT, ID: 19617058

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
08.02.2007 at 07:12AM PDT, ID: 19617083

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
08.02.2007 at 07:29AM PDT, ID: 19617236

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
08.02.2007 at 10:28AM PDT, ID: 19618994

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
08.02.2007 at 10:55AM PDT, ID: 19619261

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
08.06.2007 at 05:52AM PDT, ID: 19637867

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
Microsoft
  • Internet Protocols
  • Applications
  • Development
  • OS
  • Hardware
  • Windows Security
Apple
  • Operating Systems
  • Hardware
  • Programming
  • Networking
  • Software
Internet
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Spy / Ad Blockers
  • Web Browsers
  • New Net Users
  • Web Development
  • Chat / IM
  • Anti Spam
  • Web Servers
  • Anti-Virus
  • Email Clients
Gamers
  • Tips
  • Online / MMORPG
  • Puzzle
  • Emulators
  • Action / Adventure
  • Role Playing
  • Consoles
  • Game Programming
  • Strategy
  • Sports
  • Misc
  • Computer Games
Digital Living
  • Hardware
  • New Net Users
  • New Users
  • Software
  • Digital Music
  • Gaming World
  • Home Security
  • Apple
  • Networking Hardware
Virus & Spyware
  • Vulnerabilities
  • IDS
  • Encryption
  • Anti-Virus
  • Operating Systems Security
  • Software Firewalls
  • WebApplications
  • Cell Phones
  • Operating Systems
  • Internet
  • Hardware Firewalls
Hardware
  • Handhelds / PDAs
  • Displays / Monitors
  • Components
  • Networking Hardware
  • Peripherals
  • Laptops/Notebooks
  • Storage
  • Servers
  • Desktops
  • New Users
  • Misc
  • Apple
Software
  • System Utilities
  • Industry Specific
  • Network Management
  • Photos / Graphics
  • Page Layout
  • VMWare
  • Misc
  • Web Development
  • OS
  • CYGWIN
  • Voice Recognition
  • Message Queue
  • Quality Assurance
  • Security
  • Firewalls
  • MultiMedia Applications
  • Development
  • Database
  • Office / Productivity
  • Business Management
  • OS/2 Apps
  • Server Software
  • Internet / Email
ITPro
  • OS
  • Storage
  • Encryption
  • Operating Systems Security
  • Apple Hardware
  • Laptops & Notebooks
  • Servers
  • Networking Hardware
  • Peripherals
  • Devices
  • Displays / Monitors
  • WebTrends / Stats
  • Search Engines
  • Firewalls
  • WebApplications
  • IDS
  • Vulnerabilities
  • Email Clients
  • File Sharing
  • Spy / Ad Blockers
  • Web Browsers
  • Web Servers
  • Networking
  • Anti-Virus
  • Chat / IM
  • Anti Spam
Developer
  • Web Servers
  • Web Browsers
  • Game Programming
  • Dev Tools
  • Industry Specific
  • Office / Productivity
  • Database
  • CYGWIN
  • Web Development
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Programming
  • Content Management
  • Application Servers
  • Protocols
Storage
  • Removable Backup Media
  • Storage Technology
  • Servers
  • Grid
  • Remote Access
  • Backup / Restore
  • Misc
  • Hard Drives
OS
  • Miscellaneous
  • Security
  • Development
  • Linux
  • VMWare
  • MainFrame OS
  • Unix
  • Apple
  • OS / 2
  • AS / 400
  • BeOS
  • Microsoft
  • VMS / OpenVMS
Database
  • Oracle
  • Miscellaneous
  • MySQL
  • Software
  • Sybase
  • Contact Management
  • PostgreSQL
  • Data Manipulation
  • Clarion
  • InterSystems Cache
  • Siebel
  • MUMPS
  • OLAP
  • SQLBase
  • SAS
  • GIS & GPS
  • 4GL
  • Berkeley DB
  • DB2
  • Informix
  • Interbase / Firebird
  • FoxPro
  • Reporting
  • LDAP
  • Filemaker Pro
  • MS SQL Server
  • dBase
  • MS Access
Security
  • Misc
  • Web Browsers
  • Software Firewalls
  • Operating Systems Security
  • File Sharing
  • Spy / Ad Blockers
  • Vulnerabilities
  • WebApplications
  • IDS
  • Anti-Virus
  • Encryption
  • Anti Spam
  • Email Clients
  • VPN
  • Chat / IM
Programming
  • Editors IDEs
  • Installation
  • Handhelds / PDAs
  • Multimedia Programming
  • System / Kernel
  • Algorithms
  • Game
  • Signal Processing
  • Project Management
  • Open Source
  • Database
  • Misc
  • Languages
  • Processor Platforms
  • Theory
Web Development
  • Scripting
  • Blogs
  • Web Servers
  • Software
  • Search Engines
  • Web Graphics
  • Images
  • Internet Marketing
  • Images and Photos
  • Components
  • Document Imaging
  • Web Languages/Standards
  • Illustration
  • WebApplications
  • Fonts
  • WebTrends / Stats
  • Authoring
  • Digital Camera Software
  • Miscellaneous
Networking
  • Protocols
  • Apple Networking
  • Network Management
  • Message Queue
  • Application Servers
  • Content Management
  • File Servers
  • Email Servers
  • Misc
  • Java Editors & IDEs
  • Wireless
  • Networking Hardware
  • Backup / Restore
  • System Utilities
  • ISPs & Hosting
  • Web Servers
  • Storage Technology
  • Removable Backup Media
  • Servers
  • Broadband
  • Grid
  • OS / 2
  • Novell Netware
  • Unix Networking
  • Windows Networking
  • Security
  • Telecommunications
  • Operating Systems
  • Linux Networking
Other
  • Community Advisor
  • Lounge
  • Community Support
  • New Net Users
  • Philosophy / Religion
  • Math / Science
  • Miscellaneous
  • URLs
  • Expert Lounge
  • Politics
  • Puzzles / Riddles
Community Support
  • Suggestions
  • New to EE
  • New Topics
  • Community Advisor
  • CleanUp
  • Announcements
  • General
  • Feedback
  • Input
  • EE Bugs
 
08.02.2007 at 06:15AM PDT, ID: 19616531

Rank: Master

what about his?
u have to install a ftp client for examble coreftp (freeware)
'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dim objShell
set objShell = CreateObject("Wscript.Shell")
objShell.Run("ipconfig /all > C:\ipconfig.txt")
wscript.sleep 3000
objShell.Run (chr(34) &"c:\program files\coreftp\coreftp.exe &chr(34)) -O -u c:\ipconfig.txt  -site mysite  -p /upload/  -s")
'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
more command line infos: coreftp.exe /?
and
http://www.coreftp.com/docs/web1/Command_Line_FTP.htm
Accepted Solution
 
08.02.2007 at 06:19AM PDT, ID: 19616571
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/emc3ware/
Assisted Solution
 
08.02.2007 at 06:22AM PDT, ID: 19616589
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
Assisted Solution
 
08.02.2007 at 06:36AM PDT, ID: 19616724
Ip config /all doesn't even return the WAN IP.... I don't want any more services running on my pc. Anyone know how to get the WAN IP from Command Prompt?
 
08.02.2007 at 06:41AM PDT, ID: 19616776
 
08.02.2007 at 06:49AM PDT, ID: 19616861
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.
 
08.02.2007 at 07:10AM PDT, ID: 19617058

Rank: Master

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: oG9qAjD2BNG0yVlB517PPKYPKCVoN6oMorhIcbX96X0/SC74auhSIaTg/ZUd/mys
Received: from sccrmhc14.comcast.net ([204.127.200.84]) by bay0-mc10-f21.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668);
       Thu, 2 Aug 2007 07:00:44 -0700
Received: from MyHomePC (c-71-233-136-173.hsd1.ma.comcast.net[72.203.196.73])
__________________________________________________
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!
Assisted Solution
 
08.02.2007 at 07:12AM PDT, ID: 19617083
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.
 
08.02.2007 at 07:29AM PDT, ID: 19617236
you can try lynx for win32 http://www.fdisk.com/doslynx/lynxport.htm
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.
 
08.02.2007 at 10:28AM PDT, ID: 19618994

Rank: Master

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)
 
08.02.2007 at 10:55AM PDT, ID: 19619261

Rank: Master

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)
 
08.06.2007 at 05:52AM PDT, ID: 19637867

Rank: Master

Hey.

MyWanIp 2.0
http://www.download.com/3000-2155_4-10429280.html

Also has the option to load on startup and to copy your WAN IP to the clipboard.
 
 
20080236-EE-VQP-29