Show people how to see their connection speed when they have

no "set login" script.
This commit is contained in:
Brian Somers 1997-10-19 22:54:40 +00:00
parent 229fe82f7f
commit e20749ce38
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=2088

View file

@ -1,5 +1,5 @@
<!DOCTYPE linuxdoc PUBLIC "-//FreeBSD//DTD linuxdoc//EN">
<!-- $Id: FAQ.sgml,v 1.88 1997-10-19 19:20:44 hoek Exp $ -->
<!-- $Id: FAQ.sgml,v 1.89 1997-10-19 22:54:40 brian Exp $ -->
<article>
@ -7,7 +7,7 @@
<author>Please send submissions to <tt><htmlurl url='mailto:faq@freebsd.org'
name='&lt;faq@freebsd.org&gt;'></tt>
<date>$Date: 1997-10-19 19:20:44 $</date>
<date>$Date: 1997-10-19 22:54:40 $</date>
<abstract>
This is the FAQ for FreeBSD systems version 2.X All entries are
@ -3813,6 +3813,33 @@ default 10.0.0.2 UGSc 0 0 tun0
<p>The problem can be circumvented by never setting an MTU of
less than 1500 under FreeBSD 2.2.2 or before.
<sect2>
<heading>Why doesn't ppp log my connection speed?</heading>
<p>In order to log all lines of your modem ``conversation'',
you must enable the following:
<verb>
set log +connect
</verb>
<p>This will make
<htmlurl url="http://www.freebsd.org/cgi/man.cgi?ppp" name="ppp">
log everything up until the last requested "expect" string.
<p>If you wish to see your connect speed and are using PAP or CHAP
(and therefore don't have anything to "chat" after the CONNECT
in the dial script - no "set login" script), you must make sure that
you instruct ppp to "expect" the whole CONNECT line, something like
this:
<verb>
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 4 \"\" ATZ OK-ATZ-OK ATDT\\T TIMEOUT 60 CONNECT \\c \\n"
</verb>
<p>Here, we get our CONNECT, send nothing, then expect a line-feed,
forcing <bf/ppp/ to read the whole CONNECT response.
<sect2>
<heading>None of this helps - I'm desperate !</heading>