Date: Thu, 25 Jul 1996 10:38:10 +0930 (CST) From: Dave Edwards <davo@chunga.kt.apana.org.au> To: freebsd-isp@freebsd.org, hackers@freebsd.org Subject: Setup of serial ports Message-ID: <199607250108.KAA21769@chunga.apana.org.au>
next in thread | raw e-mail | index | archive | help
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 ----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607250108.KAA21769>