From owner-freebsd-mobile Wed May 29 15: 3:50 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id EDDA237B407 for ; Wed, 29 May 2002 15:03:43 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1192) id CC00EAE147; Wed, 29 May 2002 15:03:43 -0700 (PDT) Date: Wed, 29 May 2002 15:03:43 -0700 From: Alfred Perlstein To: George Hartzell Cc: freebsd-mobile@freebsd.org Subject: Re: Help me translate a linux habit to a Freebsd 4.5-p5 laptop. Message-ID: <20020529220343.GZ17045@elvis.mu.org> References: <15605.20108.605502.219635@rosebud.alerce.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15605.20108.605502.219635@rosebud.alerce.com> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org * George Hartzell [020529 15:01] wrote: > > Under Redhat Linux 7.2, a network interface can be set up so that it > isn't started when the machine boots, but rather when someone runs a > command like: > > ifup eth0 > > If eth0 is config'ed with fixed addresses, it'll just set 'em, and if > it's set up to use DHCP, it'll go set itself up appropriately. > > I find this handy with my laptop, since I'm frequently running around > disconnected and having the interface down keeps me from having to > wait while a bunch of stuff tries to use it. When I show up at some > place w/ a cable, I just plug in, ifup, and away I go. When I'm done, > ifdown eth0 and it drops the routes, removes the entries from > /etc/resolv.conf, etc.... > > In this case (sony vaio 505je or hsk), it's a built in fxp0 interface. I think you could tackle this on your own with a little shell scripting no? :) -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message