From owner-freebsd-isdn Tue Feb 23 15: 4:18 1999 Delivered-To: freebsd-isdn@freebsd.org Received: from linteuto.teuto.de (linteuto.teuto.de [194.77.23.26]) by hub.freebsd.org (Postfix) with ESMTP id 454C010FF5 for ; Tue, 23 Feb 1999 15:04:11 -0800 (PST) (envelope-from martin@rumolt.teuto.de) Received: from rumolt.teuto.de (root@rumolt.teuto.de [212.8.203.81]) by linteuto.teuto.de (8.8.7/8.8.7) with ESMTP id AAA07862; Wed, 24 Feb 1999 00:04:07 +0100 Received: (from martin@localhost) by rumolt.teuto.de (8.8.8/8.8.7) id AAA07171; Wed, 24 Feb 1999 00:03:56 +0100 (MET) From: Martin Husemann Message-Id: <199902232303.AAA07171@rumolt.teuto.de> Subject: Re: connectprog Parameters To: domi@saargate.de (Dominik Brettnacher) Date: Wed, 24 Feb 1999 00:03:56 +0100 (MET) Cc: freebsd-isdn@FreeBSD.ORG In-Reply-To: from "Dominik Brettnacher" at Feb 22, 99 10:24:24 pm Organization: Crusaders Catering Services Inc. ;-) X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I see some parameters that my "connectprog" script is given by isdnd. Can > somebody explain what they mean? Where is that documented? For the later I'll have to pass - though I think I added a comment to some manpages when I wrote that code ;-) Anyway: both connect and disconnect prog get the following parameters: -d (device) -f (flag) [ -a (addr) ] where device name of device, e.g. "isp0" flag "up" if connection just got up, or "down" if interface changed to down state addr (optional, only if it can be figured by isdnd) the address that got assigned to the interface as a dotted-quad ip address The "-a (addr)" parameter may be replaced by others for different protocols later. You can look up the details in isdnd/exec.c, function exec_connect_prog. Martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message