Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Applications > Way to get IP emailed to you?

Way to get IP emailed to you?
Thread Tools
Dedicated MacNNer
Join Date: Nov 2001
Location: Richmond, VA
Status: Offline
Reply With Quote
Jan 2, 2006, 09:28 AM
 
Hi

I support a number of clients that have DHCP-based connections and was considering using ARD to help them out. I've set it up before with a few machines and it works phenominally well.

Just curious to know that since their IP addresses will change, is there a way for me to get an email with their updated IP information once it changes?

I know they can point to a site like whatismyip.com but I'm looking for something a little more automatic. Thanks.
------
Friend of All Cats.
     
Professional Poster
Join Date: Sep 2000
Status: Offline
Reply With Quote
Jan 2, 2006, 09:32 AM
 
you could probably edit this applescript to compare the current IP address to the previous one and then display a dialog.

-r.
     
Nep2ne  (op)
Dedicated MacNNer
Join Date: Nov 2001
Location: Richmond, VA
Status: Offline
Reply With Quote
Jan 2, 2006, 10:53 AM
 
Thanks! That might be just the thing for my clients!
------
Friend of All Cats.
     
Mac Elite
Join Date: Oct 2001
Location: Internet
Status: Offline
Reply With Quote
Jan 3, 2006, 12:29 AM
 
Make a bash script like this:

Code:
ifconfig | mail address@foo.com
and then add it to the crontab

This will email the output of ifconfig to the email address

MacBook Air 11" 1.6Ghz 4GB 128GB Backlit Keyboard, 4S, iPad 2
     
Mac Elite
Join Date: Feb 2001
Location: Sitting in front of computer
Status: Offline
Reply With Quote
Jan 3, 2006, 04:59 AM
 
I use cron.

I use curl to get the content of whatsmyip.com and then use regexp to extract the IP.
I free'd my mind... now it won't come back.
     
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
Jan 3, 2006, 05:08 AM
 
Are you in a situation where your clients on the same subnet as you, such as at university/company helpdesk or something similar? Because if so, you could use Bonjour to give everyone a .local address and then access that instead of the IP.

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
JLL
Professional Poster
Join Date: Apr 1999
Location: Copenhagen, Denmark
Status: Offline
Reply With Quote
Jan 3, 2006, 05:23 AM
 
Originally Posted by Nep2ne
Hi

I support a number of clients that have DHCP-based connections and was considering using ARD to help them out. I've set it up before with a few machines and it works phenominally well.

Just curious to know that since their IP addresses will change, is there a way for me to get an email with their updated IP information once it changes?
ARD doesn't care - it can find the machines even if they change IP addresses. You can also use a scanner in ARD to always look at that specific subnet.
JLL

- My opinions may have changed, but not the fact that I am right.
     
Forum Regular
Join Date: Apr 2001
Location: Tokyo, Japan
Status: Offline
Reply With Quote
Jan 3, 2006, 05:39 AM
 
     
Mac Elite
Join Date: Apr 2002
Location: Illinois
Status: Offline
Reply With Quote
Jan 3, 2006, 04:22 PM
 
I'd say Growl, but that's just me ;-)
     
Forum Regular
Join Date: Apr 2001
Location: Tokyo, Japan
Status: Offline
Reply With Quote
Jan 4, 2006, 07:08 AM
 
King Bob On The Cob,

Out of curiosity, how would you do that with Growl?
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 02:52 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2