summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/rp-pppoe/doc/KERNEL-MODE-PPPOE
blob: 454c4b8702b5ef8b6e56e22bd8e5fcf5c97d1a92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
RP-PPPoE now supports kernel-mode PPPoE on Linux kernels 2.4.x.  However,
the default "./go" build procedure does not make kernel-mode support.

Here's what you need to do:

1) Download Michal Ostrowski's patched version of pppd which supports
a PPPoE plugin.  The latest version as of this writing is
at http://www.math.uwaterloo.ca/~mostrows/ in
http://www.math.uwaterloo.ca/~mostrows/ppp-2.4.0-pppoe4.tgz.  It is
also mirrored at http://www.roaringpenguin.com/pppoe/

2) Unpack that version of pppd and build and install it.

3) In the rp-pppoe directory, change to src/ and type:

	./configure --enable-plugin=/path/to/ppp-tree

Here, /path/to/ppp-tree is where you unpacked the pppd software.  It
should be the directory named ppp-2.4.0.pppoe

4) Type make; make install

5) Edit /etc/ppp/pppoe.conf to include this line:

	LINUX_PLUGIN=/etc/ppp/plugins/rp-pppoe.so

6) Make sure your kernel was built with support for PPP, PPPOX and that
all modules are locatable by modprobe.  Make sure you have a /dev/ppp
device:

	mknod /dev/ppp c 108 0

After that, adsl-start should use kernel-mode PPPoE.

This code is experimental and unsupported.  Use at your own risk.

--
David F. Skoll <dfs@roaringpenguin.com>