Re: Need to monitor when IP Address changes

"Brian John" <[email protected]>
Newsgroups gmane.os.freebsd.newbies
Message-ID <3296.209.87.176.132.1105652323.fusewebmail-19592@www.fusemail.com>
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
>> _______________________________________________
>> [email protected] mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
>> To unsubscribe, send any mail to
>> "[email protected]"
> _______________________________________________
> [email protected] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
> To unsubscribe, send any mail to "[email protected]"
>
>

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.