From owner-freebsd-current Wed Aug 14 1:34:34 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A014437B400 for ; Wed, 14 Aug 2002 01:34:31 -0700 (PDT) Received: from mailout05.sul.t-online.com (mailout05.sul.t-online.com [194.25.134.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09A2B43E4A for ; Wed, 14 Aug 2002 01:34:31 -0700 (PDT) (envelope-from Alexander@Leidinger.net) Received: from fwd11.sul.t-online.de by mailout05.sul.t-online.com with smtp id 17etbZ-0007XD-00; Wed, 14 Aug 2002 10:34:13 +0200 Received: from Andro-Beta.Leidinger.net (520065502893-0001@[217.83.17.217]) by fmrl11.sul.t-online.com with esmtp id 17etbM-03UxaSC; Wed, 14 Aug 2002 10:34:00 +0200 Received: from Magelan.Leidinger.net (Magelan [192.168.1.1]) by Andro-Beta.Leidinger.net (8.11.6/8.11.6) with ESMTP id g7E8Xxx62103; Wed, 14 Aug 2002 10:33:59 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magelan.Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.5/8.12.5) with SMTP id g7E8Xwst000879; Wed, 14 Aug 2002 10:33:59 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Wed, 14 Aug 2002 10:33:58 +0200 From: Alexander Leidinger To: "Vladimir B. " Grebenschikov Cc: makonnen@pacbell.net, current@FreeBSD.ORG Subject: Re: rcNG and dhcp Message-Id: <20020814103358.1299b35d.Alexander@Leidinger.net> In-Reply-To: <1029308622.736.18.camel@vbook.express.ru> References: <1029141620.800.14.camel@vbook.express.ru> <20020813090036.090538bf.makonnen@pacbell.net> <1029256599.741.18.camel@vbook.express.ru> <20020813223451.0e39200b.makonnen@pacbell.net> <1029308622.736.18.camel@vbook.express.ru> Organization: Independend X-Mailer: Sylpheed version 0.8.1claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Sender: 520065502893-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 14 Aug 2002 11:03:42 +0400 "Vladimir B. " Grebenschikov wrote: > > Then, bring the interface down manually (it's even easier now that > > you can insert your own script in the rc boot process). I am not > > being flippant. > > Of course I can patch my rc.d/network1 manually or/and add number of > "smart" scripts, but I simply wants to share solution with other > people. Only commenting on "patching network1": Just modify /etc/start_if., e.g.: ---snip--- (8) netchild@ttyp2 % < /etc/start_if.wi0 #!/bin/sh interface=$1 shift start_or_stop=$1 shift case ${start_or_stop} in [Ss][Tt][Oo][Pp]) ;; *) wicontrol -i ${interface} -p 3 #-c 1 ifconfig ${interface} inet ... ;; esac ---snip--- Bye, Alexander. -- Where do you think you're going today? http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message