Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!uwm.edu!newsfeeds.sol.net!feed1.news.erols.com!news-peer.sprintlink.net!news-pull.sprintlink.net!news-in-east.sprintlink.net!news.sprintlink.net!Sprint!199.171.20.9!news.nkn.net!news.panther.net!nemesis!hammy!news-in.iadfw.net!news.gymnet.com!LSNT1!lsbsdi6.lightspeed.net!news3.crl.com!nntp1.crl.com!su-news-hub1.bbnplanet.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!howland.erols.net!math.ohio-state edu!jussieu.fr!fdn.fr!r2d2.fdn.org!sphynx.fdn.fr!causse From: causse@sphynx.fdn.fr (Philippe Causse) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Serial port wiring Date: Mon, 26 May 1997 18:58:38 GMT Organization: individual - paris - france Lines: 36 Message-ID: <D640694A36E84233.F0195060D2E57675.B8151B6345E67FBA@library-proxy.airnews.net> X-Orig-Message-ID: <EAsy1r.np@sphynx.fdn.fr> References: <5mcbhu$m0s@uwm.edu> NNTP-Proxy-Relay: library.airnews.net NNTP-Posting-Host: biceps.gymnet.com X-Newsreader: TIN [version 1.2 PL2] Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41677 Jason Bacon (bacon@cs.uwm.edu) wrote: : Hi folks, : Does anyone know how to disable hardware flow control on a serial : line used for logins? ( Using the standard sio driver on 2.1.7 ) Assuming tty on sio0 (aka COM1) stty -f /dev/ttyid0 -crtscts clocal and/or stty -f /dev/ttyld0 -crtscts clocal See /etc/rc.serial for more examples. Hint: read the relevant manuals: sio(4), tty(4), comcontrol(8). : I'd like to connect a terminal using some DB25/RJ11 connectors, which : are limited to 4 wires, but getty doesn't respond unless CTS/RTS : are connected. I can't find anything in the getty or sio docs, : so any pointers would be appreciated. Hardflow/softflow control should be described in stty(1), tty(4). Otherwise, you should be able to hardwire RTS to CTS and DTR to DCD on the BSD box side. On a DB-25 plug, connect 20 to 8 (DTR on DCD) and 5 with 6 (RTS with CTS). That should do the job, but you'll loose hard flow control. Don't remember to activate soft flow control with "stty ixon ixoff". : TIA, : -Jason -- ------------------------------------------------------------------- P. Causse http://www.fdn.fr/~pcausse 4.4BSD/X11R6/Motif-2.0/C++ mailto:causse@sphynx.fdn.fr (UUCP)