Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Feb 2003 20:11:24 -0800
From:      "Maksim Yevmenkin" <Maksim.Yevmenkin@cw.com>
To:        "Daniel O'Connor" <doconnor@gsoft.com.au>, "M. Warner Losh" <imp@bsdimp.com>
Cc:        <hackers@FreeBSD.ORG>, <questions@FreeBSD.ORG>
Subject:   RE: PPP in -direct mode does not execute any chat scripts
Message-ID:  <45258A4365C6B24A9832BFE224837D552B1287@sjdcex01.int.exodus.net>

next in thread | raw e-mail | index | archive | help

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




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