Date: Wed, 18 Nov 1998 22:47:22 -0500 From: John Robert LoVerso <john@loverso.southborough.ma.us> To: Steve.Gailey@metrosol.co.uk Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Strong Authentication and PPP Message-ID: <199811190347.WAA11185@loverso.southborough.ma.us> In-Reply-To: Message from "Steve Gailey" <Steve.Gailey@metrosol.co.uk> <199811181353.NAA23694@bmr2-e1.srv.uk.deuba.com> .
next in thread | previous in thread | raw e-mail | index | archive | help
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 </dev/tty echo "$1$code" 1>&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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811190347.WAA11185>