[openbeosnetteam] Re: How to do PPP?

> so, I've stared playing and have discovered some useful stuff. I even 
> have
> PPP working over my aserial device and have the start of a ppp 
> module, but
> is this the right way to do it???
> 
> Looking at the various unix models they have a userland controlling 
> process.
> pppd in some cases or just ppp in others. should we be trying to 
> emulate the
> way they do things? Not if it's not the way we want to go. I don't 
> have
> strong feelings, but can't quite get my mind round some of the issues 
> with
> how to start/stop ppp and how we control it once it's running if we 
> have a
> kernel based ppp solution.
> 
> Anyone have any thoughts?

I think we should leave it in the kernel. We can use a looper thread or 
something to control up/down.

> BTW, Nathan you did say you had a pppoe solution but so far we 
> haven't seen
> any code from it? Can you make it available or shall we carry on 
> reinventing
> the wheel?

It's on BeBits, for r5. A great deal of it is applicable, like the HDLC 
code I just posted, but I've been out for a couple days, and so haven't 
been able to post it until now. 
 
> BTW, OpenBSD and FreeBSD have a pppoe server/client that I should be 
> able to
> use for testing of pppoe :) They manage it by using the bpf device, 
> which I
> don't really think is a good idea and I'd like to do it differently.

You mean Roaring Penguin, or what?
-Nathan (now slogging through nearly 300 e-mails) 


--
Fortune Cookie Says:

We don't understand the software, and sometimes we don't understand the
hardware, but we can *___see* the blinking lights!


Other related posts: