From owner-freebsd-questions@FreeBSD.ORG Sat May 27 21:46:00 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D140716A5D3 for ; Sat, 27 May 2006 21:46:00 +0000 (UTC) (envelope-from atom.powers@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id B659C43D58 for ; Sat, 27 May 2006 21:45:58 +0000 (GMT) (envelope-from atom.powers@gmail.com) Received: by nz-out-0102.google.com with SMTP id 9so521113nzo for ; Sat, 27 May 2006 14:45:57 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DMdVCAgQrICsrsPzRfu7Mj6Nwh2sUHb7lZYtZznxZaqXiPXt4IzHhAHlqyqTCG7dPrt8Boi04dLVccK08fxdT+tR7fEYdRZHlGzcW2jzyJJGiOJJRNRmNiK6c7WRmkgQRGxzJVT6ECyRrNiykl9Dm00zhttyl1lcW2VUKhcFceE= Received: by 10.65.72.19 with SMTP id z19mr313453qbk; Sat, 27 May 2006 14:45:56 -0700 (PDT) Received: by 10.65.154.19 with HTTP; Sat, 27 May 2006 14:45:55 -0700 (PDT) Message-ID: Date: Sat, 27 May 2006 14:45:55 -0700 From: "Atom Powers" To: "Imran Imtiaz" In-Reply-To: <200605272000.k4RK0ERa084900@darkstar.thelakecity.com.pk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200605272000.k4RK0ERa084900@darkstar.thelakecity.com.pk> Cc: freebsd-questions@freebsd.org Subject: Re: bringing down and interface when system start X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 21:46:05 -0000 On 5/27/06, Imran Imtiaz wrote: > how can I bring down (disable) a network interface after the system start= ? what would I've to type in /etc/rc.conf file? > Do you mean disable it completely, or do you need to run some network apps and then disable it? To disable an interface completely put something like this in rc.conf: -- ifconfig_=3D"down" -- or just leave it out altogeather. Otherwise you will probably have to have your script do it's thing and then disable the network, with "ifconfig down". --=20 -- Perfection is just a word I use occasionally with mustard. --Atom Powers--