*BSD News Article 75410


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!news.cis.okstate.edu!newsfeed.ksu.ksu.edu!news.physics.uiowa.edu!math.ohio-state.edu!usc!sdd.hp.com!nntp.coast.net!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Setting up a terminal using a null modem cable
Date: 3 Aug 1996 20:18:07 GMT
Organization: Private BSD site, Dresden
Lines: 30
Message-ID: <4u0c5v$qnk@uriah.heep.sax.de>
References: <31FFD39F.2437@ctcc.gov.za>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

Andr=?iso-8859-1?Q?=E9?= Coetzee <acoetzee@ctcc.gov.za> wrote:

> The Null cable works fine between the two machines in both directions 
> under DOS!

Most likely, the null modem cable doesn't emulate carrier.  Unix
serial ports by default (i.e., unless declared ``local'') only work if
carrier is present.

My usual null modem cables look like these:

         2 --\/--  2
         3 --/\--  3
         4 --\/--  4
         5 --/\--  5
         6 -+  +-  6
         7 -|--|-  7
         8 -*\/*-  8
        20 --/\-- 20

This way, carrier (DCD, pin 8) is emulated by the remote DTR signal.

Alternatively, tweak your port to be `local' in /etc/rc.serial.

-- 
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. ;-)