Allora, questo è quello che succede quando passo all'installazione di pppd 2.4.2 (scusate per la quantità di dati)

[root@localhost ppp-2.4.2]# patch -p1 < pppoatm.diff
patching file pppd/options.c
patching file pppd/plugins/Makefile.linux
Hunk #1 succeeded at 7 (offset 1 line).
Hunk #2 succeeded at 17 (offset 1 line).
patching file pppd/plugins/pppoatm.c
patching file pppd/pppd.h

[root@localhost ppp-2.4.2]# ./configure --prefix=/usr
Configuring for Linux
Creating links to Makefiles.
Makefile -> linux/Makefile.top
linux/Makedefs -> Makedefs.com
pppd/Makefile -> Makefile.linux
pppstats/Makefile -> Makefile.linux
chat/Makefile -> Makefile.linux
pppdump/Makefile -> Makefile.linux
pppd/plugins/Makefile -> Makefile.linux
pppd/plugins/rp-pppoe/Makefile -> Makefile.linux
pppd/plugins/radius/Makefile -> Makefile.linux

[root@localhost ppp-2.4.2]# make
cd chat; make all
make[1]: Entering directory `/root/Speedtouch/ppp-2.4.2/chat'
cc -c -O2 -g -pipe -DTERMIOS -DSIGTYPE=void
-UNO_SLEEP -DFNDELAY=O_NDELAY -DTERMIOS
-DSIGTYPE=void -UNO_SLEEP -DFNDELAY=O_NDE
LAY -o chat.o chat.c
chat.c:216: warning: conflicting types for built-in function `logf'
cc -o chat chat.o
make[1]: Leaving directory `/root/Speedtouch/ppp-2.4.2/chat'
cd pppd/plugins; make all
make[1]: Entering directory `/root/Speedtouch/ppp-2.4.2/pppd/plugins'
gcc -o minconn.so -shared -O2 -g -I.. -I../../include -fPIC minconn.c
gcc -o passprompt.so -shared -O2 -g -I.. -I../../include -fPIC passprompt.c
gcc -o passwordfd.so -shared -O2 -g -I.. -I../../include -fPIC passwordfd.c
gcc -o pppoatm.so -shared -O2 -g -I.. -I../../include -fPIC pppoatm.c -latm
for d in rp-pppoe; do make -w -C $d all; done
make[2]: Entering directory `/root/Speedtouch/ppp-2.4.2/pppd/plugins/rp-pppoe'
gcc -O2 -g -I../../../include/linux '-DVERSION="3.3"' -c -o discovery.o -fPIC discovery.c
gcc -O2 -g -I../../../include/linux '-DVERSION="3.3"' -c -o if.o -fPIC if.c
gcc -O2 -g -I../../../include/linux '-DVERSION="3.3"' -c -o common.o -fPIC common.c
gcc -O2 -g -I../../../include/linux '-DVERSION="3.3"' -c -o debug.o -fPIC debug.c
ar -rc libplugin.a discovery.o if.o common.o debug.o
gcc '-DRP_VERSION="3.3"' -O2 -g -I../../../include/linux -I../../.. -c -o plugin.o -fPIC plugin.c
gcc -o rp-pppoe.so -shared plugin.o libplugin.a
make[2]: Leaving directory `/root/Speedtouch/ppp-2.4.2/pppd/plugins/rp-pppoe'
make[1]: Leaving directory `/root/Speedtouch/ppp-2.4.2/pppd/plugins'
cd pppd; make all
make[1]: Entering directory `/root/Speedtouch/ppp-2.4.2/pppd'
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHA
PMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUS
E_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o main.o mai
n.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHA
PMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUS
E_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o magic.o ma
gic.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHA
PMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUS
E_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o fsm.o fsm.
c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHA
PMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUS
E_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o lcp.o lcp.
c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHA
PMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUS
E_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o ipcp.o ipc
p.c
ipcp.c:262: warning: initialization from incompatible pointer type
ipcp.c:264: warning: initialization from incompatible pointer type
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHA
PMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUS
E_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o upap.o upa
p.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHA
PMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUS
E_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o chap-new.o
chap-new.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHA
PMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUS
E_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o md5.o md5.
c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHA
PMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUS
E_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o ccp.o ccp.
c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHA
PMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUS
E_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o ecp.o ecp.
c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHA
PMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUS
E_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o auth.o aut
h.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHA
PMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUS
E_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o options.o
options.c
options.c:58:18: pcap.h: No such file or directory
In file included from options.c:59:
../include/pcap-int.h:39:18: pcap.h: No such file or directory
In file included from options.c:59:
../include/pcap-int.h:53: error: field `stat' has incomplete type
../include/pcap-int.h:95: error: field `fcode' has incomplete type
../include/pcap-int.h:97: error: `PCAP_ERRBUF_SIZE' undeclared here (not in a function)
../include/pcap-int.h:107: error: parse error before '*' token
../include/pcap-int.h:108: error: parse error before '*' token
options.c:125: error: parse error before "pc"
options.c:125: warning: type defaults to `int' in declaration of `pc'
options.c:125: warning: data definition has no type or storage class
options.c: In function `setpassfilter':
options.c:1458: error: request for member `linktype' in something not a structure or union
options.c:1458: error: `DLT_PPP' undeclared (first use in this function)
options.c:1458: error: (Each undeclared identifier is reported only once
options.c:1458: error: for each function it appears in.)
options.c:1459: error: request for member `snapshot' in something not a structure or union
options.c:1461: warning: implicit declaration of function `pcap_compile'
options.c:1463: warning: implicit declaration of function `pcap_geterr'
options.c: In function `setactivefilter':
options.c:1474: error: request for member `linktype' in something not a structure or union
options.c:1474: error: `DLT_PPP' undeclared (first use in this function)
options.c:1475: error: request for member `snapshot' in something not a structure or union
/usr/include/bits/string2.h: At top level:
options.c:123: error: storage size of `pass_filter' isn't known
options.c:124: error: storage size of `active_filter' isn't known
make[1]: *** [options.o] Error 1
make[1]: Leaving directory `/root/Speedtouch/ppp-2.4.2/pppd'
make: *** [all] Error 2

[root@localhost ppp-2.4.2]# make install
cd chat; make BINDIR=/usr/sbin MANDIR=/usr/man install
make[1]: Entering directory `/root/Speedtouch/ppp-2.4.2/chat'
mkdir -p /usr/sbin
install -s -c chat /usr/sbin
install -c -m 644 chat.8 /usr/man/man8
make[1]: Leaving directory `/root/Speedtouch/ppp-2.4.2/chat'
cd pppd/plugins; make BINDIR=/usr/sbin MANDIR=/usr/man install
make[1]: Entering directory `/root/Speedtouch/ppp-2.4.2/pppd/plugins'
install -o root -d /usr/lib/pppd/2.4.2
install -o root minconn.so passprompt.so passwordfd.so pppoatm.so /usr/lib/pppd/
2.4.2
for d in rp-pppoe; do make -w -C $d INSTALL=install -o root \
LIBDIR=/usr/lib/pppd/2.4.2 install; done
make[2]: Entering directory `/root/Speedtouch/ppp-2.4.2/pppd/plugins/rp-pppoe'
install -d -m 755 /usr/lib/pppd/2.4.2
install -s -c -m 4550 rp-pppoe.so /usr/lib/pppd/2.4.2
make[2]: Leaving directory `/root/Speedtouch/ppp-2.4.2/pppd/plugins/rp-pppoe'
make[1]: Leaving directory `/root/Speedtouch/ppp-2.4.2/pppd/plugins'
cd pppd; make BINDIR=/usr/sbin MANDIR=/usr/man install
make[1]: Entering directory `/root/Speedtouch/ppp-2.4.2/pppd'
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHA
PMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUS
E_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o options.o
options.c
options.c:58:18: pcap.h: No such file or directory
In file included from options.c:59:
../include/pcap-int.h:39:18: pcap.h: No such file or directory
In file included from options.c:59:
../include/pcap-int.h:53: error: field `stat' has incomplete type
../include/pcap-int.h:95: error: field `fcode' has incomplete type
../include/pcap-int.h:97: error: `PCAP_ERRBUF_SIZE' undeclared here (not in a function)
../include/pcap-int.h:107: error: parse error before '*' token
../include/pcap-int.h:108: error: parse error before '*' token
options.c:125: error: parse error before "pc"
options.c:125: warning: type defaults to `int' in declaration of `pc'
options.c:125: warning: data definition has no type or storage class
options.c: In function `setpassfilter':
options.c:1458: error: request for member `linktype' in something not a structure or union
options.c:1458: error: `DLT_PPP' undeclared (first use in this function)
options.c:1458: error: (Each undeclared identifier is reported only once
options.c:1458: error: for each function it appears in.)
options.c:1459: error: request for member `snapshot' in something not a structure or union
options.c:1461: warning: implicit declaration of function `pcap_compile'
options.c:1463: warning: implicit declaration of function `pcap_geterr'
options.c: In function `setactivefilter':
options.c:1474: error: request for member `linktype' in something not a structure or union
options.c:1474: error: `DLT_PPP' undeclared (first use in this function)
options.c:1475: error: request for member `snapshot' in something not a structure or union
/usr/include/bits/string2.h: At top level:
options.c:123: error: storage size of `pass_filter' isn't known
options.c:124: error: storage size of `active_filter' isn't known
make[1]: *** [options.o] Error 1
make[1]: Leaving directory `/root/Speedtouch/ppp-2.4.2/pppd'
make: *** [install-progs] Error 2


Cmq ho appena provato a continuare con le tue istruzioni (mentre ieri ho sostituito la pppd, ovviamente senza esiti positivi) e quando lancio #pppd mi dice che non riconosce il comando, quindi il problema risiede in lui.