[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/init.d/network v. /etc/network/*



On Thu, Sep 21, 2000 at 03:01:05PM -0500, will trillich (will@serensoft.com) wrote:
> On Mon, Sep 18, 2000 at 06:26:47PM -0700, kmself@ix.netcom.com wrote:
> > Could someone set me straight on the distinction between
> > /etc/init.d/network and the definition files under /etc/network:  
> > interfaces, options, and spoof-protect.
> > 
> > We've got a balky server which doesn't like coming on-line (and
> > occasionally likes going off) when it boots.  I suspect multiple network
> > config upfsckage.
> > 
> > Docs I've been able to find are less than crystal on the distinction
> > between these files.
> 
> what i've seen says that
> 	/etc/init.d/* are SCRIPTS that are run when entering various
> 	runlevels (rcS at startup, rc2 when entering runlevel 2...)
> and
> 	/etc/network/*
> are the CONFIGURATION files for various network facilities.
> 
> 	% man interfaces
> will tell you about the /etc/network/interfaces file.

I'd pretty much worked that much out.

The standard (or old-style) /etc/init.d/network script isn't a typical
init.d script, however.  It doesn't have the typical start | stop |
reload | restart | status switches.

What /etc/init.d/network *does* say is:

    # In new Debian installations, this file is deprecated in favour of
    # the ifup/ifdown commands (invoked from /etc/init.d/networking),
    # which can be configured from the file /etc/network/interfaces.

So -- should I configure /etc/network/interfaces, delete
/etc/init.d/network, and pray everything works from
/etc/init.d/networking?

That seems to be the plan.

-- 
Karsten M. Self <kmself@ix.netcom.com>     http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.                    http://www.opensales.org
  What part of "Gestalt" don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/    K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0

Attachment: pgpRkZNT_1Xen.pgp
Description: PGP signature


Reply to: