io-net PPPoE-filter problem

Hello NG,

I have some io-net-related question and I don’t know if this is the right
newsgroup but maybe someone can help me. I have written a little ppp over
ethernet converter module for QNX RTP (providing an emulated modem through
‘/dev/pppoe’ linked to a free pty for not to break with phdialer) and
everything works fine except that I can’t reach anything in the network.
This is what phdialer’s terminal window gives me:

Opening device ‘/dev/pppoe’
Initializing modem
ATZ
ok
ATM0
ok
Dialing 007…
ATDT007
connect
Link Established
Negotiating PPP connection
pppd[1351722-1]: pppd 2.3.5 started by root, uid 0
pppd Started
pppd[1351722-1]: Using interface ppp0
pppd[1351722-1]: Connect: ppp0 <–> /dev/pppoe
Authenticated
pppd[1351722-1]: ioctl(set NP 33 mode to 0): Operation not supported
pppd[1351722-1]: local IP address 213.23.39.106
pppd[1351722-1]: remote IP address 145.253.1.92
Connection Established

The ioctl failure says pppd can’t set the network protocol 33 (0x21:
Internet Protocol) to pass through; IP traffic remains either queued or
blocked and never reaches the pppoe module. Maybe this is due to an
improperly set MTU/MRU ? My HDLC framing code seems ok, else it wouldn’t
authenticate. The module is implemented as a FILTER_ABOVE with top and
bottom binding “en” and registers for packets with ETHERTYPE 0x8863/0x8864.
Do I have to forward any of these raw packets? Or do I have to set some
special terminal flags on the pseudo modem? Maybe anyone has an idea where
to search for an error.

Thanks in advance
Peter

It does not really answer your question, but PPPoE is supported by next
release (6.1).

  • igor

“Peter Kleinstück” <pkx544@gmx.de> wrote in message
news:9fsu8n$4op$1@inn.qnx.com

Hello NG,

I have some io-net-related question and I don’t know if this is the
right
newsgroup but maybe someone can help me. I have written a little ppp over
ethernet converter module for QNX RTP (providing an emulated modem through
‘/dev/pppoe’ linked to a free pty for not to break with phdialer) and
everything works fine except that I can’t reach anything in the network.
This is what phdialer’s terminal window gives me:

Opening device ‘/dev/pppoe’
Initializing modem
ATZ
ok
ATM0
ok
Dialing 007…
ATDT007
connect
Link Established
Negotiating PPP connection
pppd[1351722-1]: pppd 2.3.5 started by root, uid 0
pppd Started
pppd[1351722-1]: Using interface ppp0
pppd[1351722-1]: Connect: ppp0 <–> /dev/pppoe
Authenticated
pppd[1351722-1]: ioctl(set NP 33 mode to 0): Operation not supported
pppd[1351722-1]: local IP address 213.23.39.106
pppd[1351722-1]: remote IP address 145.253.1.92
Connection Established

The ioctl failure says pppd can’t set the network protocol 33 (0x21:
Internet Protocol) to pass through; IP traffic remains either queued or
blocked and never reaches the pppoe module. Maybe this is due to an
improperly set MTU/MRU ? My HDLC framing code seems ok, else it wouldn’t
authenticate. The module is implemented as a FILTER_ABOVE with top and
bottom binding “en” and registers for packets with ETHERTYPE
0x8863/0x8864.
Do I have to forward any of these raw packets? Or do I have to set some
special terminal flags on the pseudo modem? Maybe anyone has an idea where
to search for an error.

Thanks in advance
Peter

Yes, I know, but when will that be? The earliest post on someone wanting to
write a driver was dated about one year ago. I know release 6.1 will be
showcased this month (or next) somewhere in Japan. 'Till official release it
might last again for some months as with the preview release for 6.0. I
really would like to have Internet access and do some real programming on
RTP NOW.

Peter


“Igor Kovalenko” <kovalenko@home.com> schrieb im Newsbeitrag
news:9ftpka$j57$1@inn.qnx.com

It does not really answer your question, but PPPoE is supported by next
release (6.1).

  • igor

“Peter Kleinstück” <> pkx544@gmx.de> > wrote in message
news:9fsu8n$4op$> 1@inn.qnx.com> …
Hello NG,

I have some io-net-related question and I don’t know if this is the
right
newsgroup but maybe someone can help me. I have written a little ppp
over
ethernet converter module for QNX RTP (providing an emulated modem
through
‘/dev/pppoe’ linked to a free pty for not to break with phdialer) and
everything works fine except that I can’t reach anything in the network.
This is what phdialer’s terminal window gives me:

Opening device ‘/dev/pppoe’
Initializing modem
ATZ
ok
ATM0
ok
Dialing 007…
ATDT007
connect
Link Established
Negotiating PPP connection
pppd[1351722-1]: pppd 2.3.5 started by root, uid 0
pppd Started
pppd[1351722-1]: Using interface ppp0
pppd[1351722-1]: Connect: ppp0 <–> /dev/pppoe
Authenticated
pppd[1351722-1]: ioctl(set NP 33 mode to 0): Operation not supported
pppd[1351722-1]: local IP address 213.23.39.106
pppd[1351722-1]: remote IP address 145.253.1.92
Connection Established

The ioctl failure says pppd can’t set the network protocol 33 (0x21:
Internet Protocol) to pass through; IP traffic remains either queued or
blocked and never reaches the pppoe module. Maybe this is due to an
improperly set MTU/MRU ? My HDLC framing code seems ok, else it wouldn’t
authenticate. The module is implemented as a FILTER_ABOVE with top and
bottom binding “en” and registers for packets with ETHERTYPE
0x8863/0x8864.
Do I have to forward any of these raw packets? Or do I have to set some
special terminal flags on the pseudo modem? Maybe anyone has an idea
where
to search for an error.

Thanks in advance
Peter
\