Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Dec 1995 10:58:24 -0600 (CST)
From:      "Lars Fredriksen" <fredriks@mcs.com>
To:        current@freebsd.org
Subject:   Changes to sio/tty devices over the last 2 weeks
Message-ID:  <m0tSRqT-0003ktC@mercury.mcs.com>

next in thread | raw e-mail | index | archive | help
Hi,
	I just rebuilt current as of yesterday, and I am now seeing
problems both with pppd and faxgetty. Tip seems ok. pppd will not 
finish lcp negotiation(times out), and faxgetty is unsuccessfull 
setting up the modem.

The output from the faxgetty log shows:

Dec 20 09:01:10 fredriks FaxGetty[179]: MODEM set DTR ON
Dec 20 09:01:10 fredriks FaxGetty[179]: MODEM set baud rate: 57600 baud, input f
low RTS/CTS, output flow RTS/CTS
Dec 20 09:01:10 fredriks FaxGetty[179]: MODEM flush i/o
Dec 20 09:01:10 fredriks FaxGetty[179]: <-- [43:AT&B1&N0&S0*F0S18=3S38.3=1S39=0E
0V1Q0S0=0H0]
Dec 20 09:01:11 fredriks FaxGetty[179]: --> [28:AT&B1&N0&S0*F0S180V1Q0S0=0H0]
Dec 20 09:01:11 fredriks FaxGetty[179]: --> [5:ERROR]
Dec 20 09:01:11 fredriks FaxGetty[179]: MODEM Command error
Dec 20 09:01:11 fredriks FaxGetty[179]: MODEM set DTR OFF
Dec 20 09:01:11 fredriks FaxGetty[179]: MODEM set baud rate: 0 baud (flow contro
l unchanged)
Dec 20 09:01:11 fredriks FaxGetty[179]: /dev/ttyd0: Can not deduce modem type.
Dec 20 09:01:11 fredriks login: ROOT LOGIN (root) ON ttyv0


It looks like the modem only gets about half the characters sent to it. This
should look like this:

Dec 20 09:06:55 fredriks FaxGetty[182]: MODEM set DTR ON
Dec 20 09:06:55 fredriks FaxGetty[182]: MODEM set baud rate: 57600 baud, input f
low RTS/CTS, output flow RTS/CTS
Dec 20 09:06:55 fredriks FaxGetty[182]: MODEM flush i/o
Dec 20 09:06:55 fredriks FaxGetty[182]: <-- [43:AT&B1&N0&S0*F0S18=3S38.3=1S39=0E
0V1Q0S0=0H0]
Dec 20 09:06:55 fredriks FaxGetty[182]: --> [43:AT&B1&N0&S0*F0S18=3S38.3=1S39=0E
0V1Q0S0=0H0]
Dec 20 09:06:55 fredriks FaxGetty[182]: --> [2:OK]



The pppd log shows:

Dec 20 00:05:21 fredriks pppd[72]: sent [LCP ConfReq id=0x1 <mru 1500> <magic 0x
cd52acf1> <pcomp> <accomp>]
Dec 20 00:05:22 fredriks pppd[72]: rcvd [LCP ConfReq id=0x5 <mru 1500> <asyncmap
 0x0> <magic 0x7210cd0> <pcomp> <accomp> < 13 03 00>]
Dec 20 00:05:22 fredriks pppd[72]: sent [LCP ConfRej id=0x5 < 13 03 00>]
Dec 20 00:05:24 fredriks pppd[72]: sent [LCP ConfReq id=0x1 <mru 1500> <magic 0x
cd52acf1> <pcomp> <accomp>]
Dec 20 00:05:27 fredriks pppd[72]: LCP: timeout sending Config-Requests
Dec 20 00:05:27 fredriks pppd[72]: Connection terminated.
Dec 20 00:05:27 fredriks pppd[72]: Exit.

Here is a good one:

Dec 20 09:09:30 fredriks pppd[244]: sent [LCP ConfAck id=0x1 <mru 1500> <asyncma
p 0x0> <magic 0x7fc0ade> <pcomp> <accomp>]
Dec 20 09:09:33 fredriks pppd[244]: sent [LCP ConfReq id=0x1 <mru 1500> <magic 0
x73f459f4> <pcomp> <accomp>]
Dec 20 09:09:33 fredriks pppd[244]: rcvd [LCP ConfAck id=0x1 <mru 1500> <magic 0
x73f459f4> <pcomp> <accomp>]
Dec 20 09:09:33 fredriks pppd[244]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 01
>]
Dec 20 09:09:33 fredriks pppd[244]: sent [CCP ConfReq id=0x1 <bsd v1 12>]
Dec 20 09:09:33 fredriks pppd[244]: rcvd [IPCP ConfReq id=0x2 <compress VJ 0f 01
>]
Dec 20 09:09:33 fredriks pppd[244]: sent [IPCP ConfAck id=0x2 <compress VJ 0f 01
>]
Dec 20 09:09:33 fredriks pppd[244]: rcvd [proto=0x8029] 01 03 00 04
Dec 20 09:09:33 fredriks pppd[244]: Unknown protocol (0x8029) received
Dec 20 09:09:33 fredriks pppd[244]: sent [LCP ProtRej id=0x2 80 29 01 03 00 04]
Dec 20 09:09:33 fredriks pppd[244]: rcvd [IPCP ConfAck id=0x1 <compress VJ 0f 01
>]
Dec 20 09:09:33 fredriks pppd[244]: local  IP address 199.3.36.197
Dec 20 09:09:33 fredriks pppd[244]: remote IP address 199.3.35.100


Does Bruce or someone have an idea of what might be going on here? I saw 
some patches flying yesterday regarding serial stuff. Are they relevant to 
this problem?

Lars
-- 
-------------------------------------------------------------------
Lars Fredriksen		fredriks@mcs.com		(home)
			lars@fredriks.pr.mcs.net	(home-home)
			fredriks@asiago.cs.wisc.edu



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0tSRqT-0003ktC>