You need CONFIG_PPP_MPPE=y in your kernel config as well, Cheers, Davidm thanks 
very much ,Davidm.your answer will be appreciated.yes,i can see 
CONFIG_PPP_MPPE=y in .config too.But it still can't work .I asked questions in 
blackfin.uclinux forum with the 
url:http://blackfin.uclinux.org/gf/project/uclinux-dist/forum/?action=ForumBrowse&forum_id=39&_forum_thread_total_items=50&_forum_thread_page=2&_forum_action=ForumMessageBrowse&thread_id=8005
 ,and got the answer that the mppe was not tested in blackfin uclinux 
before.But someone said he was successful.So could you please tell me the steps 
how to enable mppe?i think maybe i miss some steps.Thanks very much!  hi,
I am doing pptpd on bf537 board.While i add mppe in pppd and cross compile,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 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     
  │ │ <M>   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

Reply via email to