From owner-freebsd-isp Wed Jul 24 18:09:02 1996 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA29399 for isp-outgoing; Wed, 24 Jul 1996 18:09:02 -0700 (PDT) Received: from chunga.apana.org.au (chunga.kt.apana.org.au [202.12.89.57]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id SAA29366; Wed, 24 Jul 1996 18:08:43 -0700 (PDT) Received: (from davo@localhost) by chunga.apana.org.au (8.7.5/8.6.12) id KAA21769; Thu, 25 Jul 1996 10:38:11 +0930 (CST) From: Dave Edwards Message-Id: <199607250108.KAA21769@chunga.apana.org.au> Subject: Setup of serial ports To: freebsd-isp@freebsd.org, hackers@freebsd.org Date: Thu, 25 Jul 1996 10:38:10 +0930 (CST) X-Mailer: ELM [version 2.4ME+ PL19 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi all, Can someone settle an argument for me :) We run FreeBSD 2.1-stable on our dialin box with 38 ports using a 4 port card and 2 cy16 cards. We run all our ports locked at 38400 for a number of reasons. We run mgetty on the ports and its going well with a couple of minor irritations like sliplogin hanging around after line drops sometimes. We've setup the ports like so: ------ snip from /etc/rc.serial comcontrol /dev/ttyd0 dtrwait 100 drainwait 180 comcontrol /dev/ttyd1 dtrwait 100 drainwait 180 comcontrol /dev/ttyd2 dtrwait 100 drainwait 180 comcontrol /dev/ttyd3 dtrwait 100 drainwait 180 comcontrol /dev/ttyd4 dtrwait 100 drainwait 180 comcontrol /dev/ttyd5 dtrwait 100 drainwait 180 for u in 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f do comcontrol /dev/ttyc$u dtrwait 100 drainwait 180 stty -f /dev/ttyic$u hupcl crtscts -clocal 38400 stty -f /dev/ttylc$u hupcl crtscts -clocal 38400 stty -f /dev/cuaic$u hupcl crtscts -clocal 38400 stty -f /dev/cualc$u hupcl crtscts -clocal 38400 done ----------- I've been told that the lock-state device needs to be set clocal and not -clocal. Is this true and if so why? ciao dave -- Dave Edwards davo@chunga.kt.apana.org.au || davo@sa.apana.org.au Adelaide, South Australia ----