From owner-freebsd-mobile@FreeBSD.ORG Mon Aug 18 11:17:25 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 9C3BB37B401 for ; Mon, 18 Aug 2003 11:17:23 -0700 (PDT) Received: from mallaury.noc.nerim.net (smtp-101-monday.noc.nerim.net [62.4.17.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCDDC43FE1 for ; Mon, 18 Aug 2003 11:17:22 -0700 (PDT) (envelope-from mh@nerim.net) Received: from nerim.net (mh.net1.nerim.net [62.212.106.149]) by mallaury.noc.nerim.net (Postfix) with ESMTP id 747FC62D45 for ; Mon, 18 Aug 2003 20:17:19 +0200 (CEST) Message-ID: <3F411831.4000102@nerim.net> Date: Mon, 18 Aug 2003 20:17:21 +0200 From: "Marc H." User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4b) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: auto config NICs in rc.conf X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: mh@nerim.net List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2003 18:17:25 -0000 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 ? Marc