Christophe Guerber <firstname.lastname@example.org> wrote:
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):
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())
regist a “ppp-atm, converter”, you already have this one
regist a “atm, up producer”, you already have this one.
Load io-net with tcpip, pppmgr, your 3 modules.
Your “atm up producer” should advertise itself;
your “ppp-atm converter” will get this advertise and should pass
your “ppp-ppp up/down producer” should then get the advertise npkt
and should also tx_up() it.
you can then run pppd as:
You ppp-ppp up dwon producer should then receive ppp frames from
up layer for ppp negotiation.