Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jul 1997 14:00:00 -0400 (EDT)
From:      dave@ns.systemresc.com
To:        freebsd-isp@freebsd.org
Subject:   DCD
Message-ID:  <Pine.BSI.3.95.970709135814.6407C-100000@ns.systemresc.com>

next in thread | raw e-mail | index | archive | help



Hello 

I have been learning and running two freebsd boxes in Buffalo and Niagara
Falls for dialup ppp access to the internet. I also use one BSDI box. The
one in the falls is giving me alot more problem and mainly it is mgetty or
the way I have it configured.

The problem is if someone drops carrier. Mgetty resetts the modem but it
doesn't kill the dialup scriptthat they used to log on with. I have not
been able to setup pap so I use pppd in the script started by the user
dialing into the system.

Here are some of the files for my system I will show you a log file that
I think that problem lies with DCD. The &C1 sets the modem to watch for
carrier between the two modems and if dropped then mgetty resetts the
modem and it does that but not the process it is running so no one else
can log in on that modem and when it is the first one in the hunt group
the system is virtual shutdown.
The info file on mgetty said it could be the cables are too long or
because we are using a flat cable. Is this why or possible, that the log
shows the warning about DCD being low.

The other files I'm including in this file are my ttys and my ppp.conf
that I would like to get to work with pap. I tried using just getty but
could not even get it to give me a login in prompt just garabage
characters and I tried all sorts of things before going to mgetty.
Please help me, with any infomation or where I could go for more help.
David G. Hazelton 
dave@systemresc.com
 
<<<<PART OF THE CUAC0 LOG FILE>>>>>
07/07 20:34:54 ac0  mgetty: official release 1.0.0
07/07 20:34:54 ac0  check for lockfiles
07/07 20:34:54 ac0  locking the line
07/07 20:34:58 ac0  send: ATS0=0Q0&C1&D3&K3[0d]
07/07 20:34:58 ac0  waiting for ``OK'' ** found **
07/07 20:34:58 ac0  waiting...
07/07 21:34:58 ac0  checking if modem is still alive
07/07 21:34:58 ac0  mdm_send: 'AT' -> OK
07/07 21:34:59 ac0  waiting...
07/07 21:44:27 ac0  waiting for ``RING'' ** found **
07/07 21:44:27 ac0  waiting for ``RING'' ** found **
07/07 21:44:33 ac0  send: ATA[0d]
07/07 21:44:33 ac0  waiting for ``CONNECT'' ** found **
07/07 21:44:44 ac0  send: 
07/07 21:45:32 ac0  WARNING: starting login while DCD is low!
07/07 21:45:32 ##### data dev=cuac0, pid=566, caller=, conn='', name='', cmd='/usr/bin/login', user='jennie'


<<<<THE TTTYS FILE>>>>>

console	none				unknown	off secure

ttyv0	"/usr/libexec/getty Pc"		cons25	on  secure

ttyv1	"/usr/libexec/getty Pc"		cons25	on secure
ttyv2	"/usr/libexec/getty Pc"		cons25	off secure
ttyv3	"/usr/libexec/getty Pc"		cons25	off secure

#ttyc0	"/usr/libexec/getty vr"		dialup  on insecure
#ttyc1   "/usr/libexec/getty vq"		dialup  on insecure
#ttyc1	"/usr/libexec/getty vr"		dialup  on insecure
cuac0   "/usr/local/sbin/mgetty"        unknown  on insecure
cuac1   "/usr/local/sbin/mgetty"        unknown  on insecure
cuac2	"/usr/local/sbin/mgetty"	unknown  on insecure
cuac3	"/usr/local/sbin/mgetty"	unknown  on insecure
cuac4	"/usr/local/sbin/mgetty"	unknown on insecure
cuac5	"/usr/local/sbin/mgetty"	unknown on insecure
cuac6	"/usr/local/sbin/mgetty"	unknown on insecure
cuac7	"/usr/local/sbin/mgetty"	unknown on insecure
cuac8	"/usr/local/sbin/mgetty"	unknown on insecure
cuac9	"/usr/local/sbin/mgetty"	unknown on insecure

#ttyd1   "/usr/libexec/getty std:9600"        unknown on insecure
ttyp0	none			network
ttyp1	none			network
ttyp2	none			network
ttyp3	none			network
ttyp4	none			network
ttyp5	none			network





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.95.970709135814.6407C-100000>