Can't find rc.inet1, rc.inet2 in REDHAT??

Can't find rc.inet1, rc.inet2 in REDHAT??

Post by Vincen » Tue, 29 Dec 1998 04:00:00



The Slackware distrubution has the following files for building an
Intranet:

/etc/HOSTNAME
/etc/hosts
/etc/host.conf
/etc/resolv.conf
/etc/rc.d/rc.inet1
/etc/rc.d/rc.inet2.

The RedHat 5.1 distrubution has all of the above, except for:

/etc/resolv.conf
/etc/rc.d/rc.inet1
/etc/rc.d/rc.inet2

I cannot find these 3 files anywhere in the RedHat distribution.  Where
would these files be in RedHat 5.1?

                         Thanks,
                         Vincent

 
 
 

Can't find rc.inet1, rc.inet2 in REDHAT??

Post by Norman Jorda » Tue, 29 Dec 1998 04:00:00



> The Slackware distrubution has the following files for building an
> Intranet:

> /etc/HOSTNAME
> /etc/hosts
> /etc/host.conf
> /etc/resolv.conf
> /etc/rc.d/rc.inet1
> /etc/rc.d/rc.inet2.

> The RedHat 5.1 distrubution has all of the above, except for:

> /etc/resolv.conf
> /etc/rc.d/rc.inet1
> /etc/rc.d/rc.inet2

> I cannot find these 3 files anywhere in the RedHat distribution.  Where
> would these files be in RedHat 5.1?

>                          Thanks,
>                          Vincent

It is organized in a vastly different manner.  Most of the networking
configuration files are in /etc/sysconfig/network-scripts.  The ifcfg-ethx
files are used for configuring ethernet cards.

-- Norman Jordan -- Electrical Engineering Student

The Linux Resource Center

 
 
 

Can't find rc.inet1, rc.inet2 in REDHAT??

Post by guru meditati » Tue, 29 Dec 1998 04:00:00




Quote:>The Slackware distrubution has the following files for building an
>Intranet:

>/etc/HOSTNAME
>/etc/hosts
>/etc/host.conf
>/etc/resolv.conf
>/etc/rc.d/rc.inet1
>/etc/rc.d/rc.inet2.

>The RedHat 5.1 distrubution has all of the above, except for:

>/etc/resolv.conf
>/etc/rc.d/rc.inet1
>/etc/rc.d/rc.inet2

>I cannot find these 3 files anywhere in the RedHat distribution.  Where
>would these files be in RedHat 5.1?

>                         Thanks,
>                         Vincent

If your database is upto date try  locate rc.inet1
 
 
 

Can't find rc.inet1, rc.inet2 in REDHAT??

Post by Jeffrey S. Klin » Tue, 29 Dec 1998 04:00:00


This is interesting since they exist on my install. Did you install all of
the needed opts when you loaded? The only things I had to do on mine was to
go in and manually add in or edit stuff to make the thing work the way I
needed it to.

Jeff


> The Slackware distrubution has the following files for building an
> Intranet:

> /etc/HOSTNAME
> /etc/hosts
> /etc/host.conf
> /etc/resolv.conf
> /etc/rc.d/rc.inet1
> /etc/rc.d/rc.inet2.

> The RedHat 5.1 distrubution has all of the above, except for:

> /etc/resolv.conf
> /etc/rc.d/rc.inet1
> /etc/rc.d/rc.inet2

> I cannot find these 3 files anywhere in the RedHat distribution.  Where
> would these files be in RedHat 5.1?

>                          Thanks,
>                          Vincent

 
 
 

Can't find rc.inet1, rc.inet2 in REDHAT??

Post by Stuart R. Full » Tue, 29 Dec 1998 04:00:00


: The Slackware distrubution has the following files for building an
: Intranet:
:
: /etc/HOSTNAME
: /etc/hosts
: /etc/host.conf
: /etc/resolv.conf
: /etc/rc.d/rc.inet1
: /etc/rc.d/rc.inet2.
:
: The RedHat 5.1 distrubution has all of the above, except for:
:
: /etc/resolv.conf
: /etc/rc.d/rc.inet1
: /etc/rc.d/rc.inet2
:
: I cannot find these 3 files anywhere in the RedHat distribution.  Where
: would these files be in RedHat 5.1?
:

/etc/resolv.conf is created on the fly by the installation procedure.

The other two files, rc.inet[12] are not used on the Redhat distribution.
Redhat uses a different means of configuring the network.  These other files
are located in /etc/sysconfig/network*.  It's just a different way of doing
things.

        Stu

 
 
 

Can't find rc.inet1, rc.inet2 in REDHAT??

Post by Daniel War » Tue, 29 Dec 1998 04:00:00



> This is interesting since they exist on my install. Did you install all of
> the needed opts when you loaded? The only things I had to do on mine was to
> go in and manually add in or edit stuff to make the thing work the way I
> needed it to.

One post already stated this, but I would like to elaborate if I could..

Check out /usr/doc/lilo* and read the lilo documentation if your
interested in knowing how your machine boots up.  Essentially - it boots
the kernel, mounts the root device, then executes /sbin/init.  That is why
when you do a process list, you'll always see init as the first process -
because it is the mother process.  

