summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2004-05-25 09:36:49 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2004-05-25 09:36:49 +0000
commit7f6b13f4e96c153b05571af13ee013f1b0a8e865 (patch)
tree68021df23d01f419eedf7ab1730cebdcdb1bdca5 /usr.sbin
parentd6d1b2ce76ffd328b697846ad5a4c9b587a2b9bb (diff)
clarify how modems on serial ports attach, and their corresponding device
numbers; inspired by a thread on misc@, and my own, er, experiences.. ok markus@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ppp/ppp/ppp.8.m420
1 files changed, 12 insertions, 8 deletions
diff --git a/usr.sbin/ppp/ppp/ppp.8.m4 b/usr.sbin/ppp/ppp/ppp.8.m4
index a0f78c920b9..c025b1eb21e 100644
--- a/usr.sbin/ppp/ppp/ppp.8.m4
+++ b/usr.sbin/ppp/ppp/ppp.8.m4
@@ -25,7 +25,7 @@ changecom(,)dnl
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: ppp.8.m4,v 1.15 2004/05/23 17:25:22 jmc Exp $
+.\" $OpenBSD: ppp.8.m4,v 1.16 2004/05/25 09:36:48 jmc Exp $
.\"
.Dd September 20, 1995
.Dt PPP 8
@@ -2171,13 +2171,17 @@ set device /dev/cua00
set speed 115200
.Ed
.Pp
-Cuaa0 is the first serial port on
-.Fx .
-If you're running
-.Nm
-on
-.Ox ,
-cua00 is the first.
+The first serial port is cua00.
+The modem will attach at either
+.Xr com 4 ,
+.Xr pccom 4 ,
+or
+.Xr ucom 4 .
+So, for example, if the modem attaches at
+.Dq pccom3 ,
+device should be set to
+.Pa /dev/cua03 .
+.Pp
A speed of 115200 should be specified
if you have a modem capable of bit rates of 28800 or more.
In general, the serial speed should be about four times the modem speed.