Hi all

I've got a problem when trying to use openwrt as a pptp client... the config should be basic but I have the error "sent [LCP TermReq id=0x2 "MPPE required but not available"]" even when the module is here.

I should add that this VPN server is working just fine with the basic VPN config on windows xp, and I see on the VPN concentrator that the encryption used for other active connection is RC4-128 Stateless and the Authentication Mode is MS-CHAP v2.

The log when I'm trying to connect is bellow :

/etc/ppp/peers# pppd call xxxxxxx debug dump nodetach
pppd options in effect:
debug           # (from command line)
nodetach                # (from command line)
idle 0          # (from /etc/ppp/options.pptp)
maxfail 0               # (from /etc/ppp/options.pptp)
dump            # (from command line)
name domain\\login         # (from /etc/ppp/peers/xxxxxxx)
remotename xxxxxxx              # (from /etc/ppp/peers/xxxxxxx)
                # (from /etc/ppp/options.pptp)
pty pptp vpn.xxxxxxx.fr --nolaunchpppd          # (from /etc/ppp/peers/xxxxxxx)
nocrtscts               # (from /etc/ppp/options)
noaccomp                # (from /etc/ppp/options)
nopcomp         # (from /etc/ppp/options)
nobsdcomp               # (from /etc/ppp/options.pptp)
nodeflate               # (from /etc/ppp/options.pptp)
mppe xxx # [don't know how to print value]              # (from /etc/ppp/options.pptp)
using channel 13
Using interface ppp0
Connect: ppp0 <--> /dev/pts/2
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xba7f1ea4>]
rcvd [LCP ConfReq id=0x0 <auth chap MS-v2>]
No auth is possible
sent [LCP ConfRej id=0x0 <auth chap MS-v2>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xba7f1ea4>]
rcvd [LCP ConfReq id=0x1]
sent [LCP ConfAck id=0x1]
MPPE required, but MS-CHAP[v2] auth not performed.
sent [LCP TermReq id=0x2 "MPPE required but not available"]
rcvd [LCP TermReq id=0x2]
sent [LCP TermAck id=0x2]
rcvd [LCP TermAck id=0x2 05 02 00 23 4d 50 50 45 20 72 65 71 75 69 72 65 64 20 62 75 74 20 6e 6f 74 20 61 76 61 69 6c 61 ...]
Connection terminated.
Waiting for 1 child processes...
  script pptp vpn.xxxxxxx.fr --nolaunchpppd, pid 8866
sending SIGTERM to process 8866

Here's the lsmod result :

root@OpenWrt:/etc/ppp/peers# lsmod 
Module                  Size  Used by    Tainted: P  
sha1                    7888   0 (unused)
arc4                     528   0 (unused)
ppp_mppe_mppc          13396   0 (unused)
wlcompat               14944   0 (unused)
ip_conntrack_tftp       1712   0 (unused)
ip_nat_irc              2336   0 (unused)
ip_conntrack_irc        3128   1
ip_nat_ftp              2960   0 (unused)
ip_conntrack_ftp        4272   1
tun                     4504   0 (unused)
ppp_async               7884   0
ppp_generic            22300   0 [ppp_mppe_mppc ppp_async]
slhc                    6064   0 [ppp_generic]
wl                    630776   0 (unused)
switch-robo             4540   0 (unused)
switch-core             4864   0 [switch-robo]
diag                   25520   0 (unused)

The config of my peer :

pty "pptp vpn.xxxxxxx.fr --nolaunchpppd"
mppe required,stateless,no40,no56
name domain\\login
remotename xxxxxxx
file /etc/ppp/options.pptp

...and the options.pptp :

lock 
#noauth 
nobsdcomp 
nodeflate
idle 0
#defaultroute
maxfail 0
mppe required,no40,no56

Then the /etc/ppp/option file :

root@OpenWrt:/etc/ppp# cat options
#debug
noaccomp
nopcomp
nocrtscts
lock
maxfail 0

Finally, bellow is the result of the command  ipkg list_installed :

root@OpenWrt:/etc/ppp# ipkg list_installed
base-files-brcm-2.4 - 10-9078 - 
bridge - 1.0.6-1 - 
busybox - 1.4.2-2 - 
dnsmasq - 2.39-1 - 
dropbear - 0.50-2 - 
haserl - 0.8.0-2 - 
iptables - 1.3.7-1 - 
kernel - 2.4.34-brcm-1 - 
kmod-brcm-wl - 2.4.34+4.80.53.0-1 - 
kmod-crypto - 2.4.34-brcm-1 - 
kmod-diag - 2+2.4.34-brcm-1 - 
kmod-ipt-nathelper - 2.4.34-brcm-1 - 
kmod-mppe - 2.4.34-brcm-1 - 
kmod-ppp - 2.4.34-brcm-1 - 
kmod-pppoe - 2.4.34-brcm-1 - 
kmod-switch - 2.4.34-brcm-1 - 
kmod-tun - 2.4.34-brcm-1 - 
kmod-wlcompat - 2.4.34+brcm-6 - 
libgcc - 3.4.6-10 - 
liblzo - 2.02-1 - 
libmatrixssl - 1.2.4-1 - 
libopenssl - 0.9.8e-1 - 
libpthread - 0.9.28-10 - 
matrixtunnel - 0.2-1 - 
mtd - 5 - 
nas - 4.80.53.0-1 - 
ntpclient - 2003_194-4 - 
nvram - 1 - 
ppp - 2.4.3-8 - 
ppp-mod-pppoe - 2.4.3-8 - 
pptp - 1.6.0-4 - 
uclibc - 0.9.28-10 - 
webif - 0.3-12 - 
wireless-tools - 29-1 - 
wlc - 4.80.53.0-1 - 
zlib - 1.2.3-4 - 
Done.

Can someone help me on this ? I really need this connection to be up sooner than latter ;-)