From owner-freebsd-questions Mon Apr 27 03:06:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA04383 for freebsd-questions-outgoing; Mon, 27 Apr 1998 03:06:18 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mailhost.tue.nl (mailhost.tue.nl [131.155.2.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA04350 for ; Mon, 27 Apr 1998 03:06:12 -0700 (PDT) (envelope-from J.G.E.Backus@tue.nl) Received: from asterix.urc.tue.nl [131.155.5.10] by mailhost.tue.nl (8.8.8) id MAA14782 (ESMTP). Mon, 27 Apr 1998 12:06:00 +0200 (MET DST) Received: from jbackus@localhost by asterix.urc.tue.nl (8.8.8) id MAA00585. Mon, 27 Apr 1998 12:05:51 +0200 (MDT) Message-ID: <19980427120551.A78@asterix.urc.tue.nl> Date: Mon, 27 Apr 1998 12:05:51 +0200 From: Jos Backus To: Brian Somers Cc: Jason Nordwick , freebsd-questions@FreeBSD.ORG Subject: Re: -current PPP question Mail-Followup-To: Brian Somers , Jason Nordwick , freebsd-questions@FreeBSD.ORG References: <19980426162811.A3103@asterix.urc.tue.nl> <199804262345.AAA25669@awfulhak.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.92.1 In-Reply-To: <199804262345.AAA25669@awfulhak.org>; from Brian Somers on Mon, Apr 27, 1998 at 12:45:45AM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Brian, On Mon, Apr 27, 1998 at 12:45:45AM +0100, Brian Somers wrote: > What are you trying to achieve here ? The Annex expects PPP/PAP/CHAP for callback authentication, hence I need a program that talks PPP on std{in,out} to authenticate me and dies when the Annex subsequently rejects the connection and proceeds to call me after successful authentication. ppp -direct fits the bill, and it mostly works! > The "!" syntax allows you to run external programs that know how to talk > stdin/stdout to your modem (such as chat). Running ppp again will just > result in two programs striving to control the same device :-/ Doesn't ppp -direct not directly control the device but only talk to std{in,out}, as you would normally use ppp this way when running it under getty's control? > Also, you probably should upgrade to the version on > http://www.FreeBSD.org/~brian. AFAIR, the select() problem you > mentioned was caused by a long-since-fixed bug in libalias. Hm, I have been under the impression that -current has the latest fixes to ppp. Guess I was wrong :) By the way, I cvsupped and rebuilt the world on Saturday, so I assumed that I was fairly up-to-date. I will pick up the ppp at ~brian and try that. Thanks for your help! Cheers, -- Jos Backus _/ _/_/_/ "Reliability means never _/ _/ _/ having to say you're sorry." _/ _/_/_/ -- D. J. Bernstein _/ _/ _/ _/ jbackus@urc.tue.nl _/_/ _/_/_/ use Std::Disclaimer; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message