Have you enabled MPPE in the kernel ? Cheers, Davidm thanks,Davidm.yes,i have 
enable MPPE.i can see CONFIG_USER_PPPD_WITH_MPPE =y in the Makefile.
if i disable MPPE in the pppd of menuconfig,then it compile well and the 
error"des.h dose not exist " disppear.i don't know if the PPPd with mppe
in blackfin uclinux have been test.
 
> hi,
> I am doing pptpd on bf537 board.While i add mppe in pppd and cross compile 
> the kernel,it has errors that "des.h can't be found" and some parameters 
> undefined in the file extra_crypto.c .So i search des.h in the kernel,but 
> only a blank des.h in kernel lib and another des.h in openswan.
> I copy the openswan des.h to pppd and compile ok.But it seems that the pppd 
> dose not support mppe.
> While connect to the server and disable crypto in windows xp,it connect 
> ok.But when enable crypto and try to connect,it shows error "619"in xp.
> here is my messages: > <7>Apr 19 14:44:47 pppd[56]: rcvd [CHAP Response 
> id=0x1 <714f9ff501a72254f00380d > <7>Apr 19 14:44:47 pppd[56]: sent [CHAP 
> Success id=0x1 "S=D4461080C9B55BF6CC7826 > <7>Apr 19 14:44:47 pppd[56]: sent 
> [IPCP ConfReq id=0x1 <addr 192.168.1.126> <com > <7>Apr 19 14:44:47 pppd[56]: 
> sent [CCP ConfReq id=0x1] > <5>Apr 19 14:44:47 pppd[56]: MSCHAP-v2 peer 
> authentication succeeded for goon862 > <7>Apr 19 14:44:47 pppd[56]: rcvd [CCP 
> ConfReq id=0x5 <mppe 1 0 0 e1] > <7>Apr 19 14:44:47 pppd[56]: sent [CCP 
> ConfRej id=0x5 <mppe 1 0 0 40] > <7>Apr 19 14:44:47 pppd[56]: rcvd [IPCP 
> ConfReq id=0x6 <addr 0.0.0.0> <ms-dns1 0 > <7>Apr 19 14:44:47 pppd[56]: sent 
> [IPCP ConfRej id=0x6 <ms-dns1 0.0.0.0> <ms-win > <7>Apr 19 14:44:47 pppd[56]: 
> rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>] > <7>Apr 19 14:44:47 pppd[56]: 
> sent [IPCP ConfReq id=0x2 <addr 192.168.1.126>] > <7>Apr 19 14:44:47 
> pppd[56]: rcvd [CCP ConfNak id=0x1 <mppe 0 0 0 0] > <7>Apr 19 14:44:47 
> pppd[56]: sent [CCP ConfReq id=0x2] > <7>Apr 19 14:44:47 pppd[56]: rcvd [IPCP 
> ConfReq id=0x7 <addr 0.0.0.0>] > <7>Apr 19 14:44:47 pppd[56]: sent [IPCP 
> ConfNak id=0x7 <addr 192.168.1.20>] > <7>Apr 19 14:44:47 pppd[56]: rcvd [IPCP 
> ConfAck id=0x2 <addr 192.168.1.126>] > <7>Apr 19 14:44:47 pppd[56]: rcvd [CCP 
> ConfNak id=0x2 <mppe 0 0 0 0] > <7>Apr 19 14:44:47 pppd[56]: sent [CCP 
> ConfReq id=0x3] > <7>Apr 19 14:44:47 pppd[56]: rcvd [IPCP ConfReq id=0x8 
> <addr 192.168.1.20>] > <7>Apr 19 14:44:47 pppd[56]: sent [IPCP ConfAck id=0x8 
> <addr 192.168.1.20>] > <6>Apr 19 14:44:47 pppd[56]: found interface eth0 for 
> proxy arp > <5>Apr 19 14:44:47 pppd[56]: local IP address 192.168.1.126 > 
> <5>Apr 19 14:44:47 pppd[56]: remote IP address 192.168.1.20 > <5>Apr 19 
> 14:44:47 pppd[56]: remote IP address 192.168.1.20 > <7>Apr 19 14:44:47 
> pppd[56]: rcvd [CCP ConfNak id=0x3 <mppe 0 0 0 0] > <7>Apr 19 14:44:47 
> pppd[56]: sent [CCP ConfReq id=0x4] > <7>Apr 19 14:44:48 pppd[56]: rcvd [CCP 
> ConfNak id=0x4 <mppe 0 0 0 0] > <7>Apr 19 14:44:48 pppd[56]: sent [CCP 
> ConfReq id=0x5] > <7>Apr 19 14:44:48 pppd[56]: rcvd [CCP ConfNak id=0x5 <mppe 
> 0 0 0 0] > <7>Apr 19 14:44:48 pppd[56]: sent [CCP ConfReq id=0x6] > <7>Apr 19 
> 14:44:48 pppd[56]: rcvd [CCP ConfNak id=0x6 <mppe 0 0 0 0] > <7>Apr 19 
> 14:44:48 pppd[56]: sent [CCP ConfReq id=0x7] > <7>Apr 19 14:44:48 pppd[56]: 
> rcvd [CCP ConfNak id=0x7 <mppe 0 0 0 0] > <7>Apr 19 14:44:48 pppd[56]: sent 
> [CCP ConfReq id=0x8] > <7>Apr 19 14:44:48 pppd[56]: rcvd [CCP ConfNak id=0x8 
> <mppe 0 0 0 0] > <7>Apr 19 14:44:48 pppd[56]: sent [CCP ConfReq id=0x9] > 
> <7>Apr 19 14:44:48 pppd[56]: rcvd [CCP ConfNak id=0x9 <mppe 0 0 0 0] > <7>Apr 
> 19 14:44:48 pppd[56]: sent [CCP ConfReq id=0xa] > <7>Apr 19 14:44:48 
> pppd[56]: rcvd [CCP ConfNak id=0xa <mppe 0 0 0 0] > <7>Apr 19 14:44:48 
> pppd[56]: sent [CCP ConfReq id=0xb] > cross compile my kernel as follow: > 
> Cryptographic options > --- Cryptographic API > │ │ [*] HMAC support > │ │ 
> <*> Null algorithms > │ │ <*> MD4 digest algorithm > │ │ <*> MD5 digest 
> algorithm > │ │ <M> SHA1 digest algorithm > │ │ <*> SHA256 digest algorithm > 
> │ │ <*> SHA384 and SHA512 digest algorithms > │ │ <*> Whirlpool digest 
> algorithms > │ │ <*> Tiger digest algorithms > │ │ <*> DES and Triple DES EDE 
> cipher algorithms > │ │ <*> Blowfish cipher algorithm > │ │ <*> Twofish 
> cipher algorithm > │ │ <*> Serpent cipher algorithm > │ │ <*> AES cipher 
> algorithms > │ │ <*> CAST5 (CAST-128) cipher algorithm > │ │ <*> CAST6 
> (CAST-256) cipher algorithm > │ │ <*> TEA, XTEA and XETA cipher algorithms > 
> │ │ <M> ARC4 cipher algorithm > │ │ <*> Khazad cipher algorithm > │ │ <*> 
> Anubis cipher algorithm > │ │ <*> Deflate compression algorithm > │ │ <*> 
> Michael MIC keyed digest algorithm > │ │ <*> CRC32c CRC algorithm > │ │ < > 
> Testing module > │ │ Hardware crypto devices ---> > Network device support > 
> │ │ <*> PPP (point-to-point protocol) support > │ │ <*> PPP multilink support 
> (EXPERIMENTAL) > │ │ <*> PPP filtering > │ │ <*> PPP support for async serial 
> ports > │ │ <*> PPP support for sync tty ports > │ │ <*> PPP Deflate 
> compression > │ │ <*> PPP BSD-Compress compression > │ │ <*> PPP MPPE 
> compression (encryption) (EXPERIMENTAL) > │ │ <*> PPP over Ethernet 
> (EXPERIMENTAL) > Network Applications > │ │ <*> portmap > │ │ <*> pppd > │ │ 
> <*> enable MPPE > │ │ [ ] enable PPPOE > │ │ [ ] enable PPPOA > │ │ [ ] 
> disable redirection of passwords starting > │ │ <*> pptpctrl > │ │ <*> pptpd 
> > │ │ [ ] pptp > │ │ [ ] pptp_callmgr > Library Configuration > │ │ [ ] Build 
> libAES > │ │ [*] Build libDES > │ │ [*] Build libSSL > │ │ [ ] Build libGMP > 
> # root:~> lsmod > Module Size Used by > sha1 1868 0 - Live 0x02d42000 > arc4 
> 1288 0 - Live 0x00312800 > ppp_mppe 5892 0 - Live 0x02d26000 > options.pptpd: 
> > lock > debug > chap-secrets > name pptpd > auth > require-chap > proxyarp > 
> +chapms-v2 > mppe-128 > mppe-stateless > pptpd.conf: > speed 115200 > 
> stimeout 10 > localip 192.168.1.126-130 > remoteip 192.168.1.200-230 > will 
> you please tell me how to solve the problem? > thanks very much! > 
> _______________________________________________ > uClinux-dev mailing list > 
> [email protected] > 
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev > This message was 
> resent by [email protected] > To unsubscribe see: > 
> http://mailman.uclinux.org/mailman/options/uclinux-dev -- David McCullough, 
> [EMAIL PROTECTED], Ph:+61 734352815 Secure Computing - SnapGear 
> http://www.uCdot.org http://www.cyberguard.com 
> _______________________________________________ uClinux-dev mailing list 
> [email protected] 
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was 
> resent by [email protected] To unsubscribe see: 
> http://mailman.uclinux.org/mailman/options/uclinux-dev
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to