Does pppd in qnx4 support pty option for pppoe

Hi:
I want to add pppoe support into qnx4 by porting pppoe linux driver. Does
the pppd in qnx4 support pty option? If not, Is it doable to port linux ppp
and pppd driver into qnx4?
Is current ppp stack inside the qnx kernel?
Do I need to modify qnx kernel in order to support pppoe? If yes, Is there
anyway to resolve this problem since we don’t have qnx kernel source code?
Can we license it?
Any plan for qnx to support pppoe on qnx4? Any timeframe?

How can I add pppoe support under qnx4? Any suggestions?

Thanks,
Jackie

Lots of questions :slight_smile:

Jackie <jackie@neontech.com> wrote:

Hi:
I want to add pppoe support into qnx4 by porting pppoe linux driver. Does
the pppd in qnx4 support pty option? If not, Is it doable to port linux ppp
and pppd driver into qnx4?

No. It does not support pty option. And yes, it is “doable” to
write a “qnx4 pppoe driver”. I am not sure about linux ppp/pppd,
but I trust they are the same code base with qnx4’s.

Is current ppp stack inside the qnx kernel?

No. Nothing is in qnx “micro kernel”. But the ppp stack is inside
the Sock[l]et (the tcpip stack) in Tcpip 4.25.

Do I need to modify qnx kernel in order to support pppoe? If yes, Is there
anyway to resolve this problem since we don’t have qnx kernel source code?
Can we license it?

You don’t need to modify “QNX kernel”, and I seriously doubt you
could license the source code :slight_smile:

Any plan for qnx to support pppoe on qnx4? Any timeframe?

Not that I know of, so no timeframe.

How can I add pppoe support under qnx4? Any suggestions?

You best bet is write a “raw packet” driver, deal with ethernet, and it
also act as a “io manager” so pppd/Sock[l]et could read/write
it just as a serial device.

-xtang