[openbeosnetteam] Re: How to do PPP?
- From: philippe.houdoin@xxxxxxx
- To: openbeosnetteam@xxxxxxxxxxxxx
- Date: Fri, 17 May 2002 19:02:24 +0200 (MEST)
David wrote:
> 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???
AFAIK, PPP and his related sub-protocols (NCPs, LCPs, etc...) live
at data-link layer level.
Someone would say let's make a NS_LAYER_LINK1 "ppp" module for our
stack. Like our "ethernet" module.
But the "ppp" module should have to work on a "serial" interface
(Serial PPP), or on one of our already working "ethernet" interface
(PPPoE), or even on one of a future "atm" interface (PPPoA) maybe.
Or even on multiple interfaces at once (Multilink PPP!) 8-o
So, it looks like he should act himself as a interface (for dial on
demand, timeout hangup), so that classic ifconfig up and down
commands can drive him, but he would rely on a sub-interface.
This will need some design change on our stack, I guess:
modules stackibilty at same layer level?
For the PPP sub-protocols (ILCP, CHAP, PAP, etc), they can be made
modules as well (network/ppp/*), but they would not be managed by
the core module, but the ppp module himself. So, they can share
a different API than the generic stack modules one, if it's needed.
> 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.
Hum, what is a "bpf" device!?
Somethings we can si/emulate under BeOS, maybe?
-Philippe, sorry for having *no* time to work on net_kit this all week...
- Follow-Ups:
- [openbeosnetteam] Re: How to do PPP?
- From: David Reid
- References:
- [openbeosnetteam] How to do PPP?
- From: David Reid
Other related posts:
- » [openbeosnetteam] How to do PPP?
- » [openbeosnetteam] Re: How to do PPP?
- » [openbeosnetteam] Re: How to do PPP?
- » [openbeosnetteam] Re: How to do PPP?
- » [openbeosnetteam] Re: How to do PPP?
- » [openbeosnetteam] Re: How to do PPP?
- » [openbeosnetteam] Re: How to do PPP?
- » [openbeosnetteam] Re: How to do PPP?
- » [openbeosnetteam] Re: How to do PPP?
- » [openbeosnetteam] Re: How to do PPP?
- » [openbeosnetteam] Re: How to do PPP?
- » [openbeosnetteam] Re: How to do PPP?
- » [openbeosnetteam] Re: How to do PPP?
- » [openbeosnetteam] Re: How to do PPP?
- » [openbeosnetteam] Re: How to do PPP?
- [openbeosnetteam] Re: How to do PPP?
- From: David Reid
- [openbeosnetteam] How to do PPP?
- From: David Reid