ppp protocol

Hi,

Q: Where can I find a description on the pppd lower interface?

I’m still trying to develop a pppoa converter and a device driver for my
Alcatel Speedtouch USB.
I already have an empty convertor that regs as ppp to aal5 and as a ppp
down producer to io-net (pppoe seems to do same exept that it’s an en
convertor), and a device that produces aal5. Adverts seems to succeed
and when I mount all this (tcpip, pppmgr, pppoa and atm drv) I have the
following content in the /dev/io-net driectory:
ip0 ip_ppp ppp0 ppp_atm atm0.
Now I tried to start the pppd deamon with: pppd /dev/io-net/ppp0.
The pppoa converter is called and I get 3 msgs. The first seems to be a
ISATTY (0x318) msg but I could not analyse the two following
(something like 0x40000101 and 0x4xxx413).

Thx for your reply. :slight_smile:

Chris

Christophe Guerber wrote:

Hi,

Q: Where can I find a description on the pppd lower interface?

I’m still trying to develop a pppoa converter and a device driver for my
Alcatel Speedtouch USB.
I already have an empty convertor that regs as ppp to aal5 and as a ppp
down producer to io-net (pppoe seems to do same exept that it’s an en
convertor), and a device that produces aal5. Adverts seems to succeed
and when I mount all this (tcpip, pppmgr, pppoa and atm drv) I have the
following content in the /dev/io-net driectory:
ip0 ip_ppp ppp0 ppp_atm atm0.
Now I tried to start the pppd deamon with: pppd /dev/io-net/ppp0.
The pppoa converter is called and I get 3 msgs. The first seems to be a
ISATTY (0x318) msg but I could not analyse the two following (something
like 0x40000101 and 0x4xxx413).

Thx for your reply. > :slight_smile:

Chris

I also have questions about the advert msg: my driver sends it advert,
pppoa convertor catch it. But what shall I do with this? just send it
up? or send the convertor’s advert?

Christophe Guerber <christophe.guerber@atosorigin.com> wrote:

Hi,

Q: Where can I find a description on the pppd lower interface?

I’m still trying to develop a pppoa converter and a device driver for my
Alcatel Speedtouch USB.
I already have an empty convertor that regs as ppp to aal5 and as a ppp
down producer to io-net (pppoe seems to do same exept that it’s an en
convertor), and a device that produces aal5. Adverts seems to succeed
and when I mount all this (tcpip, pppmgr, pppoa and atm drv) I have the
following content in the /dev/io-net driectory:
ip0 ip_ppp ppp0 ppp_atm atm0.
Now I tried to start the pppd deamon with: pppd /dev/io-net/ppp0.
The pppoa converter is called and I get 3 msgs. The first seems to be a
ISATTY (0x318) msg but I could not analyse the two following
(something like 0x40000101 and 0x4xxx413).

You posted this everywhere, and I lost the track in which group I’ve
replied. So let’s stick in here, shall we?

To do what you want, you need to (these are based on 6.2):

  1. regist an “ppp-ppp, up-down producer”, this producer does nothing
    except “pass through” any npkt (that is, anything from below, it
    tx_up(), anything from above, it tx_down())

  2. regist a “ppp-atm, converter”, you already have this one

  3. regist a “atm, up producer”, you already have this one.

  4. Load io-net with tcpip, pppmgr, your 3 modules.

  5. Your “atm up producer” should advertise itself;
    your “ppp-atm converter” will get this advertise and should pass
    it up;
    your “ppp-ppp up/down producer” should then get the advertise npkt
    and should also tx_up() it.

  6. you can then run pppd as:

pppd /dev/io-net/atm

You ppp-ppp up dwon producer should then receive ppp frames from
up layer for ppp negotiation.

-xtang