From owner-freebsd-mobile Wed Mar 22 9:43:12 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from hbo.isi.edu (hbo.isi.edu [128.9.160.75]) by hub.freebsd.org (Postfix) with ESMTP id B267C37B95D for ; Wed, 22 Mar 2000 09:43:10 -0800 (PST) (envelope-from larse@hbo.isi.edu) Received: (from larse@localhost) by hbo.isi.edu (8.9.3/8.9.3) id JAA45790; Wed, 22 Mar 2000 09:43:04 GMT (envelope-from larse) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14552.38312.394047.26756@hbo.isi.edu> Date: Wed, 22 Mar 2000 09:43:04 +0000 (GMT) From: Lars Eggert To: andrews@technologist.com Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: switching between connected/disconnected operation? In-Reply-To: <20000322121915.A372@argon.blackdawn.com> References: <14551.49718.603919.823550@hbo.isi.edu> <20000322121915.A372@argon.blackdawn.com> Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org will> The university you're sending mail from (isi.edu) has software will> for this purpose (well, sort of). ISI's DHCP client (dhclient) will> is good for when you connect to a network. Then a small shell will> script to ifconfig down the interface will do the "off" part will> of the job. DHCP is fine to configure your interfaces dynamically, but has two issues: 1. you need to run a DHCP server on all locations 2. (re)configuring named, nis, nfs, etc. requires hacking scripts (as you said) Maybe I should elaborate on my initial question: I know the config switcher we'd like can be implemented by hacking any number of scripts under /etc, and there are different ways to go about this. I was wondering if anyone had done such a thing before, to avoid duplicate effort. Since quite a few people seem to be interested in this, maybe once a successful solution is found, it should make it into -current? Lars ________________________________________________________________________ Lars Eggert Information Sciences Institute http://www.isi.edu/~larse/ University of Southern California To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message