Need to monitor when IP Address changes

merv merv at merv.org.uk
Thu Jan 13 00:21:54 PST 2005


ifconfig dc0 | mail -s ip_address your at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
> To unsubscribe, send any mail to "freebsd-newbies-unsubscribe at freebsd.org"


More information about the freebsd-newbies mailing list