Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!classic.iinet.com.au!swing.iinet.net.au!news.uoregon.edu!usenet.eel.ufl.edu!news.ultranet.com!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!howland.reston.ans.net!Germany.EU.net!zib-berlin.de!irz401!uriah.heep!not-for-mail From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: How to connect serial terminal to FreeBSD v2.0.5? Date: 31 Oct 1995 11:26:31 +0100 Organization: Private FreeBSD site, Dresden. Lines: 36 Message-ID: <474tkn$bm2@uriah.heep.sax.de> References: <472mm2$333@netnews.ntu.edu.tw> NNTP-Posting-Host: uriah.heep.sax.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Yang Zeng-Yuan <yzy@dslab.ee.ncu.edu.tw> wrote: >Dear fellows: > >How to connect the serial terminal to FreeBSD 2.0.5 rel? > >I try to connect my PC( MS-DOS running terminal emulator ) to FreeBSD 2.0.5. >But I can not do it well. > >I make sure that the RS-232 cable is right ( pin 2 switch to pin 3 ), and >I use the 2S1P ( 2 serial ports COM1:COM2, 1 parallel prot ) interface card. The cable isn't right. Three-wire handshake is ugly. If you have to stick with it, you must declare your tty port as `local' (e.g. from inside /etc/rc.serial). If you've got the chance to fix it, prepare the null modem cable as follows: 2 <--> 3 \ exchange transmitter 3 <--> 2 / and receiver data 4 <--> 5 \ flow control wires 5 <--> 4 / (RTS/CTS) 7 <--> 7 - Ground 6+8 <--> 20 \ DTR of the remote end is locally interpreted 20 <--> 6+8 / as ``carrier'' and also ``DSR'' ...and use hardware flow control (``crtscts''). Note that unplugging the cable will generate a hangup signal on the connected processes (the faked ``carrier'' is lost). This is intention. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)