Hi,
I am writing an IO manager to create a named device /dev/pppoe to behave
similarly to /dev/ser1 to fake pppd so I can modify the ppp data.
I can get IO_HANDLE, IO_OPEN, IO_STAT, IO_FSTAT, IO_CLOSE, IO_WRITE,
IO_FLAGS, but no IO_SELECT and IO_READ. “pppd” will timeout and exit after
it sends some IO_FLAGS request.
I guess the reason that my IO manager didn’t receive any IO_SELECT and
IO_READ is that I didn’t properly handle some of the IO requests.
Basically, we want to get the data that pppd is writing it out and repacket
the data into another format, and let pppd read its input data from our io
manager.
Please help if anybody know how to make it work.
Or, I can ask my company to hire you as a consultant.
Thanks,
Jackie
Jackie (jackie@neontech.com) wrote:
: Hi,
: I am writing an IO manager to create a named device /dev/pppoe to behave
: similarly to /dev/ser1 to fake pppd so I can modify the ppp data.
: I can get IO_HANDLE, IO_OPEN, IO_STAT, IO_FSTAT, IO_CLOSE, IO_WRITE,
: IO_FLAGS, but no IO_SELECT and IO_READ. “pppd” will timeout and exit after
: it sends some IO_FLAGS request.
: I guess the reason that my IO manager didn’t receive any IO_SELECT and
: IO_READ is that I didn’t properly handle some of the IO requests.
: Basically, we want to get the data that pppd is writing it out and repacket
: the data into another format, and let pppd read its input data from our io
: manager.
First thing would be to get a printf() of all the requests that are actually
being sent Then you’d know which ones aren’t being handled; that would
be helpful to know.
: Please help if anybody know how to make it work.
: Or, I can ask my company to hire you as a consultant.
Sure Send me an email and we’ll talk …
Cheers,
-RK
Robert Krten, PARSE Software Devices; email my initials at parse dot com
Consulting, Systems Architecture / Design, Drivers, Training, QNX 4 & Neutrino
Check out our new QNX 4 and Neutrino (QRTP) books at http://www.parse.com/
Wanted PDP-8/9/10/11/12 Systems/documentation/spare parts! Will trade books!