network.xml 599 B

123456789101112131415161718192021222324
  1. <sect1 id="ch09-network">
  2. <title>Creating the /etc/sysconfig/network file</title>
  3. <para>
  4. A new file <filename>/etc/sysconfig/network</filename> is created and the
  5. hostname is put in it by running:
  6. </para>
  7. <blockquote><literallayout>
  8. <userinput>echo "HOSTNAME=lfs" &gt; /etc/sysconfig/network</userinput>
  9. </literallayout></blockquote>
  10. <para>
  11. <quote>lfs</quote> needs to be replaced by the name the computer is to be
  12. called.
  13. A user should not enter the FQDN (Fully Qualified Domain
  14. Name) here. That information will be put in the
  15. <filename>/etc/hosts</filename> file later.
  16. </para>
  17. </sect1>