network.xml 615 B

12345678910111213141516
  1. <sect1 id="ch07-network">
  2. <title>Creating the /etc/sysconfig/network file</title>
  3. <?dbhtml filename="network.html" dir="chapter07"?>
  4. <para>A new file <filename>/etc/sysconfig/network</filename> is created and the
  5. hostname is put in it by running:</para>
  6. <para><screen><userinput>echo "HOSTNAME=lfs" &gt; /etc/sysconfig/network</userinput></screen></para>
  7. <para><quote>lfs</quote> needs to be replaced with the name the computer is
  8. to be called. You should not enter the FQDN (Fully Qualified Domain
  9. Name) here. That information will be put in the
  10. <filename>/etc/hosts</filename> file later.</para>
  11. </sect1>