From owner-freebsd-questions Mon Apr 30 7: 3: 7 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 7BDFC37B422 for ; Mon, 30 Apr 2001 07:03:03 -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.1/8.11.1) with ESMTP id f3UDvjn76168; Mon, 30 Apr 2001 09:57:45 -0400 (EDT) (envelope-from hawk@fac13.ds.psu.edu) Message-Id: <200104301357.f3UDvjn76168@fac13.ds.psu.edu> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: Bob Greene Cc: freebsd-questions@FreeBSD.ORG Subject: Re: setting up laptop for both static/dynamic ip'ss In-Reply-To: Your message of "Sun, 29 Apr 2001 12:33:58 CDT." <3AEC5086.87A84F7C@tclme.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 30 Apr 2001 09:57:45 -0400 From: "~/.signature" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG bob bubbled, > "Richard E. Hawkins" wrote: > > My laptop arrives on Tuesday (we think). It will need to use > > a static IP when at my desk, and dynamic when dialing in. Is > > there a way to make this automatic--perhaps so that if it finds > > the network on boot, it uses the static, and if not, it waits for > > ppp to be launched? > Why don't you just down the ethernet interface in your ppp script? Is it really that easy? :) There's something in the back of my mind telling me that the routing information and the IP address in rc.conf caused problems doing this, but maybe I'm just confusing this with the lack of a "swapoff" command . . . -- 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