From owner-freebsd-questions Sun Feb 2 20:11:27 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 9CAFB37B401; Sun, 2 Feb 2003 20:11:25 -0800 (PST) Received: from scl8owa02.int.exodus.net (scl8out02.exodus.net [66.35.230.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37D5A43F93; Sun, 2 Feb 2003 20:11:25 -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 20:11:24 -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 20:11:24 -0800 Message-ID: <45258A4365C6B24A9832BFE224837D552B1287@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: AcLLOHo07FXF4kzyRBuEjKlGo5NdhgAAMx60 From: "Maksim Yevmenkin" To: "Daniel O'Connor" , "M. Warner Losh" Cc: , X-OriginalArrivalTime: 03 Feb 2003 04:11:24.0915 (UTC) FILETIME=[511C5C30:01C2CB3A] 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, > > Is there any reason that RFCOMM doesn't give full tty support, like > > the various USB modem drivers do? That's likely the best way to = deal > > with this. Then ppp or whatever application you want will just = work. > > Maybe it is necessary/useful to 'steer' PPP from the RFCOMM end? >=20 > eg 'when you get a connection from this device connect via PPP on > stdin/stdout' yes. that is one example. but the real trouble with tty is the server application that wants to listen on wildcard address. for example Network Access point that listens on RFCOMM channel 1. no matter what client comes in the server will just accept connection on the socket, fork and run PPP in direct mode.=20 also there are other things besides PPP that use RFCOMM. OBEX is another example, where clients will put/get objects from the server. > Still I guess you could just run 'ppp rfcomm' instead.. it will only work for in RFCOMM client case. i do not know how to build server applications with tty interface (pty's do not count :) thanks, max To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message