From owner-freebsd-questions Sun Feb 2 20:24:15 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 2F5D737B401; Sun, 2 Feb 2003 20:24:14 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4551543FA7; Sun, 2 Feb 2003 20:24:13 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.6/8.12.3) with ESMTP id h134O43Y000977; Sun, 2 Feb 2003 21:24:04 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sun, 02 Feb 2003 21:22:50 -0700 (MST) Message-Id: <20030202.212250.68307224.imp@bsdimp.com> To: Maksim.Yevmenkin@cw.com Cc: hackers@FreeBSD.ORG, questions@FreeBSD.ORG Subject: Re: PPP in -direct mode does not execute any chat scripts From: "M. Warner Losh" In-Reply-To: <45258A4365C6B24A9832BFE224837D552B1286@sjdcex01.int.exodus.net> References: <45258A4365C6B24A9832BFE224837D552B1286@sjdcex01.int.exodus.net> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 In message: <45258A4365C6B24A9832BFE224837D552B1286@sjdcex01.int.exodus.net> "Maksim Yevmenkin" writes: : So you see it is probably possible to build a tty-like interface, : but i do not think it really worth the trouble. In fact one : can do it right now with the help of nmdm(4) driver. It is a : simple wrapper that would pass the data between socket and : /dev/nmdm0{A|B}. That's one way. Another is to have some control program that interacts with RFCOMM to establish a 'connection' between endpoints and sets the various parameters and gives userland access to it as a tty. barring that, you'll may be able to run chat on stdin/stdout before ppp gets into the act and get the number dialed that way and have ppp -direct run afterwards. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message