From owner-freebsd-questions Tue May 8 8:43:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from fac13.ds.psu.edu (fac13.ds.psu.edu [146.186.61.98]) by hub.freebsd.org (Postfix) with ESMTP id 0637137B424; Tue, 8 May 2001 08:43:13 -0700 (PDT) (envelope-from hawk@fac13.ds.psu.edu) Received: from fac13.ds.psu.edu (localhost [127.0.0.1]) by fac13.ds.psu.edu (8.11.3/8.11.3) with ESMTP id f48FhBx11089; Tue, 8 May 2001 11:43:11 -0400 (EDT) (envelope-from hawk@fac13.ds.psu.edu) Message-Id: <200105081543.f48FhBx11089@fac13.ds.psu.edu> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: wayne.pascoe@realtime.co.uk Cc: freebsd-questions@FreeBSD.ORG, freebsd-mobile@FreeBSD.ORG Subject: Re: Laptop on 2 networks - solutions ? In-Reply-To: Your message of "08 May 2001 15:50:24 BST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: dochawk@psu.edu Date: Tue, 08 May 2001 11:43:11 -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm toying with a similar issue. At the office there's a static IP on the ethernet, and at home will be ppp by modem. I'm thinking of a script early in the boot that figures out whether or not there's anything on the ethernet. If so, it should go through the regular boot (possibly copying files into place). If not, it should set up on demand ppp. Either way, it shoul dset up a globally readable environmental variable so that my user startup scripts can figure out which to use (ie, don't launch lynx and fetchmail automatically!) hawk -- Prof. Richard E. Hawkins, Esq. /"\ ASCII ribbon campaign dochawk@psu.edu Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of X and postings Penn State until it pays my retainer. / \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message