aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2001-04-26 13:10:59 +0000
committerBrian Somers <brian@FreeBSD.org>2001-04-26 13:10:59 +0000
commitc8c946d45d4f3dda7300cd8f24496a025281a014 (patch)
tree50490acaa45472e4df66fe794e6c9b9d54d60383
parent289950f4f3dc579450e96dd864f36471b2b32ce4 (diff)
downloadsrc-c8c946d45d4f3dda7300cd8f24496a025281a014.tar.gz
src-c8c946d45d4f3dda7300cd8f24496a025281a014.zip
Fix some quotes and mention that it's usually necessary to train
your modem to the correct speed when setting up an incoming getty.
Notes
Notes: svn path=/head/; revision=76026
-rw-r--r--usr.sbin/ppp/ppp.823
-rw-r--r--usr.sbin/ppp/ppp.8.m423
2 files changed, 44 insertions, 2 deletions
diff --git a/usr.sbin/ppp/ppp.8 b/usr.sbin/ppp/ppp.8
index 077e42dc502d..b2c4ea6c867f 100644
--- a/usr.sbin/ppp/ppp.8
+++ b/usr.sbin/ppp/ppp.8
@@ -1154,7 +1154,7 @@ to enable a
on the port where the modem is attached.
For example:
.Pp
-.Dl ttyd1 "/usr/libexec/getty std.38400" dialup on secure
+.Dl ttyd1 Qo /usr/libexec/getty std.38400 Qc dialup on secure
.Pp
Don't forget to send a
.Dv HUP
@@ -1164,6 +1164,27 @@ process to start the
.Xr getty 8 :
.Pp
.Dl # kill -HUP 1
+.Pp
+It is usually also necessary to train your modem to the same DTR speed
+as the getty:
+.Bd -literal -offset indent
+# ppp
+ppp ON awfulhak> set device /dev/cuaa1
+ppp ON awfulhak> set speed 38400
+ppp ON awfulhak> term
+deflink: Entering terminal mode on /dev/cuaa1
+Type `~?' for help
+at
+OK
+at
+OK
+atz
+OK
+at
+OK
+~.
+ppp ON awfulhak> quit
+.Ed
.It
Create a
.Pa /usr/local/bin/ppplogin
diff --git a/usr.sbin/ppp/ppp.8.m4 b/usr.sbin/ppp/ppp.8.m4
index 077e42dc502d..b2c4ea6c867f 100644
--- a/usr.sbin/ppp/ppp.8.m4
+++ b/usr.sbin/ppp/ppp.8.m4
@@ -1154,7 +1154,7 @@ to enable a
on the port where the modem is attached.
For example:
.Pp
-.Dl ttyd1 "/usr/libexec/getty std.38400" dialup on secure
+.Dl ttyd1 Qo /usr/libexec/getty std.38400 Qc dialup on secure
.Pp
Don't forget to send a
.Dv HUP
@@ -1164,6 +1164,27 @@ process to start the
.Xr getty 8 :
.Pp
.Dl # kill -HUP 1
+.Pp
+It is usually also necessary to train your modem to the same DTR speed
+as the getty:
+.Bd -literal -offset indent
+# ppp
+ppp ON awfulhak> set device /dev/cuaa1
+ppp ON awfulhak> set speed 38400
+ppp ON awfulhak> term
+deflink: Entering terminal mode on /dev/cuaa1
+Type `~?' for help
+at
+OK
+at
+OK
+atz
+OK
+at
+OK
+~.
+ppp ON awfulhak> quit
+.Ed
.It
Create a
.Pa /usr/local/bin/ppplogin