From owner-freebsd-mobile@FreeBSD.ORG Thu Jun 16 14:46:24 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org 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 6571A16A41C for ; Thu, 16 Jun 2005 14:46:24 +0000 (GMT) (envelope-from roth@droopy.unibe.ch) Received: from mailhub04.unibe.ch (mailhub04.unibe.ch [130.92.9.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E41243D1D for ; Thu, 16 Jun 2005 14:46:23 +0000 (GMT) (envelope-from roth@droopy.unibe.ch) Received: from localhost (scanhub01-eth0.unibe.ch [130.92.254.65]) by mailhub04.unibe.ch (Postfix) with ESMTP id 04268AE14; Thu, 16 Jun 2005 16:46:23 +0200 (CEST) Received: from mailhub04.unibe.ch ([130.92.9.71]) by localhost (scanhub01.unibe.ch [130.92.254.65]) (amavisd-new, port 10024) with LMTP id 13832-03-35; Thu, 16 Jun 2005 16:46:20 +0200 (CEST) Received: from asterix.unibe.ch (asterix.unibe.ch [130.92.64.4]) by mailhub04.unibe.ch (Postfix) with ESMTP id E2C05AE13; Thu, 16 Jun 2005 16:46:20 +0200 (CEST) Received: from droopy.unibe.ch (droopy [130.92.64.20]) by asterix.unibe.ch (8.12.10+Sun/8.12.10) with ESMTP id j5GEkK8n024104; Thu, 16 Jun 2005 16:46:21 +0200 (MEST) Received: (from roth@localhost) by droopy.unibe.ch (8.12.10+Sun/8.12.9/Submit) id j5GEkK8g022550; Thu, 16 Jun 2005 16:46:20 +0200 (MEST) Date: Thu, 16 Jun 2005 16:46:20 +0200 From: Tobias Roth To: Robert McElhaney Message-ID: <20050616144620.GA22061@droopy.unibe.ch> Mail-Followup-To: Robert McElhaney , freebsd-mobile@freebsd.org References: <42B18506.8040307@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42B18506.8040307@gmail.com> User-Agent: Mutt/1.4i X-message-flag: Warning! Using Outlook is insecure and promotes virus distribution. Please use a different email client. X-Virus-checked: by University of Berne Cc: freebsd-mobile@freebsd.org Subject: Re: The right way to connect to DHCP & static addressed networks. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2005 14:46:24 -0000 On Thu, Jun 16, 2005 at 09:56:22AM -0400, Robert McElhaney wrote: > I'm currently running FreeBSD 5.3 on my Sony Vaio and I use the laptop > in two different work environments. My home office uses DHCP to assign > the ip address, default router, and name servers. My work office uses a > company issued static ip address, company default router, and company > name servers. Has anyone already done this and documented it somewhere? > If not, should I try to solve it in dhclient, or should I just write > some custom scripting to add to the rc startup scripts? Any > recommendations would be most appreciated. In a shameless act of self-promotion, I suggest https://projects.fsck.ch/profile It's not entirely finished, but already works very well for most tasks. In a couple of weeks I'll have time to add the missing parts. cheers, t.