From owner-freebsd-mobile@FreeBSD.ORG Mon Aug 18 13:58:52 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4481137B401 for ; Mon, 18 Aug 2003 13:58:52 -0700 (PDT) Received: from graf.pompo.net (lns-th2-2f-81-56-186-139.adsl.proxad.net [81.56.186.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57C9143F3F for ; Mon, 18 Aug 2003 13:58:51 -0700 (PDT) (envelope-from thierry@pompo.net) Received: by graf.pompo.net (Postfix, from userid 1001) id C822D7529; Mon, 18 Aug 2003 22:57:15 +0200 (CEST) Date: Mon, 18 Aug 2003 22:57:15 +0200 From: Thierry Thomas To: "Marc H." Message-ID: <20030818205715.GD73495@graf.pompo.net> References: <3F411831.4000102@nerim.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3F411831.4000102@nerim.net> X-Face: (hRbQnK~Pt7$ct`!fupO(`y_WL4^-Iwn4@ly-.,[4xC4xc; y=\ipKMNm<1J>lv@PP~7Z<.t KjAnXLs: User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.8-STABLE i386 Organization: Kabbale Eros X-PGP: 0xC71405A2 cc: freebsd-mobile@freebsd.org Subject: Re: auto config NICs in rc.conf X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2003 20:58:52 -0000 Le Lun 18 aoû 03 à 20:17:21 +0200, Marc H. écrivait : > > Is there an utility to do autodetection of LAN config? > > I've written a script to do this with a exhaustive list of the places I > connect my laptop, the script do ifconfig, ping the gateway ip@ and if > ECHO_REPLY then exit with this parmeters. Someone could tell me how > rc.network and rc.d/rc.network[123] are to be used in order to insert my > script ? Have you checked Setnetparms? This is not "auto config", but it runs fine here. Regards, -- Th. Thomas.