Thomas Stibor wrote :
> Hi,
>
> I've done some IrNET Testing among two linux machines, and It's works
> really well.
Good.
> In the IrNET docs/irnet.h is written that, since using ppp
> as glue between IrDA Stack and TCP/IP it's possible to use
> encryption/compression. To activate that's PPP-things its necessary to
> fetch the latest pppd and then patch the pppd sources with this features.
No need to patch, it should work out of the box. Actually, you
you have compiled the compressions modules, ppp should automatically
load them and you need to explicitely *disable* them if you don't want
them. Authentication works (see PPP man/howto), but I don't know about
encryption.
> What I'm not understanding
> is, in which layer ppp is sitting and how its interact with other layers ?
>
> It is right that using IrNET, the following frame order is used
>
> | IR FRAME | PPP FRAME | IP FRAME | TCP FRAME
Correct. The PPP header is usually 1 byte (standard LCP header).
> This means that using encryption/compression, only the succeed TCP/IP
> frames were encryp/compr. ?
Correct. But you have only 5 bytes of IrDA header (plus 4
bytes of Ir-PHY at SIR).
> And all IP-Adress handling is done by pppd ?
Yes, see PPP man/howto for the relevant options. You can
specify them on the command line if needed.
> Thomas
Jean
_______________________________________________
Linux-IrDA mailing list - [EMAIL PROTECTED]
http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda