Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jun 1997 21:57:02 +0800 (WST)
From:      Jason McKay <jasonm@homer.argo.net.au>
To:        Matthew Hunt <mph@pobox.com>
Cc:        questions@freebsd.org
Subject:   Re: Disconnecting for FreeBSD
Message-ID:  <Pine.BSF.3.96.970610215436.3513A-100000@homer.argo.net.au>
In-Reply-To: <19970610091350.23696@astro.psu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help


On Tue, 10 Jun 1997, Matthew Hunt wrote:

> On Tue, Jun 10, 1997 at 08:10:19PM +0800, Jason McKay wrote:
> 
> > When a dial-up user types "exit" to logoff, it only returns them to the
> > login prompt.  How do we make FreeBSD hang up the modem once 'exit' is
> > entered?
> 
> I don't know exactly how you are starting ppp or pppd, but presumably
> you are somehow running it from the shell or a shell script.  Instead
> of just running it as "ppp" or "pppd" use "exec ppp" or "exec pppd".
> "exec" replaces the shell with the program that you are running.
> 
> 


Hi,

Ummm I am not using PPP at all, it is a shell only system ... Maybe I
should have explained the problem better in my original message: 

When a user called via modem (their are using the bash shell), once the
user finished his/her session and they type 'exit' to disconnect... The
system will not hang up the modem, it will return to the login prompt.  I
want BSD to lower DTR and disconnect the modem instead of going back to
the login prompt.

- Jason.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970610215436.3513A-100000>