waiting for ``speed''
(gert@greenie.muc.de)
Fri, 26 Jan 1996 09:44:26 +0100
Hi,
Michael Talbot-Wilson wrote:
> Hi. I have tried 0.99 but found that it looks for this word.
Which word? "CONNECT"?
> The modem,
> when connecting, issues messages about "CARRIER", "PROTOCOL" and so forth
> (and presumably, though I don't remember it, "speed"),
No. "speed" is a key word from mgetty.config. Unless someone misconfigured
"answer-chat", mgetty should *never* wait for "speed".
> and at the very
> end, "CONNECT". In 0.98 with this modem it often fails to find "CONNECT"
> and times out, so I disabled everything but the "CONNECT" message.
Does it fail to find "CONNECT" or fail to find "speed"? You're somewhat
unprecise here. CONNECT should always be seen, "speed" never.
> I am content to put the speed in /usr/local/etc/mgetty.config and would
> like to disable the wait for it in the chat, but I can't see how to do it.
In the chat, there is no waiting for "speed", unless you've configured it
to. It will wait for "CONNECT".
> Also, it was compiled with -DAUTO_PPP but I can't see "key='AutoPPP'" in
> the log file. Should it be there?
Yes. Do you have it enabled in "login.config"?
> (In the example below I typed in "speed" to get a login. It is
> FreeBSD 2.1. DEFAULT_MODEMTYPE = "data".)
Weird. Could you send me a log file with "mgetty -x9"? This will show me
the actual configuration as well.
[..]
> 01/26 04:47:23 yd9 waiting...
Initialization just fine.
> 01/26 04:48:48 yd9 select returned 1
> 01/26 04:48:48 yd9 checking lockfiles, locking the line
> 01/26 04:48:48 yd9 makelock(ttyd9) called
> 01/26 04:48:48 yd9 do_makelock: lock='/var/spool/lock/LCK..ttyd9'
> 01/26 04:48:48 yd9 lock made
> 01/26 04:48:48 yd9 waiting for ``RING''
> 01/26 04:48:48 yd9 got: [0d]
> 01/26 04:48:48 yd9 CND: OK[0a]RING ** found **
> 01/26 04:48:48 yd9 waiting for ``RING''
> 01/26 04:48:48 yd9 got: [0d]
> 01/26 04:48:48 yd9 CND: RING[0a][0d][0a]RING ** found **
> 01/26 04:48:51 yd9 send: ATA[0d]
> 01/26 04:48:51 yd9 waiting for ``CONNECT''
> 01/26 04:48:51 yd9 got: [0d]
> 01/26 04:48:51 yd9 CND: RING[0a]ATA[0d]
> 01/26 04:48:51 yd9 CND: ATA[0d][0a]CONNECT ** found **
Answering and CONNECT just fine.
> 01/26 04:49:04 yd9 send:
> 01/26 04:49:04 yd9 waiting for ``speed''
This is nonsense. Someone completely misconfigured your mgetty.
> 01/26 04:49:04 yd9 got: 57600[0d]
> 01/26 04:49:04 yd9 CND: CONNECT 57600
> 01/26 04:49:04 yd9 CND: found: 57600[0d][0d][0d][0d][0a]speed ** found **
> 01/26 04:49:59 yd9 send: llDate[0d]
> 01/26 04:49:59 yd9 waiting for line to clear (VTIME), read: [0d]
> 01/26 04:50:00 yd9 utmp + wtmp entry made
> 01/26 04:50:00 yd9 getlogname, read:mike[0d]
> 01/26 04:50:13 yd9 input finished with '\r', setting ICRNL ONLCR
> 01/26 04:50:13 yd9 login: use login config file /usr/local/etc/mgetty+sendfax/login.config
> 01/26 04:50:13 yd9 match: user='mike', key='U*'
> 01/26 04:50:13 yd9 match: user='mike', key='/FIDO/'
> 01/26 04:50:13 yd9 match: user='mike', key='*'*** hit!
You just copied "login.config" without looking at it. "AutoPPP" is
disabled by default.
gert
--
//www.muc.de/~gert
Gert Doering - Munich, Germany gert@greenie.muc.de
fax: +49-89-3545980 <---new!!! gert.doering@physik.tu-muenchen.de