[96138] in RedHat Linux List
Re: Network configuration
daemon@ATHENA.MIT.EDU (Eric Cifreo)
Sat Oct 24 14:26:59 1998
From: Eric Cifreo <eric@kazan.com>
To: redhat-list@redhat.com
Date: Mon, 17 Aug 48409 11:48:30 -0500
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
On Sat, 24 Oct 1998, Stefan Strasser wrote:
>Hi
>
>Is there a possibility to launch the network configuration (that runs
>during the installation) at a later moment? Or is there another program
>(not in X) that I can use for? I have RedHat 4.2
>
>thx, Strada
Well,
To do it outside of X, you'll have to edit some files. Start by looking
at "man ifconfig".
Your kernel may or may not have support for your particular NIC. If it's
already installed, watch during boot up to see if the kernel probes your
card, or study "dmesg | less" to see if your eth0 device was found. You may
have to rebuild your kernel to match your network card.
Once the kernel sees it, move on.
Set your hostname:
$ hostname what.youcall.yourbox
Make sure (at least) there's a line in /etc/hosts that says:
127.0.0.1 localhost
Put entries for your DNS machines in /etc/resolv.conf like this:
[eric@hetfield ~]$ cat /etc/resolv.conf
domain texas.net
localhost 127.0.0.1
nameserver 209.217.0.2
nameserver 209.128.0.2
Give your network card an IP address:
$ ifconfig eth0 192.168.20.155 #check the Linux Network Administrator's Guide
# for good info on private net IP. Then again
# you may have a static IP address. In either
# case, substitute your box's IP above.
You can activate this interface by saying,
$ ifconfig eth0 up
Check out "man netstat" too, a good diagnostics tool.
There are too many issues to go into here, like configuring gateways, etc.
Check out that Network Admin Guide mentioned above, and the NET-3 HOWTO,
both are available online.
Hope that gets you started.
If I've left something important out maybe others will lend a hand.
Eric Cifreo
Kazan Software
Austin, TX
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.