From owner-freebsd-isdn Thu Jul 8 6:20:35 1999 Delivered-To: freebsd-isdn@freebsd.org Received: from uni-sb.de (uni-sb.de [134.96.252.33]) by hub.freebsd.org (Postfix) with ESMTP id 4CEE915258 for ; Thu, 8 Jul 1999 06:20:24 -0700 (PDT) (envelope-from netchild@wurzelausix.CS.Uni-SB.DE) Received: from cs.uni-sb.de (cs.uni-sb.de [134.96.252.31]) by uni-sb.de (8.9.3/1999070600) with ESMTP id PAA24934; Thu, 8 Jul 1999 15:19:38 +0200 (CEST) Received: from wurzelausix.cs.uni-sb.de (wurzelausix.cs.uni-sb.de [134.96.247.1]) by cs.uni-sb.de (8.9.3/1999031900) with ESMTP id PAA03563; Thu, 8 Jul 1999 15:19:38 +0200 (CEST) Received: from wurzelausix.cs.uni-sb.de (IDENT:msMCQ0+nBeGPbV5PLCyfGfQj94Au0LMt@localhost [127.0.0.1]) by wurzelausix.cs.uni-sb.de (8.9.1/8.9.1/wjp-SVR4/1998063000) with ESMTP id PAA24101; Thu, 8 Jul 1999 15:19:33 +0200 (CEST) Message-Id: <199907081319.PAA24101@wurzelausix.cs.uni-sb.de> Date: Thu, 8 Jul 1999 15:19:31 +0200 (CEST) From: Alexander Leidinger Subject: Re: looking for dynamic IP in i4b logfile To: luke@roberts.nl Cc: freebsd-isdn@FreeBSD.ORG In-Reply-To: <4.2.0.58.19990708140501.009a59a0@pop.roberts.nl> MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 8 Jul, Luke Roberts wrote: > I suppose you could log the IP in the ISDN-UP script. You would have to > write a small shell/perl script, which you run from ISDN-UP, that: > > 1. Runs "ifconfig isp0" and places the output in a temp file [snip] > This should not be too much work at all. Isn't "isdn-up" called with the IP as a parameter? For a quick test put an "echo $* >/path/to/file" in it. Bye, Alexander. -- http://netchild.home.pages.de A.Leidinger @ WJPServer.CS.Uni-SB.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message