[En-Nut-Discussion] PPP deamon / routing

Ole Reinhardt ole.reinhardt at kernelconcepts.de
Thu Dec 16 16:57:23 CET 2004


Hi Harald,

what I have forgotten to tell is:

I need a ppp-server with modem emulation. Will say: A serial device (in
this case a PDA running linux) needs to do TCP/IP traffic. My idea was
to connect it to the Ethernut Board and talking ppp over the serial
interface. So I also need a modem emulation on the NutOS side. 

> In each part both(!) partners send a request with options
> they wish to use. Each request is answered with options
> accepted or alternate options. This request/response game
> is repeated until they match. Then negotiation steps up
> to the next part. If finally IPCP matches, we are done.
> That's all. The rest is simply IP packed into HDLC.

Sounds a bit like what is going on in the bluetooth L2CAP layer I've
just implemented...

> dev/chat.c already provides modem conversation routines.

I'll have a look to it. But as I mentioned above there won't be any
modem at all. NutOS has to emulate one. 

Perhaps I should better implement SLIP?

> Did you check
> http://www.ethernut.de/en/nuttecnotes/ntn-1_ppp.html

No, but I'll do now :-)

> At the end of the page you'll find a link to all relevant
> RFCs. Most important are
> RFC1332
> RFC1570
> RFC1661
> RFC1662 (implemented in (dev/ahdlc.c)
> RFC2484

Thanks :-) Cristmas will give me some time to read them...

Bye,

Ole

-- 
kernel concepts    Tel: +49-271-771091-14
Dreisbachstr. 24   Fax: +49-271-771091-19
D-57250 Netphen    E+ : +49-177-7420433
--





More information about the En-Nut-Discussion mailing list