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

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

Post by Vincen » Mon, 28 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

 
 
 

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

Post by Graham Mille » Tue, 29 Dec 1998 04:00:00



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

>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 should be there with search and nameserver items
the rc.inet? files are not part of redhat linux. You'd have to say for what
they are used for me to advise the equivalent ones for RH

Greyman


 
 
 

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

Post by Lewis Fot » Tue, 29 Dec 1998 04:00:00


On RedHat the directory structure is as follows:

/etc/rc.d
/etc/rc.d/init.d
/etc/rc.d/rc0.d
/etc/rc.d/rc1.d
/etc/rc.d/rc2.d
/etc/rc.d/rc3.d
...

The /etc/rc.d/init.d directory holds all the scripts to start and stop
applications, while the rcX.d directories have symlinks into the init.d
directory which effectively rename the scripts, prefixing them with either
KXX or SXX indicating whether this is a start or stop script. The XX is a
pair of numerals indicating in which order the scripts should be run. For
example in /etc/rc3.d there are the following scripts;

K15postgresql       S10network          S45pcmcia           S85httpd
K20rusersd          S11portmap          S50inet             S85sound
K20rwhod            S15nfsfs            S55named            S91smb.rpmsave
K30sendmail         S20random           S60lpd              S99linuxconf
K55routed           S30syslog           S60nfs              S99local
K70ipfwadm          S40atd              S70ipfwadm
K87ypbind           S40crond            S75keytable
S01kerneld          S40portmap.rpmsave  S85gpm

A long listing of one of the scripts shows the following linking;


lrwxrwxrwx   1 root     root           15 Jul  5 11:03
/etc/rc.d/rc3.d/S85httpd -> ../init.d/httpd

Take a look inside the rc.d/rc script for more details.

Hope this helps

regards

Lewis


>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

 
 
 

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

Post by Randolp » Wed, 06 Jan 1999 04:00:00


Quote:>I cannot find these 3 files anywhere in the RedHat distribution.  >Where

would these files be in RedHat 5.1?
Quote:

>                         Thanks,
>                         Vincent

Vincent,
     I'm not sure where the files are located, have you tried a
"find / -name <filename> -print"  it may come up with it.

Randolph

 
 
 

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

Post by Stuart R. Full » Thu, 07 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?

/etc/resolv.conf is not included in the Redhat distribution.  Rather, it is
built during installation time or at network [re]configuration time.

The other two files (rc.inet[12]) are not used in the Redhat distribution.
They just have a different way of doing those activities performed by
rc.inet[12].

And, for all you others responding with guesses, like "Try using find", etc.
Please, if you don't know the answer to a question, posting guesses and other
nonsense just wastes people's time.

        Stu

 
 
 

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

Post by Adam » Thu, 07 Jan 1999 04:00:00


redhat keeps its network related stuff in /etc/sysconfig/network.

resolv.conf is simple, it should have two or three lines

nameserver 111.222.333.444
domain example.com

it really only needs the nameserver line, where 111.222.333.444 is the IP
address of your nameserver.

--Adam

Quality domain hosting from $5/month
http://www.virtual-estate.net

 
 
 

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

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. CPU speed control under linux

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

4. COM/tty Port setup?

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

6. defaultroute in pppd not working

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

8. Change Video Mode in UNIX

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

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

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

12. SOLVED - Raid rc.0, rc.6 rc.S