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>
|
|
|
|
|
2001-07-22 20:45:10 +01:00
|
|
|
<para>A new file <filename>/etc/sysconfig/network</filename> is created and the
|
|
|
|
hostname is put in it by running:</para>
|
2001-02-15 15:26:52 +00:00
|
|
|
|
2001-08-01 00:02:05 +01:00
|
|
|
<para><screen><userinput>echo "HOSTNAME=lfs" > /etc/sysconfig/network</userinput></screen></para>
|
2001-02-15 15:26:52 +00:00
|
|
|
|
2001-07-22 20:45:10 +01:00
|
|
|
<para><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
|
2001-07-22 20:45:10 +01:00
|
|
|
<filename>/etc/hosts</filename> file later.</para>
|
2001-02-15 15:26:52 +00:00
|
|
|
|
|
|
|
</sect1>
|
|
|
|
|