Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jan 2005 15:38:43 -0600 (CST)
From:      "Brian John" <brianjohn@fusemail.com>
To:        "merv" <merv@merv.org.uk>
Cc:        freebsd-newbies@freebsd.org
Subject:   Re: Need to monitor when IP Address changes
Message-ID:   <3296.209.87.176.132.1105652323.fusewebmail-19592@www.fusemail.com>
In-Reply-To: <200501130821.52869.merv@merv.org.uk>
References:  <41E5C873.4030401@fusemail.com>  <200501130821.52869.merv@merv.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
That's awesome.  Very simple.  Now how could I have it figure out if the
IP address has actually changed?  I only want it to email me if it
changes.  Sorry, I'm very fluent in Windows but have only been using
FreeBSD for a couple of days.

Thanks!

/Brian

----- Original Message -----
> ifconfig dc0 | mail -s ip_address your@emailaddress
>
> Should do it if you are not using a router.
>
> On Thursday 13 January 2005 01:01, Brian John wrote:
>> Hi, I have SSH setup on my box and home and I want to be able to SSH to
>> it from work.  The only problem is, my ISP uses DHCP, so my IP address
>> changes.  I would like to write a script to monitor my IP address and
>> email me when it changes.  Can somebody help me do this?
>>
>> Thanks
>>
>> /Brian
>> _______________________________________________
>> freebsd-newbies@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
>> To unsubscribe, send any mail to
>> "freebsd-newbies-unsubscribe@freebsd.org"
> _______________________________________________
> freebsd-newbies@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
> To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi? <3296.209.87.176.132.1105652323.fusewebmail-19592>