Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 May 2002 12:03:06 +0100
From:      dom@happygiraffe.net (Dominic Mitchell)
To:        George Hartzell <hartzell@kestrel.alerce.com>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: Help me translate a linux habit to a Freebsd 4.5-p5 laptop.
Message-ID:  <20020531120306.A16474@cathbad.happygiraffe.net>
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
References:  <15605.20108.605502.219635@rosebud.alerce.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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
> 
> 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 that you may have to do this yourself.  Consider setting
network_interfaces="" in /etc/rc.conf and then take a look at what the
/etc/netstart script does as a basis for your needs.

I really wish we had the NetBSD rc.d stuff...

-Dom

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020531120306.A16474>