From owner-freebsd-questions Sun Feb 2 19: 0:47 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E15BB37B401; Sun, 2 Feb 2003 19:00:45 -0800 (PST) Received: from scl8owa02.int.exodus.net (scl8out02.exodus.net [66.35.230.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8578843F75; Sun, 2 Feb 2003 19:00:41 -0800 (PST) (envelope-from Maksim.Yevmenkin@cw.com) Received: from SJDCEX01.int.exodus.net ([165.193.27.80]) by scl8owa02.int.exodus.net with Microsoft SMTPSVC(5.0.2195.5329); Sun, 2 Feb 2003 19:00:41 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Subject: RE: PPP in -direct mode does not execute any chat scripts Date: Sun, 2 Feb 2003 19:00:41 -0800 Message-ID: <45258A4365C6B24A9832BFE224837D552B1284@sjdcex01.int.exodus.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: PPP in -direct mode does not execute any chat scripts thread-index: AcLLEzTIvU8Cx4ZsSJuAH+1fjExemAAF4e6U From: "Maksim Yevmenkin" To: "Daniel O'Connor" Cc: , X-OriginalArrivalTime: 03 Feb 2003 03:00:41.0301 (UTC) FILETIME=[6FB84050:01C2CB30] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Daniel, > > So the questions is: would it be possible to enable PPP chat=20 > > in "direct" mode? Is there any reason to not allow this? It > > seems 'login' script would do just fine. Is there any other/ > > better way to do this? One possible option right now is to > > execute /bin/chat from the launcher program before executing > > PPP, but i'd rather keep all chat scripts in PPP. >=20 > You'd need to add an option to do this - enabling it by default would > break a lot of stuff (eg I use ppp -direct for incoming PPP calls). If > -direct *by default* used chat then I would have to change my ppp.conf > and that would suck :) >=20 > Perhaps have 'enable usechatindirect' or some such.. i agree, it would break things if the 'default' section in the ppp.conf has 'set dial foo' and 'set login bar' lines in it (which is most likely the case) *and* if you use the same ppp.conf for both dialing out and receiving calls. in order to make things work people would have to put 'set dial' and 'set login' lines for the labels used in 'direct' mode.=20 i guess it is better to add the option. back to PPP hacking then :) thanks, max To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message