The Linux Serial HOWTO
by Greg Hankins,
gregh@cc.gatech.edu
v1.7, 29 October 1994
This document describes how to set up serial communications devices on a Linux box.
1.
Introduction
1.1 Copyright
1.2 Other sources of information
1.3 New versions of this document
1.4 Feedback
1.5 Disclaimer
2.
Supported serial hardware
2.1 Multiport serial boards
2.2 Intelligent multiport serial boards
2.3 Network serial boards
3.
What are the names of the serial ports?
3.1 Major and minor device numbers of serial devices in
/dev
4.
dev
4.1 Installing
getty_ps
5.
What is
setserial
?
6.
What is
setserial
?
6.1 Hardware requirements
6.2 Talking to your modem
6.3 Dial out modem configuration
6.4 Hardware flow control
7.
How do I dial in and out with my modem?
7.1 Dial in and out modem configuration
7.2 Setting up
uugetty
7.3 Customizing
uugetty
8.
How do I set up a terminal connected to my PC?
8.1 Hardware requirements
8.2 Setting up
getty
9.
How do I set up a terminal connected to my PC?
9.1 Choosing serial device interrupts
9.2 Setting serial device addresses
10.
Can Linux configure the serial devices automagically?
10.1 Notes for multiport boards
11.
Can Linux configure the serial devices automagically?
12.
spdhi
13.
Serial Tips
13.1
kermit
and zmodem
13.2 Setting terminal types automagically
13.3 Color
ls
on serial connections
13.4 Printing to a printer connected to a terminal
14.
Linux FTP sites
15.
One step further...
15.1 What are lock files?
15.2 ``baud'' vs. ``bps''
15.3 ``baud'' vs. ``bps''
16.
Troubleshooting
16.1 I keep getting ``line
NNN
of inittab invalid''.
16.2 When I try to dial out, it says ``/dev/cua
N
: Device or resource busy''.
16.3 I keep getting ``Id S
N
respawning too fast: disabled for 5 minutes''.
16.4 Serial devices are slow or serial devices can only send in one direction.
16.5 My modem is hosed after someone hangs up.
16.6 I have a serial device connected, but root can't login on it.
16.7 I have my terminal connected to my PC, but after I type in a login name,
16.8 At high speeds, my modem looses data.
16.9 On startup, Linux doesn't report the serial devices the way I have
16.10
rz
and/or
sz
don't work when I call my Linux box on my modem.
16.11 My screen is printing funny looking characters.
16.12
getty
or
uugetty
still doesn't work.
17.
Contributions