Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!spool.mu.edu!daily-planet.execpc.com!news.moneng.mei.com!news.ecn.bgu.edu!vixen.cso.uiuc.edu!uwm.edu!chi-news.cic.net!newsfeed.internetmci.com!EU.net!ieunet!maths.tcd.ie!news.cs.tcd.ie!Michael.Nowlan@cs.tcd.ie From: Justin Farrell <jfarrell@cs.tcd.ie> Newsgroups: comp.unix.bsd.freebsd.misc Subject: killing pppd on modem hangup Date: Wed, 08 Nov 1995 13:24:06 -0800 Organization: TCD, Computer Science Lines: 39 Message-ID: <30A11FF6.216E@cs.tcd.ie> NNTP-Posting-Host: jfarrell.cs.tcd.ie Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 2.0b1 (Windows; I; 16bit) Hi, I recently setup my freebsd box (2.0) to allow for dial-in ppp access. The one problem I have is to kill off the pppd process once the modem hangs up. At the moment pppd will continue to run and keep its connection to ttyd1 thus stopping any one else from dialing in afterwards. my /etc/ppp/options file is as follows: crtscts # Hardware flow control netmask 255.255.0.0 # Netmask 134.226.33.217:134.226.33.216 # localip:remoteip (aisgremoteserver:slip001) proxyarp # answer requests for aisgremoteserver with # our ip (pc144) debug domain cs.tcd.ie passive modem -detach Has anyone else had similar problems? Should I use a logout script to kill off the process or is there an option I can set in /etc/ppp/options that will cause pppd to close once the modem line is dropped? Any help would be appreciated.. Justin. -- ---------------------------------------------------------------- Justin Farrell fax: +353-1-677-2204 Applied Information Systems Group, Phone: +353-1-608-2489 O'Reilly Institute, email: jfarrell@cs.tcd.ie Trinity College Dublin. WWW: http://www.cs.tcd.ie/www/jfarrell/jfarrell.html ----------------------------------------------------------------