From owner-freebsd-mobile Wed Nov 18 19:48:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA01893 for freebsd-mobile-outgoing; Wed, 18 Nov 1998 19:48:00 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from freebase.sitaranetworks.com (freebase.sitaranetworks.com [199.103.141.181]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id TAA01883 for ; Wed, 18 Nov 1998 19:47:58 -0800 (PST) (envelope-from john@loverso.southborough.ma.us) Received: from loverso.southborough.ma.us (rotty.sitaranetworks.com [199.103.141.107]) by freebase.sitaranetworks.com (8.8.8/8.8.8) with ESMTP id WAA15559; Wed, 18 Nov 1998 22:47:24 -0500 (EST) Received: from loverso.southborough.ma.us (localhost [127.0.0.1]) by loverso.southborough.ma.us (8.8.8/8.6.9) with ESMTP id WAA11185; Wed, 18 Nov 1998 22:47:23 -0500 (EST) Message-Id: <199811190347.WAA11185@loverso.southborough.ma.us> To: Steve.Gailey@metrosol.co.uk Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Strong Authentication and PPP In-reply-to: Message from "Steve Gailey" <199811181353.NAA23694@bmr2-e1.srv.uk.deuba.com> . X-Face: "UZ!}1W2N?eJdN(`1%|/OOPqJ).Idk?UyvWw'W-%`Gto8^IkEm>.g1O$[.;~}8E=Ire0|lO .o>:NlJS1@vO9bVmswRoq3j DdX9YGSeJ5a(mfX[1u>Z63G5_^+'8LVqjqvn X-Url: http://www.opengroup.org/~loverso/ Date: Wed, 18 Nov 1998 22:47:22 -0500 From: John Robert LoVerso Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In my ppp.conf, I use: set login "TIMEOUT 5 \r-\\r\\r-ID:-\\r\\r-ID: \\U CODE: \"!/etc/ppp/GetSecurID 2664\" Accepted" The \\U is my username, which is also my SecurID ID. This prompts me and then returns the string. The "2664" is my PIN, which I hard code in there because this sits on the computer in my basement. The script is: #!/bin/sh # 0,1 modem # 2 ppp # 4 /dev/tty echo -n "**** Enter SecureID Code: $1" >/dev/tty read code &2 exit 0 This ususally works: Chat: Wait for (5): CODE: Connect: loverso Connect: Enter PASSCODE: Chat: Exec: /etc/ppp/GetSecurID 2664 **** Enter SecureID Code: 2664323710 Chat: Sending: 2664323710 Chat: Expecting: Accepted Chat: Wait for (5): Accepted Connect: PASSCODE Accepted login OK! But sometimes this fails: Chat: Wait for (5): CODE: Connect: loverso Connect: Enter PASSCODE: Chat: Exec: /etc/ppp/GetSecurID 2664 **** Enter SecureID Code: 2664703999 Warning: /etc/ppp/GetSecurID: signal 74 Warning: DialModem: login failed. Phase: Modem: Connect time: 42 secs: 0 octets in, 0 octets out Phase: total 0 bytes/sec ppp ON loverso> term Working in interactive mode Phase: Connected! Entering terminal mode. Type `~?' for help. PASSCODE Accepted ppp ON loverso> Packet mode. What happens here is that the script gets the "signal 74" (what is THAT?) during the read and bombs out. So, I type "term" and just enter the whole id string and hit ~p. John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message