0. Configure your 2.4.x kernel (You will find the same instructions in
KERNEL-MODE-PPPOE file from rp-pppoe package):
CONFIG_PPP=m or CONFIG_PPP=y
CONFIG_PPP_ASYNC=m or CONFIG_PPP_ASYNC=y
CONFIG_PPP_SYNC_TTY=m or CONFIG_PPP_SYNC_TTY=y
CONFIG_PPP_DEFLATE=m or CONFIG_PPP_DEFLATE=y
CONFIG_PPP_BSDCOMP=m or CONFIG_PPP_BSDCOMP=y
CONFIG_PPPOE=m or CONFIG_PPPOE=y
CONFIG_N_HDLC=m or CONFIG_N_HDLC=y
CONFIG_UNIX98_PTYS=y
You also need a /dev/ppp file:
mknod --mode=664 /dev/ppp c 108 0
You might want to add these lines to /etc/modules.conf:
alias char-major-108 ppp_generic
alias tty-ldisc-3 ppp_async
alias tty-ldisc-13 n_hdlc
alias tty-ldisc-14 ppp_synctty
alias net-pf-24 pppoe
cd /usr/local/src/ppp-2.4.3
./configure --prefix=/usr/local/ppp
make
make install install-etcppp
5. install rp-pppoe:
cd /usr/local/src/rp-pppo-3.5/src
PATH=$PATH:/usr/local/ppp/sbin ./configure --prefix=/usr/local/ppp --enable-plugin=/usr/local/src/ppp-2.4.3
make
make install