From owner-freebsd-questions Sun Feb 2 20:21:14 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 2010637B401; Sun, 2 Feb 2003 20:21:13 -0800 (PST) Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id E797143E4A; Sun, 2 Feb 2003 20:21:09 -0800 (PST) (envelope-from doconnor@gsoft.com.au) Received: from [127.0.0.1] (localhost [127.0.0.1]) by cain.gsoft.com.au (8.12.4/8.12.6) with ESMTP id h134KiJF056130; Mon, 3 Feb 2003 14:50:46 +1030 (CST) (envelope-from doconnor@gsoft.com.au) X-Authentication-Warning: cain.gsoft.com.au: Host localhost [127.0.0.1] claimed to be [127.0.0.1] Subject: RE: PPP in -direct mode does not execute any chat scripts From: "Daniel O'Connor" To: Maksim Yevmenkin Cc: "M. Warner Losh" , hackers@FreeBSD.ORG, questions@FreeBSD.ORG In-Reply-To: <45258A4365C6B24A9832BFE224837D552B1287@sjdcex01.int.exodus.net> References: <45258A4365C6B24A9832BFE224837D552B1287@sjdcex01.int.exodus.net> Content-Type: text/plain Organization: Message-Id: <1044246042.3685.19.camel@chowder.gsoft.com.au> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 03 Feb 2003 14:50:42 +1030 Content-Transfer-Encoding: 7bit X-Spam-Score: -1 () CARRIAGE_RETURNS,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01 X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) 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 On Mon, 2003-02-03 at 14:41, Maksim Yevmenkin wrote: > 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. > > also there are other things besides PPP that use RFCOMM. OBEX > is another example, where clients will put/get objects from > the server. OK, it is a pity you can't define variables when invoking PPP I guess :) > > 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 :) Heh, I use birda for IRDA, it's strictly userland and uses pty's.. Works really well :) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 9A8C 569F 685A D928 5140 AE4B 319B 41F4 5D17 FDD5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message