From owner-freebsd-newbies@FreeBSD.ORG Thu Jan 13 21:38:48 2005 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A4CE16A4CE for ; Thu, 13 Jan 2005 21:38:48 +0000 (GMT) Received: from fuse1.fusemail.net (smtp.fusemail.net [69.31.1.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0978C43D2D for ; Thu, 13 Jan 2005 21:38:48 +0000 (GMT) (envelope-from brianjohn@fusemail.com) Received: from fusemail.com by fuse1.fusemail.net with asmtp (FuseMail extSMTP) id 1CpCfo-0005Cq-FN; Thu, 13 Jan 2005 15:38:32 -0600 Received: from 209.87.176.132 (FuseMail web AccountID 19592) by www.fusemail.com with HTTP; Thu, 13 Jan 2005 15:38:43 -0600 (CST) 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> Date: Thu, 13 Jan 2005 15:38:43 -0600 (CST) From: "Brian John" To: "merv" User-Agent: FuseWebmail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 Importance: Normal cc: freebsd-newbies@freebsd.org Subject: Re: Need to monitor when IP Address changes X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: brianjohn@fusemail.com List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jan 2005 21:38:48 -0000 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" > >