pptp in Debian

如果您覺得您的問題不屬於 debian desktop 或是 debian server 版的範圍內,請在這裡發問。

版主: mufa

pptp in Debian

文章訪客 » 週六 9月 14, 2002 11:26 pm

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
訪客
 

re:pptp in Debian

文章ronald » 週日 9月 15, 2002 1:13 pm

I have once read an article on such topic but on RH7.3
Pls check if it can help

Install and Config Secure VPN Gateway in Redhat 7.3
http://www.hkes.com/modules.php?name=Co ... age&pid=40
樂者為王 - just for fun
ronald
摩托學園!學園長們
摩托學園!學園長們
 
文章: 76
註冊時間: 週二 9月 03, 2002 11:48 am

re:pptp in Debian

文章訪客 » 週日 9月 15, 2002 3:13 pm

ronald 寫:I have once read an article on such topic but on RH7.3
Pls check if it can help

Install and Config Secure VPN Gateway in Redhat 7.3
http://www.hkes.com/modules.php?name=Co ... age&pid=40


我也看過這篇文章, 可惜他安裝的是已 patch 過的 ppp rpm.
但我 compile patch 過的 ppp deb package 時就有上述 error.

Anyway, thanks very much.
訪客
 

re:pptp in Debian

文章ronald » 週日 9月 15, 2002 8:08 pm

樂者為王 - just for fun
ronald
摩托學園!學園長們
摩托學園!學園長們
 
文章: 76
註冊時間: 週二 9月 03, 2002 11:48 am

re:pptp in Debian

文章~傲天~ » 週日 9月 15, 2002 11:52 pm

ronald 寫:One more reference links:
http://pptpclient.sourceforge.net/howto-debian.phtml


哈哈哈~~!!
太感謝你的幫忙啦 :lol:
我照著你所提供o既網址, 已經可以成功在 debian 上 setup 到 pptp gateway.

大恩大德, 沒齒難忘呀~~!!!
:wink:
~傲天~
可愛的小學生
可愛的小學生
 
文章: 16
註冊時間: 週日 9月 15, 2002 11:46 pm
來自: 悠閒小行星


回到 debian misc

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客