*BSD News Article 54449


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!chi-news.cic.net!newsfeed.internetmci.com!EU.net!Germany.EU.net!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!not-for-mail
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Modem Hanging hassles?
Date: 12 Nov 1995 16:12:25 +0100
Organization: Private FreeBSD site, Dresden.
Lines: 21
Message-ID: <4852sp$kah@uriah.heep.sax.de>
References: <47tn82$llb@owl.und.ac.za>
NNTP-Posting-Host: uriah.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Keywords: modem getty slip login hang ttyd0

Ewan McPhail <chops@kestrel.ugrd.und.ac.za> wrote:

>We have a single modem installed on out FreeBSD box (2.0.1)
>- a Us-Robotics 14.4. We have recently been having hassles using
>slip over this line - when logging off (hanging up from the remote
>end), the modem "hangs" and the line remains "off-hook" so we are unable
>to log in again.

This rather looks like a modem configuration problem.  The modem is
supposed to detect the dropped carrier, and then to deassert the DCD
line.  This would cause the associated process (probably a sliplogin)
to receive a SIGHUP, so it clears and would cause init to respawn a
new getty.

Most default modem settings are inappropriate for use with a Unix box,
in particular the AT&C and AT&D (DCD and DTR handling) options.
-- 
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. ;-)