강좌 & 팁
ftp.samba.org 사이트에 접속 하여, 최신버전인 ppp-2.4.5.tar.gz 파일을 다운받는다.
prg# ftp ftp.samba.org
Connected to fn.samba.org.
220 (vsFTPd 2.0.7)
Name (ftp.samba.org:jhpark): anonymous
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd pub/ppp
250 Directory successfully changed.
ftp> ls
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
-rw-r--r-- 1 580 60 99787 Aug 25 2000 2.2-newppp.patch
-rw-r--r-- 1 580 60 432 Nov 14 2004 README
drwxr-xr-x 2 580 60 4096 Mar 09 2001 old
-rw-r--r-- 1 580 60 795942 Aug 05 2000 ppp-2.3.11.tar.gz
-rw-r--r-- 1 580 60 546883 Aug 07 2000 ppp-2.4.0.tar.gz
-rw-r--r-- 1 580 60 536746 Mar 25 2001 ppp-2.4.1.tar.gz
-rw-r--r-- 1 580 580 774441 Jan 16 2004 ppp-2.4.2.tar.gz
-rw-r--r-- 1 580 580 688092 Nov 14 2004 ppp-2.4.3.tar.gz
-rw-r--r-- 1 580 580 688763 Jun 28 2006 ppp-2.4.4.tar.gz
-rw-r--r-- 1 580 580 688572 Aug 28 2005 ppp-2.4.4b1.tar.gz
-rw-r--r-- 1 580 580 684342 Nov 17 2009 ppp-2.4.5.tar.gz
drwxr-xr-x 2 580 60 4096 Nov 14 2004 test
226 Directory send OK.
ftp> bi
h200 Switching to Binary mode.
ftp> ha
Hash mark printing on (1024 bytes/hash mark).
ftp> prom
Interactive mode off.
ftp> mget ppp-2.4.5.tar.gz
local: ppp-2.4.5.tar.gz remote: ppp-2.4.5.tar.gz
200 PORT command successful. Consider using PASV.
150 Opening BINARY mode data connection for ppp-2.4.5.tar.gz (684342 bytes).
############################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
226 File send OK.
684342 bytes received in 2.02 secs (330.1 kB/s)
ftp> quit
221 Goodbye.
다운로드가 끝나면 다음과 같이 압축을 해제 한다.
# tar xvfz ppp-2.4.5.tar.gz
압축을 해제 한 디렉토리로 이동한다.
# cd ppp-2.4.5
Configuration 을 한다.
# ./configure
Configuring for Linux
Creating Makefiles.
Makefile <= linux/Makefile.top
pppd/Makefile <= pppd/Makefile.linux
pppstats/Makefile <= pppstats/Makefile.linux
chat/Makefile <= chat/Makefile.linux
pppdump/Makefile <= pppdump/Makefile.linux
pppd/plugins/Makefile <= pppd/plugins/Makefile.linux
pppd/plugins/rp-pppoe/Makefile <= pppd/plugins/rp-pppoe/Makefile.linux
pppd/plugins/radius/Makefile <= pppd/plugins/radius/Makefile.linux
pppd/plugins/pppoatm/Makefile <= pppd/plugins/pppoatm/Makefile.linux
pppd/plugins/pppol2tp/Makefile <= pppd/plugins/pppol2tp/Makefile.linux
Configuration 이 끝나고 나면 다음과 같이 소스를 수정 한다.
./pppd/sys-linux.c 파일의 105 라인 수정 ( 2 에서, 10 으로 값을 수정 )
---------------------------------------
105 #if __GLIBC__ >= 2
---------------------------------------
105 #if __GLIBC__ >= 10
---------------------------------------
다음과 같이 컴파일을 수행 한다.
# CC=arm-linux-gcc make