From owner-freebsd-questions Thu Sep 5 8:25:19 2002 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 E538937B400 for ; Thu, 5 Sep 2002 08:25:16 -0700 (PDT) Received: from catflap.home.slightlystrange.org (host217-39-91-62.in-addr.btopenworld.com [217.39.91.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F40243E4A for ; Thu, 5 Sep 2002 08:25:15 -0700 (PDT) (envelope-from dan@slightlystrange.org) Received: from danielby by catflap.home.slightlystrange.org with local (Exim 3.36 #1) id 17myVI-000PEI-00 for freebsd-questions@freebsd.org; Thu, 05 Sep 2002 16:25:08 +0100 Date: Thu, 5 Sep 2002 16:25:08 +0100 From: Daniel Bye To: freebsd-questions@freebsd.org Subject: Re: handling several network configs Message-ID: <20020905152508.GF91519@catflap.home.slightlystrange.org> Reply-To: dan@slightlystrange.org Mail-Followup-To: freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Scanner: exiscan *17myVI-000PEI-00*.xLKGcxKZDE* (SlightlyStrange.org, Using NOD32 http://www.nod32.com) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Sep 05, 2002 at 11:16:51AM -0400, John Bleichert wrote: > > Hello all > > My laptop lives on several rather different networks - some DHCP, some > not, with fixed network parameters. Are there any utilities I can use to > manage these network configs i.e. pick one after system boot? Or should I > just spend a few days in the man pages and RC files, figure out what gets > written where at network bringup and script accordingly? > > In Linux I just wrote a shell script to accept an arg and configure the > network accordingly. Too bad it's not portable ;-) Take a look at sysutils/personality in the ports. I think it does what you want, but I have never used it so can't offer anything definite. Dan -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message