From owner-freebsd-stable@FreeBSD.ORG Tue Jun 6 09:25:01 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D315316B617; Tue, 6 Jun 2006 09:21:03 +0000 (UTC) (envelope-from roth@droopy.unibe.ch) Received: from mailhub03.unibe.ch (mailhub.unibe.ch [130.92.9.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 213C043D49; Tue, 6 Jun 2006 09:21:02 +0000 (GMT) (envelope-from roth@droopy.unibe.ch) Received: from localhost (scanhub01.unibe.ch [130.92.5.61]) by mailhub03.unibe.ch (Postfix) with ESMTP id CEDA3428AF; Tue, 6 Jun 2006 11:21:00 +0200 (CEST) X-Virus-checked: by University of Berne Received: from mailhub03.unibe.ch ([130.92.9.70]) by localhost (scanhub01.unibe.ch [130.92.5.61]) (amavisd-new, port 10024) with LMTP id audmgCa5RElh; Tue, 6 Jun 2006 11:20:57 +0200 (CEST) Received: from asterix.unibe.ch (asterix.unibe.ch [130.92.64.4]) by mailhub03.unibe.ch (Postfix) with ESMTP id 5267942885; Tue, 6 Jun 2006 11:20:57 +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 k569KvJu001649; Tue, 6 Jun 2006 11:20:57 +0200 (MEST) Received: (from roth@localhost) by droopy.unibe.ch (8.12.10+Sun/8.12.9/Submit) id k569KrN5012909; Tue, 6 Jun 2006 11:20:53 +0200 (MEST) Date: Tue, 6 Jun 2006 11:20:53 +0200 From: Tobias Roth To: Kevin Oberman Message-ID: <20060606092053.GA12873@droopy.unibe.ch> Mail-Followup-To: Kevin Oberman , freebsd-stable@freebsd.org, freebsd-mobile@freebsd.org References: <20060605195148.GJ99893@afflictions.org> <20060605203615.D321545043@ptavv.es.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060605203615.D321545043@ptavv.es.net> User-Agent: Mutt/1.4i X-message-flag: Warning! Using Outlook is insecure and promotes virus distribution. Please use a different email client. Cc: freebsd-stable@freebsd.org, freebsd-mobile@freebsd.org Subject: laptop multihoming [was: [OT] resolv.conf and dhclient] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 09:25:08 -0000 On Mon, Jun 05, 2006 at 01:36:15PM -0700, Kevin Oberman wrote: > > I use Tobias Roth's profile.sh which is available from > https://secure.socket.ch/projects/profile/. It is less than perfect, but > works very well for me. It allows totally different user environments > depending on your network connection. > > It works by union mounting a different copy of /etc depending on what is > probed on the network. I have profiles for home (wireless), work (1 > location wired and 1 wired + wireless), and general random connections. > > Since the entire rc.conf as well as all other files in /etc may be > connection specific, you can do almost anything you want to vary the > config. Please allow me to make a remark about the current state of profile.sh. It currently works for me, and others. However, its architecture is based on the outdated assumption that location changes are only triggered at startup (startup in a new environment) or at resume (suspend and then resume somewhere else). Now, we are currently moving to a much more dynamic behaviour, where location changes can happen at any time. The new dhcp client as well as wpa supplicant are steps towards that direction. Profile.sh, though, is not suited for this. A better solution has to be found, that retains as much of the flexibility of profile.sh as possible. I am not yet actively working on this, and I don't know when I will have the time to start. But the topic of 'laptop multihoming' or whatever you want to call it is still important, I think. Thanks, Tobias