From owner-freebsd-mobile Tue Mar 21 18:41: 0 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 6470A37B9D0 for ; Tue, 21 Mar 2000 18:40:57 -0800 (PST) (envelope-from larse@hbo.isi.edu) Received: (from larse@localhost) by hbo.isi.edu (8.9.3/8.9.3) id SAA27564; Tue, 21 Mar 2000 18:40:54 GMT (envelope-from larse) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14551.49718.603919.823550@hbo.isi.edu> Date: Tue, 21 Mar 2000 18:40:54 +0000 (GMT) From: Lars Eggert To: freebsd-mobile@freebsd.org Subject: switching between connected/disconnected operation? Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, we're trying to come up with a way to configure our laptops so that we can easily switch between connected (i.e. we have a net) and disconnected (we have no net) states. This does not need to be automatic (would be nice though), having users type "net on|off" in a shell is perfectly fine. Looking at /etc, it seems that what we'd like requires non-trivial changes to the configuration; the laptops we'd like this for run a number of services that would need to be started/stopped: NIS, NFS (clients), inetd, sendmail, sshd, lpd, amd, named, etc. Some of these should be okay to leave running when disconnecting (e.g. inetd, sshd). Others (NIS, NFS, amd) must be stopped/restarted. Has anyone ever done this? How? Any pointers? This is for 4.0-RELEASE, btw. Thanks, Lars PS: I'm not currently subscribed, please cc me explicitly. ________________________________________________________________________ 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