* keeping static ip address alive between restarts
@ 2004-02-20 15:30 William Stanard
2004-02-20 18:24 ` Hal MacArgle
0 siblings, 1 reply; 9+ messages in thread
From: William Stanard @ 2004-02-20 15:30 UTC (permalink / raw)
To: linux-newbie
Running Red Hat 8.0 (2.4.18-14) on an old Acer I have keyed
ifconfig eth0 192.168.0.1
to set my box's ip address for my small LAN. What additional command
should I use to write that address permanently, so that I do not have to
ifconfig each time I restart? I have read and reread O'Reilly's Running
Linux and Learning Red Hat Linux; is there no process whereby the settings
are written to the correct files for startup, or must I (using vi, for
example) edit certain files myself?
Bill Stanard
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: keeping static ip address alive between restarts
[not found] <fc.004c4e000050d4a1004c4e000050d4a1.50d523@palmertrinity.o rg>
@ 2004-02-20 17:26 ` Ray Olszewski
0 siblings, 0 replies; 9+ messages in thread
From: Ray Olszewski @ 2004-02-20 17:26 UTC (permalink / raw)
To: linux-newbie
At 10:30 AM 2/20/2004 -0500, William Stanard wrote:
>Running Red Hat 8.0 (2.4.18-14) on an old Acer I have keyed
> ifconfig eth0 192.168.0.1
>to set my box's ip address for my small LAN. What additional command
>should I use to write that address permanently, so that I do not have to
>ifconfig each time I restart? I have read and reread O'Reilly's Running
>Linux and Learning Red Hat Linux; is there no process whereby the settings
>are written to the correct files for startup, or must I (using vi, for
>example) edit certain files myself?
As you've gathered from your reading, there is no *standard* procedure for
doing this in Linux/Unix (except in terms too general to be of use). Each
Linux distro has a different approach to automating this process, and I
don't know which of them Red Hat uses.
As a general matter, there will be a script run by the init process that
starts up networking. It may run the ifconfig command directly (as
Slackware does, for instance) or by way of some external program (as Debian
does, using the command "ifup -a", which in turn relies on the text file
/etc/network/interfaces).
I waited awhile before responding to you in the hope that some Red Hat user
here would give you the RH-specific answer. Perhaps someone still will. If
not, you'll need to look through the init scripts on your system (even the
locations of these scripts varies from distro to distro, but you can track
them down by looking for the base script listed in /etc/inittab for
single-user mode, then for the default runlevel) for the one that starts
networking.
Some versions of RH have a setup interface that can be used to start
networking in a way that will do the init-script editing for you. If yours
doesn't include that, you will have to edit some file using vi (or your
text editor of choice).
Sorry I cannot be more specific here ... as I say, you really need to hear
back from someone else who uses RH 8.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: keeping static ip address alive between restarts
2004-02-20 15:30 keeping static ip address alive between restarts William Stanard
@ 2004-02-20 18:24 ` Hal MacArgle
2004-02-20 19:11 ` Andrey V. Romanchev
0 siblings, 1 reply; 9+ messages in thread
From: Hal MacArgle @ 2004-02-20 18:24 UTC (permalink / raw)
To: linux-newbie
Greetings: As Ray says; RH may be different but Slackware, all
versions, have a file: rc.local, that's found -> /etc/rc.d/rc.local,
where you merely enter whatever command you want for each and every
future boot...
Disregard if RH doesn't have such an animal.
Hal - in Terra Alta, WV - Slackware GNU/Linux 9.0 (2.4.20)
Utrum Per Hebdomadem Perveniam
On 02-20, William Stanard wrote:
> Running Red Hat 8.0 (2.4.18-14) on an old Acer I have keyed
> ifconfig eth0 192.168.0.1
> to set my box's ip address for my small LAN. What additional command
> should I use to write that address permanently, so that I do not have to
> ifconfig each time I restart? I have read and reread O'Reilly's Running
> Linux and Learning Red Hat Linux; is there no process whereby the settings
> are written to the correct files for startup, or must I (using vi, for
> example) edit certain files myself?
>
> Bill Stanard
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: keeping static ip address alive between restarts
@ 2004-02-20 19:01 Chadha, Devesh
0 siblings, 0 replies; 9+ messages in thread
From: Chadha, Devesh @ 2004-02-20 19:01 UTC (permalink / raw)
To: 'haltec@kvinet.com', linux-newbie
Hi,
In the /etc/sysconfig/network-scripts path, you would have files named like
ifcfg-eth0, ifcfg-eth1 etc. You need to add this address to one of those
files. If your interface is eth0, edit ifcfg-eth0 and make the necessary
changes.
That would make the change permanent. Whenever you restart, the network
script in rc.d/init.d would pick up the info.
Regards,
Devesh
-----Original Message-----
From: linux-newbie-owner@vger.kernel.org
[mailto:linux-newbie-owner@vger.kernel.org] On Behalf Of Hal MacArgle
Sent: Friday, February 20, 2004 1:24 PM
To: linux-newbie@vger.kernel.org
Subject: Re: keeping static ip address alive between restarts
Greetings: As Ray says; RH may be different but Slackware, all versions,
have a file: rc.local, that's found -> /etc/rc.d/rc.local, where you merely
enter whatever command you want for each and every future boot...
Disregard if RH doesn't have such an animal.
Hal - in Terra Alta, WV - Slackware GNU/Linux 9.0 (2.4.20)
Utrum Per Hebdomadem Perveniam
On 02-20, William Stanard wrote:
> Running Red Hat 8.0 (2.4.18-14) on an old Acer I have keyed ifconfig
> eth0 192.168.0.1 to set my box's ip address for my small LAN. What
> additional command should I use to write that address permanently, so
> that I do not have to ifconfig each time I restart? I have read and
> reread O'Reilly's Running Linux and Learning Red Hat Linux; is there
> no process whereby the settings are written to the correct files for
> startup, or must I (using vi, for
> example) edit certain files myself?
>
> Bill Stanard
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
------------------------------------------------------------------------------
This message is intended only for the personal and confidential use of the
designated recipient(s) named above. If you are not the intended recipient of
this message you are hereby notified that any review, dissemination,
distribution or copying of this message is strictly prohibited. This
communication is for information purposes only and should not be regarded as
an offer to sell or as a solicitation of an offer to buy any financial
product, an official confirmation of any transaction, or as an official
statement of Lehman Brothers. Email transmission cannot be guaranteed to be
secure or error-free. Therefore, we do not represent that this information is
complete or accurate and it should not be relied upon as such. All
information is subject to change without notice.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: keeping static ip address alive between restarts
2004-02-20 18:24 ` Hal MacArgle
@ 2004-02-20 19:11 ` Andrey V. Romanchev
2004-02-21 6:34 ` pa3gcu
0 siblings, 1 reply; 9+ messages in thread
From: Andrey V. Romanchev @ 2004-02-20 19:11 UTC (permalink / raw)
Cc: linux-newbie
Hal MacArgle wrote:
> Greetings: As Ray says; RH may be different but Slackware, all
> versions, have a file: rc.local, that's found -> /etc/rc.d/rc.local,
> where you merely enter whatever command you want for each and every
> future boot...
OMG :)
There is more proper place in Slackware to set static ip address
/etc/rc.d/rc.inet1.conf (only since 9.1)
or just run netconfig
--
Hi! I'm a .signature virus. Add me into your ~/.signature to help me spread!
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: keeping static ip address alive between restarts
@ 2004-02-20 21:35 james niland
2004-02-20 22:39 ` Michael Anaya
0 siblings, 1 reply; 9+ messages in thread
From: james niland @ 2004-02-20 21:35 UTC (permalink / raw)
To: linux-newbie
You wrote:
Running Red Hat 8.0 (2.4.18-14) on an old Acer I have keyed
ifconfig eth0 192.168.0.1
to set my box's ip address for my small LAN. What additional
command
should I use to write that address permanently, so that I do not
have
to
ifconfig each time I restart? I have read and reread O'Reilly's
Running
Linux and Learning Red Hat Linux; is there no process whereby
the
settings
are written to the correct files for startup, or must I (using
vi, for
example) edit certain files myself?
Bill Stanard
***********************************************
I personally prefer editing a startup script but Redhat seems to
do these things with GUI tools.
Have a look here
http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/custom-guide/
Especially the section III
cheers
James
]
__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: keeping static ip address alive between restarts
2004-02-20 21:35 james niland
@ 2004-02-20 22:39 ` Michael Anaya
0 siblings, 0 replies; 9+ messages in thread
From: Michael Anaya @ 2004-02-20 22:39 UTC (permalink / raw)
To: Linux-Newbie
> You wrote:
> Running Red Hat 8.0 (2.4.18-14) on an old Acer I have keyed
> ifconfig eth0 192.168.0.1
> to set my box's ip address for my small LAN. What additional
> command
> should I use to write that address permanently, so that I do not
> have
> to
> ifconfig each time I restart? I have read and reread O'Reilly's
> Running
> Linux and Learning Red Hat Linux; is there no process whereby
> the
> settings
> are written to the correct files for startup, or must I (using
> vi, for
> example) edit certain files myself?
>
> Bill Stanard
> ***********************************************
>
> I personally prefer editing a startup script but Redhat seems to
> do these things with GUI tools.
> Have a look here
> http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/custom-guide/
> Especially the section III
>
> cheers
> James
try using "linuxconf" as root.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: keeping static ip address alive between restarts
@ 2004-02-20 22:54 Chadha, Devesh
0 siblings, 0 replies; 9+ messages in thread
From: Chadha, Devesh @ 2004-02-20 22:54 UTC (permalink / raw)
To: 'Michael Anaya', Linux-Newbie
I believe linuxconf has been discontinued in RH Linux.
Regards,
Devesh
-----Original Message-----
From: linux-newbie-owner@vger.kernel.org
[mailto:linux-newbie-owner@vger.kernel.org] On Behalf Of Michael Anaya
Sent: Friday, February 20, 2004 5:40 PM
To: Linux-Newbie
Subject: RE: keeping static ip address alive between restarts
> You wrote:
> Running Red Hat 8.0 (2.4.18-14) on an old Acer I have keyed ifconfig
> eth0 192.168.0.1 to set my box's ip address for my small LAN. What
> additional command
> should I use to write that address permanently, so that I do not
> have
> to
> ifconfig each time I restart? I have read and reread O'Reilly's
> Running
> Linux and Learning Red Hat Linux; is there no process whereby
> the
> settings
> are written to the correct files for startup, or must I (using
> vi, for
> example) edit certain files myself?
>
> Bill Stanard
> ***********************************************
>
> I personally prefer editing a startup script but Redhat seems to do
> these things with GUI tools. Have a look here
> http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/custom-guide/
> Especially the section III
>
> cheers
> James
try using "linuxconf" as root.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
------------------------------------------------------------------------------
This message is intended only for the personal and confidential use of the
designated recipient(s) named above. If you are not the intended recipient of
this message you are hereby notified that any review, dissemination,
distribution or copying of this message is strictly prohibited. This
communication is for information purposes only and should not be regarded as
an offer to sell or as a solicitation of an offer to buy any financial
product, an official confirmation of any transaction, or as an official
statement of Lehman Brothers. Email transmission cannot be guaranteed to be
secure or error-free. Therefore, we do not represent that this information is
complete or accurate and it should not be relied upon as such. All
information is subject to change without notice.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: keeping static ip address alive between restarts
2004-02-20 19:11 ` Andrey V. Romanchev
@ 2004-02-21 6:34 ` pa3gcu
0 siblings, 0 replies; 9+ messages in thread
From: pa3gcu @ 2004-02-21 6:34 UTC (permalink / raw)
To: linux-newbie
On Friday 20 February 2004 20:11, Andrey V. Romanchev wrote:
> OMG :)
> There is more proper place in Slackware to set static ip address
> /etc/rc.d/rc.inet1.conf (only since 9.1)
>
> or just run netconfig
The question was concerning Redhat NOT Slackware.
--
If the Linux community is a bunch of theives because they
try to imitate windows programs, then the Windows community
is built on organized crime.
Regards Richard
pa3gcu@zeelandnet.nl
http://people.zeelandnet.nl/pa3gcu/
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2004-02-21 6:34 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-20 15:30 keeping static ip address alive between restarts William Stanard
2004-02-20 18:24 ` Hal MacArgle
2004-02-20 19:11 ` Andrey V. Romanchev
2004-02-21 6:34 ` pa3gcu
[not found] <fc.004c4e000050d4a1004c4e000050d4a1.50d523@palmertrinity.o rg>
2004-02-20 17:26 ` Ray Olszewski
-- strict thread matches above, loose matches on Subject: below --
2004-02-20 19:01 Chadha, Devesh
2004-02-20 21:35 james niland
2004-02-20 22:39 ` Michael Anaya
2004-02-20 22:54 Chadha, Devesh
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.