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 |
CONFIG_PPP=m CONFIG_PPP_MULTILINK=y CONFIG_PPP_FILTER=y CONFIG_PPP_ASYNC=m CONFIG_PPP_SYNC_TTY=m CONFIG_PPP_DEFLATE=m CONFIG_PPP_BSDCOMP=m CONFIG_PPPOE=m # CONFIG_SLIP is not set CONFIG_UNIX98_PTYS=y CONFIG_N_HDLC= は設定項目が無し。 |
CONFIG_PPP=y # CONFIG_PPP_MULTILINK is not set # CONFIG_PPP_FILTER is not set # CONFIG_PPP_ASYNC is not set # CONFIG_PPP_SYNC_TTY is not set # CONFIG_PPP_DEFLATE is not set # CONFIG_PPP_BSDCOMP is not set CONFIG_PPPOE=y # CONFIG_SLIP is not set |
Aug 25 18:58:27 vine31 kernel: PPP generic driver version 2.4.2 |
[root]# tar zxvf pppd-2.4.3.tar.gz {root}# tar zxvf rp-pppoe-3.5.tar.gz |
[root]# cd pppd-2.4.3 [root]# configure [root]# make [root]# make install |
[root]# cd rp-pppoe3.6/src [root]# configure --enable-plugin=/tmp/ppp-2.4.3/ |
CFLAGS= -g -O2 -Wall -Wstrict-prototypes -ansi $(LIC_INCDIR) $(DEFINES) $(LIC_DEFINE) $(PATHS) -Ilibevent |
CFLAGS= -g -O2 -Wall -Wstrict-prototypes $(LIC_INCDIR) $(DEFINES) $(LIC_DEFINE) $(PATHS) -Ilibevent |
[root]# make 前半部分は省略 In file included from /usr/include/linux/if_pppox.h:21, from plugin.c:56: /usr/include/asm/byteorder.h:38: error: 文法エラー before "__u64" /usr/include/asm/byteorder.h:38: error: 文法エラー before "val" /usr/include/asm/byteorder.h: 関数 `___arch__swab64' 内: /usr/include/asm/byteorder.h:42: error: 文法エラー before "__u64" /usr/include/asm/byteorder.h: トップレベル: /usr/include/asm/byteorder.h:44: error: 文法エラー before '.' token /usr/include/asm/byteorder.h:52: error: 文法エラー before string constant In file included from /usr/include/linux/byteorder/little_endian.h:11, from /usr/include/asm/byteorder.h:65, from /usr/include/linux/if_pppox.h:21, from plugin.c:56: /usr/include/linux/byteorder/swab.h:199: error: 文法エラー before "__fswab64" /usr/include/linux/byteorder/swab.h:199: error: 文法エラー before "x" /usr/include/linux/byteorder/swab.h: 関数 `__fswab64' 内: /usr/include/linux/byteorder/swab.h:206: error: `x' undeclared (first use in this function) /usr/include/linux/byteorder/swab.h:206: error: (Each undeclared identifier is reported only once /usr/include/linux/byteorder/swab.h:206: error: for each function it appears in.) /usr/include/linux/byteorder/swab.h: トップレベル: /usr/include/linux/byteorder/swab.h:209: error: 文法エラー before "__swab64p" /usr/include/linux/byteorder/swab.h:209: error: 文法エラー before '*' token /usr/include/linux/byteorder/swab.h: 関数 `__swab64p' 内: /usr/include/linux/byteorder/swab.h:211: error: `x' undeclared (first use in this function) /usr/include/linux/byteorder/swab.h: トップレベル: /usr/include/linux/byteorder/swab.h:213: error: 文法エラー before '*' token /usr/include/linux/byteorder/swab.h: 関数 `__swab64s' 内: /usr/include/linux/byteorder/swab.h:215: error: `addr' undeclared (first use in this function) make: *** [plugin/plugin.o] エラー 1 |
[root]# make [root]# make install |
USER=hogehoge@nifty.com |
# Secrets for authentication using CHAP # client server secret IP addresses "hogehoge@nifty.com" * "passpass" |
# Secrets for authentication using PAP # client server secret IP addresses "hogehoge@nifty.com" * "passpass" |
LINUX_PLUGIN= |
[root]# pppoe-start |
/bin/sh /usr/sbin/pppoe-connect /usr/local/sbin/pppd pty /usr/sbin/pppoe -p /var/run/pppoe.conf-pppoe.pid.pppoe -I eth1 -T 80 /usr/sbin/pppoe -p /var/run/pppoe.conf-pppoe.pid.pppoe -I eth1 -T 80 -U -m 1412 |
LINUX_PLUGIN=/etc/ppp/plugins/rp-pppoe.so |
[root]# pppoe-start |
Aug 25 19:08:42 vine31 pppd[656]: Plugin /etc/ppp/plugins/rp-pppoe.so loaded. Aug 25 19:08:42 vine31 pppd[656]: RP-PPPoE plugin version 3.6 compiled against pppd 2.4.3 Aug 25 19:08:42 vine31 pppd[656]: unrecognized option 'rp_pppoe_dev' Aug 25 19:08:42 vine31 pppoe-connect: PPPoE connection lost; attempting re-connection. |
PLUGIN_OPTS="plugin $LINUX_PLUGIN rp_pppoe_dev $ETH" |
[root]# pppoe-start |