old-www/HOWTO/PPP-HOWTO/x71.html

254 lines
4.4 KiB
HTML

<HTML
><HEAD
><TITLE
>Differences between Linux distributions</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.52"><LINK
REL="HOME"
TITLE="Linux PPP HOWTO"
HREF="index.html"><LINK
REL="UP"
TITLE="Introduction"
HREF="c44.html"><LINK
REL="PREVIOUS"
TITLE="Introduction"
HREF="c44.html"><LINK
REL="NEXT"
TITLE="PPP configuration tools"
HREF="x100.html"></HEAD
><BODY
CLASS="SECT1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
><A
HREF="http://www.linuxports.com/howto/ppp"
TARGET="_top"
>Linux PPP HOWTO</A
></TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="c44.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 2. Introduction</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x100.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="AEN71"
>2.2. Differences between Linux distributions</A
></H1
><P
>There are many different Linux distributions and they all have their own
idiosyncrasies and ways of doing things.</P
><P
>In particular, there are two different ways a Linux (and Unix) computer
actually starts up, configures its interfaces, and so forth.</P
><P
>These are <I
CLASS="EMPHASIS"
>BSD system initialization</I
> and <I
CLASS="EMPHASIS"
>System V system
initialization</I
>. If you dip into some of the Unix news groups, you
will find occasional religious wars between proponents of these two
systems. If that sort of thing amuses you, have fun burning bandwidth
and join in!</P
><P
>Possibly the most widely used distributions are</P
><P
>&#13;<P
></P
><UL
><LI
><P
>Slackware
which uses BSD style system initialization</P
></LI
><LI
><P
>Red Hat (and its former associate Caldera)
which use SysV system initialization (although in a slightly modified form)</P
></LI
><LI
><P
>Debian
which uses SysV system initialization</P
></LI
></UL
>&#13;</P
><P
>BSD style initialization typically keeps its initialization files in
<TT
CLASS="LITERAL"
>/etc/...</TT
> and these files are:-</P
><P
>&#13;<TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
> /etc/rc
/etc/rc.local
/etc/rc.serial
(and possibly other files)</PRE
></TD
></TR
></TABLE
>&#13;</P
><P
>Of recent times, some BSD system initialization schemes use a <TT
CLASS="LITERAL"
>/etc/rc.d...</TT
>
directory to hold the start up file rather than putting everything into <TT
CLASS="LITERAL"
>/etc</TT
>.</P
><P
>System V initialization keeps its initialization files in directories under
<TT
CLASS="LITERAL"
>/etc/...</TT
> or <TT
CLASS="LITERAL"
>/etc/rc.d/...</TT
> and a number of
subdirectories under there:-</P
><P
>&#13;<TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>drwxr-xr-x 2 root root 1024 Jul 6 15:12 init.d
-rwxr-xr-x 1 root root 1776 Feb 9 05:01 rc
-rwxr-xr-x 1 root root 820 Jan 2 1996 rc.local
-rwxr-xr-x 1 root root 2567 Jul 5 20:30 rc.sysinit
drwxr-xr-x 2 root root 1024 Jul 6 15:12 rc0.d
drwxr-xr-x 2 root root 1024 Jul 6 15:12 rc1.d
drwxr-xr-x 2 root root 1024 Jul 6 15:12 rc2.d
drwxr-xr-x 2 root root 1024 Jul 18 18:07 rc3.d
drwxr-xr-x 2 root root 1024 May 27 1995 rc4.d
drwxr-xr-x 2 root root 1024 Jul 6 15:12 rc5.d
drwxr-xr-x 2 root root 1024 Jul 6 15:12 rc6.d</PRE
></TD
></TR
></TABLE
>&#13;</P
><P
>If you are trying to track down where your Ethernet interface and
associated network routes are actually configured, you will need to
track through these files to actually find where the commands are
that do this.</P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="c44.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="x100.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Introduction</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="c44.html"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>PPP configuration tools</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>