From owner-freebsd-questions Sat Jan 19 4:34: 4 2002 Delivered-To: freebsd-questions@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 5EC9137B417; Sat, 19 Jan 2002 04:33:55 -0800 (PST) Received: (from zaks@localhost) by pf39.warszawa.sdi.tpnet.pl (8.11.6/8.11.6) id g0JCZCa07672; Sat, 19 Jan 2002 13:35:12 +0100 (CET) (envelope-from zaks) From: Slawek Zak To: freebsd-net@freebsd.org, freebsd-questions@freebsd.org Reply-To: zaks@prioris.mini.pw.edu.pl Subject: PPP callback and SecurID Content-MD5: 57a7bf53567c127ff4fc55a75702d023 Date: Sat, 19 Jan 2002 13:35:12 +0100 Message-ID: <87ofjqo6wv.fsf@pf39.warszawa.sdi.tpnet.pl> Lines: 52 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-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I've a problem with my callback. I'd like to automate it somehow, but there is a problem with LCP. The hard way is to do something like: # ppp ras ppp ON pf39> term deflink: Entering terminal mode on /dev/cuaa1 Type `~?' for help atdt CONNECT 57600 User Access Verification Username: Enter PASSCODE: Callback initiated - line is disconnected NO CARRIER RING RING ATA ...... (the connection) I tried to do something like this: [ppp.conf] ... callback: disable pap disable chap set speed 57600 set phone 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 15 sername: szak PASSCODE: \"!/usr/X11R6/bin/ssh-askpass\" Callback ATA" But it bails out, because the connection is apparently considered open by ppp after the disconnection, so I can't make the modem accept connections with ATA command in this state. Does anyone have other ideas how to make it work without typing the sequence everytime with term? Thanks, /S To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message