From owner-freebsd-newbies@FreeBSD.ORG Thu Jan 13 08:21:54 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 5C4FB16A4CE for ; Thu, 13 Jan 2005 08:21:54 +0000 (GMT) Received: from mta13-winn.mailhost.ntl.com (mailhost.ntl.com [212.250.162.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B7B743D5A for ; Thu, 13 Jan 2005 08:21:53 +0000 (GMT) (envelope-from merv@merv.org.uk) Received: from aamta04-winn.mailhost.ntl.com ([212.250.162.8]) by mta13-winn.mailhost.ntl.com with ESMTP <20050113082151.YDMS10495.mta13-winn.mailhost.ntl.com@aamta04-winn.mailhost.ntl.com> for ; Thu, 13 Jan 2005 08:21:51 +0000 Received: from FreeBSD.merv.org.uk ([82.9.234.34]) by aamta04-winn.mailhost.ntl.com with ESMTP <20050113082151.MAAX13480.aamta04-winn.mailhost.ntl.com@FreeBSD.merv.org.uk> for ; Thu, 13 Jan 2005 08:21:51 +0000 Received: from localhost (localhost [127.0.0.1]) by FreeBSD.merv.org.uk (Postfix) with ESMTP id 41F2726D for ; Thu, 13 Jan 2005 08:21:55 +0000 (GMT) Received: from FreeBSD.merv.org.uk ([127.0.0.1]) by localhost (FreeBSD.merv.org.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 02923-09 for ; Thu, 13 Jan 2005 08:21:53 +0000 (GMT) Received: by FreeBSD.merv.org.uk (Postfix, from userid 1001) id 7F354192; Thu, 13 Jan 2005 08:21:53 +0000 (GMT) From: merv Organization: Home To: freebsd-newbies@freebsd.org Date: Thu, 13 Jan 2005 08:21:52 +0000 User-Agent: KMail/1.7.2 References: <41E5C873.4030401@fusemail.com> In-Reply-To: <41E5C873.4030401@fusemail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200501130821.52869.merv@merv.org.uk> X-Virus-Scanned: by amavisd-new at merv.org.uk Subject: Re: Need to monitor when IP Address changes X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list 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 08:21:54 -0000 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"