2001-06-30 00:30:11 +01:00
|
|
|
<sect1 id="ch07-network">
|
2001-02-15 15:26:52 +00:00
|
|
|
<title>Creating the /etc/sysconfig/network file</title>
|
|
|
|
|
|
|
|
<para>
|
2001-03-18 20:39:49 +00:00
|
|
|
A new file <filename>/etc/sysconfig/network</filename> is created and the
|
|
|
|
hostname is put in it by running:
|
2001-02-15 15:26:52 +00:00
|
|
|
</para>
|
|
|
|
|
2001-07-10 16:06:31 +01:00
|
|
|
<para>
|
|
|
|
<screen>
|
|
|
|
<userinput>echo "HOSTNAME=lfs" > /etc/sysconfig/network</userinput>
|
|
|
|
</screen>
|
|
|
|
</para>
|
2001-02-15 15:26:52 +00:00
|
|
|
|
|
|
|
<para>
|
2001-03-18 20:39:49 +00:00
|
|
|
<quote>lfs</quote> needs to be replaced by the name the computer is to be
|
|
|
|
called.
|
|
|
|
A user should not enter the FQDN (Fully Qualified Domain
|
2001-02-15 15:26:52 +00:00
|
|
|
Name) here. That information will be put in the
|
|
|
|
<filename>/etc/hosts</filename> file later.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
</sect1>
|
|
|
|
|