From owner-freebsd-net Sat Jan 26 8:13: 3 2002 Delivered-To: freebsd-net@freebsd.org Received: from pf39.warszawa.sdi.tpnet.pl (pf39.warszawa.sdi.tpnet.pl [213.25.209.39]) by hub.freebsd.org (Postfix) with ESMTP id 41E8937B416; Sat, 26 Jan 2002 08:12:49 -0800 (PST) Received: (from zaks@localhost) by pf39.warszawa.sdi.tpnet.pl (8.11.6/8.11.6) id g0QGCnu18259; Sat, 26 Jan 2002 17:12:49 +0100 (CET) (envelope-from zaks) From: Slawek Zak To: Brian Somers Cc: freebsd-net@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Re: PPP callback and SecurID References: <200201241310.g0ODAOl49131@hak.lan.Awfulhak.org> Content-MD5: ac4f41bd8e61d62aedb2e318bd2744bd Date: Sat, 26 Jan 2002 17:12:49 +0100 In-Reply-To: <200201241310.g0ODAOl49131@hak.lan.Awfulhak.org> (Brian Somers's message of "Thu, 24 Jan 2002 13:10:24 +0000") Message-ID: <874rl93xby.fsf@pf39.warszawa.sdi.tpnet.pl> Lines: 37 User-Agent: Gnus/5.090005 (Oort Gnus v0.05) XEmacs/21.5 (asparagus, i386-unknown-freebsd4.4) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 24 Jan 2002, Brian Somers uttered the following: > You could probably ``set cd off'' to get the desired effect. > Alternatively, configure your machine to be able to receive incoming > connections and let the initial ppp session drop when the peer hangs > up. Okay. I've found a way to solve this. Below is the relevant section from my ppp.conf. callback: disable pap disable chap set speed 57600 set phone XXXXXXX set server /var/run/ppp-sock-%d ppp 177 set cd off set device /dev/cuaa1 allow users * set dial "ABORT BUSY ABORT NO\\sCARRIER \ TIMEOUT 10 \"\" ATZ OK ATDT\\T \ TIMEOUT 40 CONNECT" set login "TIMEOUT 5 sername: XXXX \ PASSCODE: \"!/usr/X11R6/bin/ssh-askpass\" \ TIMEOUT 15 Callback \"\" NO\\sCARRIER \"\" \ TIMEOUT 60 RING ATA CONNECT" There is an example in ppp.conf.sample which helped me to find the correct login chat string. Crucial parts are the cd off and disconnect in login chat. Running getty is not necessary in this case. Thanks to Joe Barbish, for helping me. /S -- hundred-and-one symptoms of being an internet addict: 4. Your eyeglasses have a web site burned in on them. * Suavek Zak / PGP: finger://zaks@prioris.mini.pw.edu.pl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message