From owner-freebsd-mobile Wed May 29 23:19:14 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from accms33.physik.rwth-aachen.de (accms33.physik.RWTH-Aachen.DE [137.226.46.133]) by hub.freebsd.org (Postfix) with ESMTP id 9E5E737B405 for ; Wed, 29 May 2002 23:18:53 -0700 (PDT) Received: (from kuku@localhost) by accms33.physik.rwth-aachen.de (8.9.3/8.9.3) id IAA13480; Thu, 30 May 2002 08:18:48 +0200 Date: Thu, 30 May 2002 08:18:48 +0200 From: Christoph Kukulies 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: <20020530081848.A13473@gilberto.physik.rwth-aachen.de> References: <15605.20108.605502.219635@rosebud.alerce.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <15605.20108.605502.219635@rosebud.alerce.com>; from hartzell@kestrel.alerce.com on Wed, May 29, 2002 at 02:56:28PM -0700 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 On Wed, May 29, 2002 at 02:56:28PM -0700, George Hartzell 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 This is a script in RH Linux: /etc/sysconfig/network-scripts/ifup and it does in principle nothing else than ifconfig interface up It also uses /usr/sbin/usernetctl, a suid root program to do 'insecure' things. > > 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. > > g. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-mobile" in the body of the message -- Chris Christoph P. U. Kukulies kukulies@rwth-aachen.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message