Date: Thu, 7 Feb 2002 09:04:30 -0600 From: John <john@starfire.mn.org> To: questions@freebsd.org Subject: PPP support in getty -- how to use it? Message-ID: <20020207090430.A63977@dexter.starfire.mn.org>
next in thread | raw e-mail | index | archive | help
*** I am not currently subscribed -- please include me in replies! *** I tried sending the following message regarding the recognition of PPP connections via getty to the e-mail addresses given in the source code, but neither address seems to work. Can someone point me in the right direction? Thanks! ----- Forwarded message from John <john@starfire.mn.org> ----- Date: Thu, 7 Feb 2002 08:50:10 -0600 From: John <john@starfire.mn.org> To: michaelh@cet.co.jp, eriko@wrq.com Cc: John <john@dexter.starfire.mn.org> Subject: PPP support in getty -- how to use it? User-Agent: Mutt/1.2.5.1i When I went to port my PPP recognition state engine from my FreeBSD 2.1 system to FreeBSD 4.3, I was surprised to find that similar code was already there. Like my code, this is virtually undocumented with no mention in the program man page, no examples of how to use it, and only a passing reference in the gettytab documentation and none in gettytab itself. While my scheme invoked pppd directly with "-detach" and "auth", relying on the "pap-secrets" and "chap-secrets" files in /etc/ppp, this version wants to exec a program defined in gettytab via the 'pp' value with the first parameter of "ppplogin". I can't find anything on such a program! How is this intended to be used? Can I create an exec script or C shim that invokes pppd with -detach and auth, define that in gettytab with pp, and be off to the races? I could hack my exec in place of the ppplogin exec, but I like your more elegant approach (though I wonder at not doing a basename of the executable path as the first parameter in the execs) and would like to reduce (or eliminate!) the number of hacks I need to make to a system as I upgrade. Can you point me to some documentation? Thank you most kindly! ----- End forwarded message ----- *** I am not currently subscribed -- please include me in replies! *** -- John Lind john@starfire.MN.ORG 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?20020207090430.A63977>