Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

script to check a dynamic ip

Status
Not open for further replies.

wlf

Technical User
Sep 25, 2002
47
0
0
US
Hi, I need a shell script to check a dynamic ip(from cable company), it will send the ip to my email if the ip changes. The Solaris box is behind the router with a static ip (internal), the router connected with a cable modem for internet connection. The problem is the cable company assigned you a dynamic ip, and it changes sometime. When that happens, I can't not access my Solaris box outside my home. On the local box I can know my current external ip through the How can I write that in a script to send the ip to my email if it changes? I'm using Bourne shell.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top