Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jan 2002 17:12:49 +0100
From:      Slawek Zak <zaks@prioris.mini.pw.edu.pl>
To:        Brian Somers <brian@freebsd-services.com>
Cc:        freebsd-net@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG
Subject:   Re: PPP callback and SecurID
Message-ID:  <874rl93xby.fsf@pf39.warszawa.sdi.tpnet.pl>
In-Reply-To: <200201241310.g0ODAOl49131@hak.lan.Awfulhak.org> (Brian Somers's message of "Thu, 24 Jan 2002 13:10:24 %2B0000")
References:  <200201241310.g0ODAOl49131@hak.lan.Awfulhak.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?874rl93xby.fsf>