Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Feb 2003 21:22:50 -0700 (MST)
From:      "M. Warner Losh" <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
Message-ID:  <20030202.212250.68307224.imp@bsdimp.com>
In-Reply-To: <45258A4365C6B24A9832BFE224837D552B1286@sjdcex01.int.exodus.net>
References:  <45258A4365C6B24A9832BFE224837D552B1286@sjdcex01.int.exodus.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <45258A4365C6B24A9832BFE224837D552B1286@sjdcex01.int.exodus.net>
            "Maksim Yevmenkin" <Maksim.Yevmenkin@cw.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030202.212250.68307224.imp>