 |
 |
Way to get IP emailed to you?
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Nov 2001
Location: Richmond, VA
Status:
Offline
|
|
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
|
|
you could probably edit this applescript to compare the current IP address to the previous one and then display a dialog.
-r.
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Nov 2001
Location: Richmond, VA
Status:
Offline
|
|
Thanks! That might be just the thing for my clients!
|
|
------
Friend of All Cats.
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Oct 2001
Location: Internet
Status:
Offline
|
|
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
|
|
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
|
|
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.
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Apr 1999
Location: Copenhagen, Denmark
Status:
Offline
|
|
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
|
|
|
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Apr 2002
Location: Illinois
Status:
Offline
|
|
I'd say Growl, but that's just me ;-)
|
|
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Apr 2001
Location: Tokyo, Japan
Status:
Offline
|
|
King Bob On The Cob,
Out of curiosity, how would you do that with Growl?
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|