View | Details | Raw Unified | Return to bug 36010
Collapse All | Expand All

(-)books/handbook/install/chapter.sgml (-1 / +1 lines)
Lines 181-187 Link Here
181
181
182
	      <entry>N/A</entry>
182
	      <entry>N/A</entry>
183
183
184
	      <entry>3Com 56K faxmodem, on COM1:</entry>
184
	      <entry>3Com 56K faxmodem, on COM1</entry>
185
	    </row>
185
	    </row>
186
186
187
	    <row>
187
	    <row>
(-)books/handbook/serialcomms/chapter.sgml (-18 / +18 lines)
Lines 295-304 Link Here
295
      
295
      
296
      <para>FreeBSD supports four serial ports by default.  In the
296
      <para>FreeBSD supports four serial ports by default.  In the
297
	MS-DOS world, these are known as
297
	MS-DOS world, these are known as
298
	<devicename>COM1:</devicename>,
298
	<devicename>COM1</devicename>,
299
	<devicename>COM2:</devicename>,
299
	<devicename>COM2</devicename>,
300
	<devicename>COM3:</devicename>, and 
300
	<devicename>COM3</devicename>, and 
301
	<devicename>COM4:</devicename>.  FreeBSD currently supports
301
	<devicename>COM4</devicename>.  FreeBSD currently supports
302
	<quote>dumb</quote> multiport serial interface cards, such as
302
	<quote>dumb</quote> multiport serial interface cards, such as
303
	the BocaBoard 1008 and 2016, as well as more
303
	the BocaBoard 1008 and 2016, as well as more
304
	intelligent multi-port cards such as those made by Digiboard
304
	intelligent multi-port cards such as those made by Digiboard
Lines 404-413 Link Here
404
	<para>A shell script called <command>MAKEDEV</command> in the
404
	<para>A shell script called <command>MAKEDEV</command> in the
405
	  <filename>/dev</filename> directory manages the device special
405
	  <filename>/dev</filename> directory manages the device special
406
	  files.  To use <command>MAKEDEV</command> to make dial-up device
406
	  files.  To use <command>MAKEDEV</command> to make dial-up device
407
	  special files for <devicename>COM1:</devicename> (port 0),
407
	  special files for <devicename>COM1</devicename> (port 0),
408
	  <command>cd</command> to <filename>/dev</filename> and issue the
408
	  <command>cd</command> to <filename>/dev</filename> and issue the
409
	  command <command>MAKEDEV ttyd0</command>. Likewise, to make dial-up
409
	  command <command>MAKEDEV ttyd0</command>. Likewise, to make dial-up
410
	  device special files for <devicename>COM2:</devicename> (port 1),
410
	  device special files for <devicename>COM2</devicename> (port 1),
411
	  use <command>MAKEDEV ttyd1</command>.</para>
411
	  use <command>MAKEDEV ttyd1</command>.</para>
412
	    
412
	    
413
	<para><command>MAKEDEV</command> not only creates the
413
	<para><command>MAKEDEV</command> not only creates the
Lines 1311-1317 Link Here
1311
	    
1311
	    
1312
	<para>For example to set the <literal>termios</literal> flag
1312
	<para>For example to set the <literal>termios</literal> flag
1313
	  <varname>crtscts</varname> on serial port #1's
1313
	  <varname>crtscts</varname> on serial port #1's
1314
	  (<devicename>COM2:</devicename>) dial-in and dial-out initialization
1314
	  (<devicename>COM2</devicename>) dial-in and dial-out initialization
1315
	  devices, the following lines could be added to
1315
	  devices, the following lines could be added to
1316
	  <filename>/etc/rc.serial</filename>:</para>
1316
	  <filename>/etc/rc.serial</filename>:</para>
1317
	<programlisting># Serial port initial configuration
1317
	<programlisting># Serial port initial configuration
Lines 1968-1997 Link Here
1968
	</step>
1968
	</step>
1969
1969
1970
	<step>
1970
	<step>
1971
	  <para>Plug a dumb terminal into <devicename>COM1:</devicename>
1971
	  <para>Plug a dumb terminal into <devicename>COM1</devicename>
1972
	    (<devicename>sio0</devicename>).</para>
1972
	    (<devicename>sio0</devicename>).</para>
1973
	  
1973
	  
1974
	  <para>If you do not have a dumb terminal, you can use an old PC/XT
1974
	  <para>If you do not have a dumb terminal, you can use an old PC/XT
1975
	    with a modem program, or the serial port on another Unix box.  If
1975
	    with a modem program, or the serial port on another Unix box.  If
1976
	    you do not have a <devicename>COM1:</devicename>
1976
	    you do not have a <devicename>COM1</devicename>
1977
	    (<devicename>sio0</devicename>), get one.  At this time, there is
1977
	    (<devicename>sio0</devicename>), get one.  At this time, there is
1978
	    no way to select a port other than <devicename>COM1:</devicename>
1978
	    no way to select a port other than <devicename>COM1</devicename>
1979
	    for the boot blocks without recompiling the boot blocks.  If you
1979
	    for the boot blocks without recompiling the boot blocks.  If you
1980
	    are already using <devicename>COM1:</devicename> for another
1980
	    are already using <devicename>COM1</devicename> for another
1981
	    device, you will have to temporarily remove that device and
1981
	    device, you will have to temporarily remove that device and
1982
	    install a new boot block and kernel once you get FreeBSD up and
1982
	    install a new boot block and kernel once you get FreeBSD up and
