Equis Uno wrote:
> Hi,
>
> I was just given a server running redhat as 2.1
>
> I figured out the name of one of the ethernet cards is eth0.
>
> How do I configure this host so that eth0 has a static ethernet
> address and hostname associated with it?
For '2.1', I take that to mean Redhat Enterprise Linux 2.1. For a simple
command line interface, run 'setup', and then choose 'network
configuration' out of the list. There are a lot of fields to fill in and
should be self-explanatory.
>
> Where do I specify the domain name for this host?
>
Not sure how to do that. I didn't need to do that when setting up Redhat
Enterprise Linux 2.1 since I had a static IP address set up with a DNS
entry.
> Where do I specify the ip address of the gateway?
Follow the first step to set it up in the command line GUI ('setup'
command).
Alternatively, you can manually edit the file /etc/sysconfig/network:
NETWORKING=yes
HOSTNAME=xxxxx <== PUT HOSTNAME OF LOCALHOST HERE
GATEWAY=1.1.1.1 <== PUT GATEWAY HERE
Then after editing the file, run the command '/etc/init.d/network restart'.
>
> Where do I specify the ip address of the dns server?
I believe the 'setup' command also has the DNS as part of the network
configuration tool. In addition, you can manually edit the file
/etc/resolv.conf:
search b.c.d <== TELLS which domain to search (so that if you had a
computer named 'a.b.c.d', you just have to type 'a'). You don't have to
have this line.
nameserver 1.1.1.1 <== Just put as many nameserver lines as you have
nameservers (aka DNS servers)
nameserver 1.1.1.2
nameserver 1.1.1.3
>
> I have a laptop which runs redhat 8.
>
> For that host I don't need to know any of this stuff; I just start
> the network configuation gui and answer the questions.
>
> Would it be easy to get an rpm with this network gui in it and install
> it on my AS 2.1 host?
Redhat Enterprise Linux 2.1 is based on the code stream for Redhat Linux
7.x variants. Thus, you will mostly get the tools that come with Redhat
7.x and not with later versions of Redhat. It may be possible but I'm
not sure how.
Regards,
Warren
|