Hi all, I want to setup pptp gateway in Debian with MSCHAPv2 encrytion for more secure connection between Windows clients to the gateway.
So, I decided to re-compile the kernel first. The following are my steps : 1. apt-get install kernel-source-2.4.19 2. download patch file named "linux-2.4.19-openssl-0.9.6b-mppe.patch.gz" from http://planetmirror.com/pub/mppe 3. zcat linux-2.4.19-openssl-0.9.6b-mppe.patch.gz | patch -p1 4. make-menuconfig 5. make-kpkg 6. reboot It works fine with little warning during bootup -- cannot find modules char-major-xxx. The warning still exists even I commented out the related lines in /etc/modules.conf. Then I go for building ppp from source package, these are my steps : 1. apt-get source ppp 2. download patch files named "ppp-2.4.1-openssl-0.9.6-mppe-patch.gz" and "ppp-2.4.1-MSCHAPv2-fix.patch.gz" from the mentioned mirror site. 3. zcat ppp-2.4.1-openssl-0.9.6-mppe-patch.gz | patch -p1 4. zcat ppp-2.4.1-MSCHAPv2-fix.patch.gz | patch -p1 5. ./ppp-2.4.1.uus/debian/rules build Errors then occured as in the attached file during compiling. I did searching on the internet for this error and still don't know how to solve. Anyone has experience in setting up pptp gateway in debian?? Are my steps correct?? or any steps I do wrong?? Thanks in advance. ------------------------------------------------------------------------- ccp.o: In function `ccp_resetci': ccp.o(.text+0x8bb): undefined reference to `mppe_master_send_key_40' ccp.o(.text+0x8d7): undefined reference to `mppe_master_recv_key_40' ccp.o: In function `ccp_addci': ccp.o(.text+0xc0e): undefined reference to `mppe_allowed' ccp.o(.text+0xca1): undefined reference to `mppe_master_send_key_40' ccp.o(.text+0xcbc): undefined reference to `mppe_master_recv_key_40' ccp.o(.text+0xcef): undefined reference to `mppe_master_send_key_128' ccp.o(.text+0xd0a): undefined reference to `mppe_master_recv_key_128' ccp.o: In function `ccp_reqci': ccp.o(.text+0x1932): undefined reference to `mppe_allowed' ccp.o(.text+0x1a99): undefined reference to `mppe_master_send_key_40' ccp.o(.text+0x1ab4): undefined reference to `mppe_master_recv_key_40' ccp.o(.text+0x1af5): undefined reference to `mppe_master_send_key_128' ccp.o(.text+0x1b10): undefined reference to `mppe_master_recv_key_128' ccp.o(.data+0x1e8): undefined reference to `setmppe_40' ccp.o(.data+0x210): undefined reference to `setmppe_40' ccp.o(.data+0x238): undefined reference to `setnomppe_40' ccp.o(.data+0x260): undefined reference to `setnomppe_40' ccp.o(.data+0x288): undefined reference to `setmppe_128' ccp.o(.data+0x2b0): undefined reference to `setmppe_128' ccp.o(.data+0x2d8): undefined reference to `setnomppe_128' ccp.o(.data+0x300): undefined reference to `setnomppe_128' ccp.o(.data+0x328): undefined reference to `setmppe_stateless' ccp.o(.data+0x350): undefined reference to `setmppe_stateless' ccp.o(.data+0x378): undefined reference to `setnomppe_stateless' ccp.o(.data+0x3a0): undefined reference to `setnomppe_stateless' chap_ms.o: In function `ChallengeResponse': chap_ms.o(.text+0x3e): undefined reference to `DesEncrypt' chap_ms.o(.text+0x5b): undefined reference to `DesEncrypt' chap_ms.o(.text+0x78): undefined reference to `DesEncrypt' chap_ms.o: In function `ChapMS_NT': chap_ms.o(.text+0x9a): undefined reference to `NtPasswordHash' chap_ms.o: In function `ChapMS': chap_ms.o(.text+0x10c): undefined reference to `mppe_gen_master_key' chap_ms.o: In function `ChapMS_Resp': chap_ms.o(.text+0x1bf): undefined reference to `mppe_gen_master_key' chap_ms.o: In function `ChallengeHash': chap_ms.o(.text+0x214): undefined reference to `SHA1_Init' chap_ms.o(.text+0x229): undefined reference to `SHA1_Update' chap_ms.o(.text+0x23e): undefined reference to `SHA1_Update' chap_ms.o(.text+0x263): undefined reference to `SHA1_Update' chap_ms.o(.text+0x276): undefined reference to `SHA1_Final' chap_ms.o: In function `ChapMS_v2': chap_ms.o(.text+0x302): undefined reference to `NtPasswordHash' chap_ms.o(.text+0x357): undefined reference to `mppe_gen_master_key_v2' chap_ms.o: In function `ChapMS_v2_Resp': chap_ms.o(.text+0x3a9): undefined reference to `NtPasswordHash' chap_ms.o(.text+0x408): undefined reference to `mppe_gen_master_key_v2' chap_ms.o: In function `ChapMS_v2_Auth': chap_ms.o(.text+0x446): undefined reference to `NtPasswordHash' chap_ms.o(.text+0x45b): undefined reference to `md4' chap_ms.o(.text+0x46d): undefined reference to `SHA1_Init' chap_ms.o(.text+0x485): undefined reference to `SHA1_Update' chap_ms.o(.text+0x4a3): undefined reference to `SHA1_Update' chap_ms.o(.text+0x4bc): undefined reference to `SHA1_Update' chap_ms.o(.text+0x4d5): undefined reference to `SHA1_Final' chap_ms.o(.text+0x505): undefined reference to `SHA1_Init' chap_ms.o(.text+0x520): undefined reference to `SHA1_Update' chap_ms.o(.text+0x538): undefined reference to `SHA1_Update' chap_ms.o(.text+0x551): undefined reference to `SHA1_Update' chap_ms.o(.text+0x56a): undefined reference to `SHA1_Final' collect2: ld returned 1 exit status make[2]: *** [pppd] Error 1 make[2]: Leaving directory `/usr/src/ppp/ppp-2.4.1.uus/pppd' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/src/ppp/ppp-2.4.1.uus' make: *** [build-stamp] Error 2 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- | This message was re-posted from debian-chinese-big5@lists.debian.org | and converted from big5 to gb2312 by an automatic gateway.