*BSD News Article 82314


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!feed1.news.erols.com!howland.erols.net!math.ohio-state.edu!jussieu.fr!oleane!in2p3.fr!swidir.switch.ch!serra.unipi.it!labinfo.iet.unipi.it!luigi
From: luigi@labinfo.iet.unipi.it (Luigi Rizzo)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: User mode PPP not hanging up modem
Date: 4 Nov 1996 18:45:37 GMT
Organization: Dip. di Ingegneria dell'Informazione, Univ. di Pisa
Lines: 33
Distribution: world
Message-ID: <55ldkh$1cnc@serra.unipi.it>
References: <stanbE08zHy.3H3@netcom.com> <55jq3p$1rt@anorak.coverform.lan> <stanbE0CHGM.wF@netcom.com>
NNTP-Posting-Host: labinfo.iet.unipi.it

In article <stanbE0CHGM.wF@netcom.com>, stanb@netcom.com (Stan Brown) writes:
|> 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

i have a similar problem here, on the server side: i do a standard
login on the server (I use tcsh), then if I do

server_side%	ppp -direct

it works fine, but when the client hangs hup the shell is not notified
the HANGUP signal. I have "-clocal" both on /dev/cuala1 and /dev/cuaia1
Probably this is wrong, i.e. to lock a mode on cuaa1 you have to use
following sequence:

	stty -f /dev/cuaia1 -clocal
	stty -f /dev/cuala1 clocal

i.e. first set the mode you want, then lock it by ASSERTING it on the
lock device ?
I'll try this tonight...

	Luigi
-- 
====================================================================
Luigi Rizzo                     Dip. di Ingegneria dell'Informazione
email: luigi@iet.unipi.it       Universita' di Pisa
tel: +39-50-568533              via Diotisalvi 2, 56126 PISA (Italy)
fax: +39-50-568522              http://www.iet.unipi.it/~luigi/
====================================================================