*BSD News Article 82266


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!newspump.sol.net!howland.erols.net!netcom.com!stanb
From: stanb@netcom.com (Stan Brown)
Subject: Re: User mode PPP not hanging up modem
Message-ID: <stanbE0CHGM.wF@netcom.com>
Organization: NETCOM On-line Communication Services (408 261-4700 guest)
X-Newsreader: NN version 6.5.0 #3 (NOV)
References: <stanbE08zHy.3H3@netcom.com> <55jq3p$1rt@anorak.coverform.lan>
Date: Mon, 4 Nov 1996 12:02:45 GMT
Lines: 41
Sender: stanb@netcom15.netcom.com

brian@anorak.coverform.lan (Brian Somers) writes:

>In article <stanbE08zHy.3H3@netcom.com>,
>	stanb@netcom.com (Stan Brown) writes:
>: 	I have recently configure user mode ppp to dial into my loacl
>: ISP. It works just great, except for one minor detail. It doesn't
>: hang up the phone line when it's done. Even when the ISP drops his end.
>: I have configured the modem to time out and hangup after about 10 or 15
>: minutes, but this still leaves me with a problem if I have connected
>: recently, and I need to reconnect.
>: 
>: 	I notice that the dtr light on my modem never goes out. Isn't
>: this what ppp should be using to force a hangup ?

>Is the CD light going out on your modem ?  If so, this says that the other
>end has gone away.  This causes the OS to give ppp a HUP signal.  When ppp
>gets a HUP, it'll either go away (not -auto) or hang around waiting for
>something to pass its dfilter.

>I suspect you've got clocal turned on on your port... maybe.

	Yes the ISP times out and drops the pone line. This causes
the CD light to go off of course. I am left with a modem that is
connected to a dead phone line (after Ma Bell times out with anoying
noisy messages). The of course I can't dial back out since I need 
an transition on the off hook switch.

	My modem has a feature where I can make tit time out on this 
condition, but the time out is in 10ths of hours so the minimum I
can set is 6 minutes. I ahve an identical modem working with another
machine an kermit. Kermit hangs up the phone when it disconects.
How do I  make ppp (yes I'm using -auto) do this ? Yhe device I am
using ins /dev/cuaa0.

	Thanks for the help here.

-- 
Stan Brown     stanb@netcom.com                                    404-996-6955
Factory Automation Systems
Atlanta Ga.
-- 
Look, look, see Windows 95.  Buy, lemmings, buy!   
Pay no attention to that cliff ahead...            Henry Spencer
(c) 1996 Stan Brown.  Redistribution via the Microsoft Network is prohibited.