*BSD News Article 98395


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!uunet!in2.uu.net!128.230.129.106!news.maxwell.syr.edu!newsfeed.nacamar.de!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: dial in/out on same port
Date: 24 Jun 1997 19:13:15 GMT
Organization: Private BSD site, Dresden
Lines: 21
Message-ID: <5op68b$2gt@uriah.heep.sax.de>
References: <5ooj25$gst@usenet.bridge.com>
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-Newsreader: knews 0.9.6
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
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:43459

mhughes@bridge.com (Michael Hughes) wrote:

>   I have been using the the port to dial in and out on since I
> started running FreeBSD.  Last night my machine locked up and when I
> rebooted, I couldn't dial out using cu.  It told me that all ports
> are busy.

This means the dialin port had been signalled an incoming carrier by
the modem.  At this point, the dialin device (/dev/ttyd0) gets over
control for getty.  As long as there's no carrier present, the open()
on /dev/ttyd0 from getty will block inside the kernel, and you can use
/dev/cuaa0 for dialing out.

If things don't work this way for you, i'd suspect a hardware problem.

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