Subject: chap-boot diff
To: None <netbsd-docs@netbsd.org>
From: Daniel de Kok <blowgish@freeshell.org>
List: netbsd-docs
Date: 08/13/2003 10:23:58
--J2SCkAp4GZ/dPZZf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi all,

I have attached a diff for chapter-boot:

* chap-boot still explains how to enable virtual consoles after the
  first boot. This is not needed anymore after NetBSD 1.5.
* Note that the hostname must be resolvable for some programs.

With kind regards,
Daniel de Kok
-- 
Powered by NetBSD/Alpha!
SDF Public Access UNIX System - http://sdf.lonestar.org

--J2SCkAp4GZ/dPZZf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="chap-boot.xml.diff"

--- chap-boot.xml.old	2003-08-13 12:15:49.000000000 +0200
+++ chap-boot.xml	2003-08-13 12:19:41.000000000 +0200
@@ -459,12 +459,6 @@
       </listitem>
       <listitem>
         <para>
-          Set <quote><literal>wscons=YES</literal></quote>
-          to enable virtual consoles.
-        </para>
-      </listitem>
-      <listitem>
-        <para>
           Set <quote><literal>lpd=YES</literal></quote>
           to activate the printer spooler daemon
         </para>
@@ -484,6 +478,13 @@
 	  <filename>/etc/myname</filename> file: the result is the
 	  same.
 	</para>
+	<note>
+	  <para>
+	    Make sure that the hostname is resolvable, either using
+	    DNS or <filename>/etc/hosts</filename>, some programs
+	    do not work with an unresolvable hostname.
+	  </para>
+	</note>
       </listitem>
     </itemizedlist>
     
@@ -492,69 +493,6 @@
   <!-- ============================================================= -->
 
   <sect1>
-    <title>Enabling the virtual consoles</title>
-
-    <para>
-      The settings described in this section are not needed with
-      version 1.5, because the virtual consoles are enabled by
-      default.
-    </para>
-    
-    <para>
-      Edit the <filename>/etc/ttys</filename> file and check that
-      ttyE0-ttyE3 are <quote><literal>on</literal></quote>.
-      ttyE4 con be <literal>off</literal> (for use with X.)
-      For example:
-    </para>
-    
-    <programlisting>console "/usr/libexec/getty Pc"         pc3     off secure
-ttyE0   "/usr/libexec/getty Pc"         vt220   on secure
-ttyE1   "/usr/libexec/getty Pc"         vt220   on secure
-ttyE2   "/usr/libexec/getty Pc"         vt220   on secure
-ttyE3   "/usr/libexec/getty Pc"         vt220   on secure
-ttyE4   "/usr/libexec/getty Pc"         vt220   off secure</programlisting>
-    
-    <note>
-      <title>For the impatient</title>
-      <para>
-        once that you have modified the <filename>/etc/ttys</filename> file,
-        you can activate immediately the virtual consoles, without the
-        need to reboot.
-        You should:
-      </para>
-      <procedure>
-        <step>
-          <para>
-    	<command>sh /etc/rc.wscons</command>
-          </para>
-        </step>
-        <step>
-          <para>
-    	<command>kill -1 1</command>
-          </para>
-        </step>
-      </procedure>
-    </note>
-    
-    <para>
-      Once activated, you can switch console using the Ctrl-Alt-Fn key
-      combination (Fn is a function key: F1 is console 1, F2 is console
-      2, and so on).
-      For a more detailed explanation, see <xref linkend="chap-cons" />.
-    </para>
-    
-    <note>
-      <para>
-	use the Left_Ctrl and Left_Alt keys in combination with the
-	function key.
-      </para>
-    </note>
-
-  </sect1>
-  
-  <!-- ============================================================= -->
-
-  <sect1>
     <title>Rebooting the system</title>
     
     <para>
@@ -592,11 +530,6 @@
           Configured <filename>/etc/rc.conf</filename>
         </para>
       </listitem>
-      <listitem>
-        <para>
-          Enabled the virtual consoles
-        </para>
-      </listitem>
     </itemizedlist>
     
     <para>

--J2SCkAp4GZ/dPZZf--