1983
	    running. (It is assumed that <devicename>COM1:</devicename> will
1983
	    running. (It is assumed that <devicename>COM1</devicename> will
1984
	    be available on a file/compute/terminal server anyway; if you
1984
	    be available on a file/compute/terminal server anyway; if you
1985
	    really need <devicename>COM1:</devicename> for something else
1985
	    really need <devicename>COM1</devicename> for something else
1986
	    (and you cannot switch that something else to
1986
	    (and you cannot switch that something else to
1987
	    <devicename>COM2:</devicename> (<devicename>sio1</devicename>)),
1987
	    <devicename>COM2</devicename> (<devicename>sio1</devicename>)),
1988
	    then you probably should not even be bothering with all this in
1988
	    then you probably should not even be bothering with all this in
1989
	    the first place.)</para>
1989
	    the first place.)</para>
1990
	</step>
1990
	</step>
1991
    
1991
    
1992
	<step>
1992
	<step>
1993
	  <para>Make sure the configuration file of your kernel has
1993
	  <para>Make sure the configuration file of your kernel has
1994
	    appropriate flags set for <devicename>COM1:</devicename>
1994
	    appropriate flags set for <devicename>COM1</devicename>
1995
	    (<devicename>sio0</devicename>).</para>
1995
	    (<devicename>sio0</devicename>).</para>
1996
	  
1996
	  
1997
	  <para>Relevant flags are:</para>
1997
	  <para>Relevant flags are:</para>
Lines 2414-2421 Link Here
2414
	      <literal>BOOT_COMCONSOLE_PORT</literal> to the address of the
2414
	      <literal>BOOT_COMCONSOLE_PORT</literal> to the address of the
2415
	      port you want to use (0x3F8, 0x2F8, 0x3E8 or 0x2E8).  Only
2415
	      port you want to use (0x3F8, 0x2F8, 0x3E8 or 0x2E8).  Only
2416
	      <devicename>sio0</devicename> through
2416
	      <devicename>sio0</devicename> through
2417
	      <devicename>sio3</devicename> (<devicename>COM1:</devicename>
2417
	      <devicename>sio3</devicename> (<devicename>COM1</devicename>
2418
	      through <devicename>COM4:</devicename>) can be used;  multiport
2418
	      through <devicename>COM4</devicename>) can be used;  multiport
2419
	      serial cards will not work.  No interrupt setting is
2419
	      serial cards will not work.  No interrupt setting is
2420
	      needed.</para>
2420
	      needed.</para>
2421
	  </step>
2421
	  </step>
Lines 2424-2430 Link Here
2424
	    <para>Create a custom kernel configuration file and add
2424
	    <para>Create a custom kernel configuration file and add
2425
	      appropriate flags for the serial port you want to use. For
2425
	      appropriate flags for the serial port you want to use. For
2426
	      example, if you want to make <devicename>sio1</devicename>
2426
	      example, if you want to make <devicename>sio1</devicename>
2427
	      (<devicename>COM2:</devicename>) the console:</para>
2427
	      (<devicename>COM2</devicename>) the console:</para>
2428
  
2428
  
2429
	    <programlisting>device sio1 at isa? port "IO_COM2" tty flags 0x10 irq 3</programlisting>
2429
	    <programlisting>device sio1 at isa? port "IO_COM2" tty flags 0x10 irq 3</programlisting>
2430
  
2430
  
(-)books/ppp-primer/book.sgml (-4 / +4 lines)
Lines 177-183 Link Here
177
</informaltable>
177
</informaltable>
178
178
179
<para>This guide assumes that the modem on the FreeBSD box is connected 
179
<para>This guide assumes that the modem on the FreeBSD box is connected 
180
to the first serial port ('<filename>/dev/cuaa0</filename>' or '<emphasis remap=tt>COM1:</emphasis>' in
180
to the first serial port ('<filename>/dev/cuaa0</filename>' or '<emphasis remap=tt>COM1</emphasis>' in
181
DOS-terms).</para>
181
DOS-terms).</para>
182
  
182
  
183
<para>Finally, we will also assume that your Internet Service Provider (ISP)
183
<para>Finally, we will also assume that your Internet Service Provider (ISP)
Lines 863-872 Link Here
863
This statement informs the PPP program that it should use the first
863
This statement informs the PPP program that it should use the first
864
serial port.
864
serial port.
865
Under FreeBSD the '<filename>/dev/cuaa0</filename>' device is the same port that's
865
Under FreeBSD the '<filename>/dev/cuaa0</filename>' device is the same port that's
866
known as "<emphasis remap=tt>COM1:</emphasis>" under DOS, Windows, Windows 95, etc....</para>
866
known as "<emphasis remap=tt>COM1</emphasis>" under DOS, Windows, Windows 95, etc....</para>
867
  
867
  
868
<para>If your modem is on <emphasis remap=tt>COM2:</emphasis> you should specify
868
<para>If your modem is on <emphasis remap=tt>COM2</emphasis> you should specify
869
'<filename>/dev/cuaa1</filename>; <emphasis remap=tt>COM3:</emphasis> would be '<filename>/dev/cuaa2</filename>'.</para>
869
'<filename>/dev/cuaa1</filename>; <emphasis remap=tt>COM3</emphasis> would be '<filename>/dev/cuaa2</filename>'.</para>
870
  
870
  
871
<para>
871
<para>
872
<informalexample>
872
<informalexample>

Return to bug 36010