From owner-freebsd-questions@FreeBSD.ORG Mon May 3 15:08:06 2004 Return-Path: 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 49A7116A4CE; Mon, 3 May 2004 15:08:06 -0700 (PDT) Received: from mailhub01.unibe.ch (mailhub01.unibe.ch [130.92.9.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9816943D45; Mon, 3 May 2004 15:08:05 -0700 (PDT) (envelope-from roth@speedy.unibe.ch) Received: from localhost (scanhub01.unibe.ch [130.92.254.65]) by mailhub01.unibe.ch (Postfix) with ESMTP id 728E725BB69; Tue, 4 May 2004 00:08:04 +0200 (MEST) Received: from mailhub01.unibe.ch ([130.92.9.52]) by localhost (scanhub01 [130.92.254.65]) (amavisd-new, port 10024) with LMTP id 22521-06-47; Tue, 4 May 2004 00:08:02 +0200 (CEST) Received: from asterix.unibe.ch (asterix.unibe.ch [130.92.64.4]) by mailhub01.unibe.ch (Postfix) with ESMTP id 67E6225BB87; Tue, 4 May 2004 00:08:02 +0200 (MEST) Received: from speedy.unibe.ch (speedy [130.92.64.35]) by asterix.unibe.ch (8.11.7p1+Sun/8.11.7) with ESMTP id i43M82b00452; Tue, 4 May 2004 00:08:02 +0200 (MET DST) Received: (from roth@localhost) by speedy.unibe.ch (8.12.10+Sun/8.12.9/Submit) id i43M81rg018906; Tue, 4 May 2004 00:08:01 +0200 (MEST) Date: Tue, 4 May 2004 00:08:01 +0200 From: Tobias Roth To: Stephen Moriarty Message-ID: <20040503220801.GA18886@speedy.unibe.ch> Mail-Followup-To: Stephen Moriarty , freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org References: <243F1870-9D3D-11D8-A28A-0003938AA46E@avid.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <243F1870-9D3D-11D8-A28A-0003938AA46E@avid.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-questions@freebsd.org cc: freebsd-mobile@freebsd.org Subject: Re: Using FreeBSD disconnected on a notebook X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 May 2004 22:08:06 -0000 On Mon, May 03, 2004 at 04:04:53PM -0400, Stephen Moriarty wrote: > I'm trying to configure FreeBSD on my notebook such that when it's > docked at the office, I'm able to take advantage of networked resources > - NIS, amd, NFS. When I'm away, I want to selectively, and preferably > automatically, take advantage of the more limited network resources, > which usually includes none of the previous examples. Surely, someone > else has already solved this. The only reference I found were relative > to email. http://lists.freebsd.org/pipermail/freebsd-mobile/2003-November/002284.html this patch might help. it enables support for multiple network profiles (eg home, work, home-wlan) that get detected automatically whenever the laptop is started or woken from suspend. everything below /etc can be configured per location, and hooks for non- /etc stuff are present. it does not apply cleanly to -current but that can easily be fixed. i don't have time right now to add the missing parts (acpi support, clean restart in case the laptop crashes, for whatever reason not related to my patch, fully working suspend/resume support), but i will fix things next month or so. i have used it without suspend/resume functionality for months and it is stable. cheers, t.