When init loads it looks for /etc/inittab and runs through that file.

You may have some entries in /etc/inittab that look like:

                # Default runlevel.
                id:3:initdefault:

                # System initialization (runs when system boots).
                si:S:sysinit:/etc/rc.d/rc.S

                # Runlevel 0 halts the system.
                l0:0:wait:/etc/rc.d/rc.0

this tells init what runlevel to associate for each state, and which file
to execute when that runlevel starts.  As you can see from the example
below, the system initialization state runs the /etc/rc.d/rc.S file. it is
*IMPORTANT* to note that it doesn't have to be /etc/rc.d/rc.S .. it could
be /foobar/foo/foo/foo/startmeup or something :-)

Check out your /etc/inittab and determine what the system initialization
script is.  Then locate that script, edit it, and take a look see at it.
If you're not too familiar with shell scripts you may not understand much
- but basically the script starts up daemons - loads modules, starts
network interfaces, etc etc..  the system init script in slackware (for
purpose of simplicity), calls a separate script for each related group of
functions to perform.

On a Redhat system they've got a lot of automatic customization to worry
about.  You know, they have an X app or a console app that customizes how
your system boots up - I'm assuming that is why their rc.d files are so
different - mind you i've seen SCO rc.d structures like that as well.  But
again, no matter *WHICH* distro you are on, if you check out inittab and
follow through the scripts, you'll understand how it all works.

Now as far as the intranet scripts...  An intranet is simply a lan that
uses TCP/IP services.  So if you are hooking up a bunch of Linux boxes or
Win95 / Linux boxes - of course you're going to be using TCP/IP -
otherwise it'd be a waste to have the Linux box there...  So the term
'intranet' really is trivial for Linux networking..  In simple
'networking' terms - you setup an interface with an IP address, adjust the
routing tables - and voila! away you go.

-Daniel

PS- Of course my explanations are sugar-coated but you can go infinately
    more indepth.

 
 
 

Can't find rc.inet1, rc.inet2 in REDHAT??

Post by lamaki » Sat, 02 Jan 1999 04:00:00



> The Slackware distrubution has the following files for building an
> Intranet:

> /etc/HOSTNAME
> /etc/hosts
> /etc/host.conf
> /etc/resolv.conf
> /etc/rc.d/rc.inet1
> /etc/rc.d/rc.inet2.

> The RedHat 5.1 distrubution has all of the above, except for:

> /etc/resolv.conf
> /etc/rc.d/rc.inet1
> /etc/rc.d/rc.inet2

> I cannot find these 3 files anywhere in the RedHat distribution.  Where
> would these files be in RedHat 5.1?

>                          Thanks,
>                          Vincent

  rc.inet1   rc.inet2  are network setup files   so look for network files
 
 
 

Can't find rc.inet1, rc.inet2 in REDHAT??

Post by Pete Keye » Mon, 04 Jan 1999 04:00:00




> > The RedHat 5.1 distrubution has all of the above, except for:

> > /etc/resolv.conf
> > /etc/rc.d/rc.inet1
> > /etc/rc.d/rc.inet2

> > I cannot find these 3 files anywhere in the RedHat distribution.  Where
> > would these files be in RedHat 5.1?

> >                          Thanks,
> >                          Vincent

>   rc.inet1   rc.inet2  are network setup files   so look for network files

    ^^^^^^^^^^^^^^^^^^^ DO NOT EXIST As such in any i386 Redhat distro.
 I didn't see the original post, so I don't know what Vincent is trying
to do, but the files He is looking for, (except for /etc/resolv.conf,
which should be there) are in /etc/rc.d/init.d/ .
They are:  inet, nfs, nfsfs.

Hope this helps.

Pete
--

                This is Another Fine Myth you've gotten me into!

                                Lor L. and Har D.

 
 
 

1. Where's RedHat rc.inet1, rc.inet2 files??

The Slackware distrubution has the following files for building an
Intranet:

/etc/HOSTNAME
/etc/hosts
/etc/host.conf
/etc/resolv.conf
/etc/rc.d/rc.inet1
/etc/rc.d/rc.inet2.

The RedHat 5.1 distrubution has all of the above, except for:

/etc/resolv.conf
/etc/rc.d/rc.inet1
/etc/rc.d/rc.inet2

I cannot find these 3 files anywhere in the RedHat distribution.  Where
would these files be in RedHat 5.1?

                         Thanks,
                         Vincent

2. PCMCIA and Dell Latitude LM

3. Does RedHat use rc.inet1 * rc.inet2 for its TCP setup

4. dynamic loading bug

5. What is the equivalent of /etc/rc.d/rc.inet1 file in Redhat 4.1 ?

6. apic and irq sharing

7. /etc/rc.d/rc.inet1 can't fork.

8. nc with -e option

9. REQUEST: /etc/rc.d/rc.inet2 file from 1.2.8 slackware

10. Slackware UMSDOS Install Prob: Can't find rc.M, rc.S, etc..

11. difference between /etc/rc.sysinit and /etc/rc.d/rc.sysinit ?

12. which user does /etc/rc.d/rc.local / rc.sysinit run as?