Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: lox on August 26, 2008, 05:37:09 AM

Title: Vpn connection with a pocket pc
Post by: lox on August 26, 2008, 05:37:09 AM
Hello,

I try to connect to my Windows Mobile 6.1 PPC but no success. Here are the logs:

Code: [Select]
Aug 26 14:23:53 smeserver pptpd[821]: CTRL: Client 202.87.141.8 control connection started
Aug 26 14:23:54 smeserver pptpd[821]: CTRL: Starting call (launching pppd, opening GRE)
Aug 26 14:23:54 smeserver pppd[823]: Plugin radius.so loaded.
Aug 26 14:23:54 smeserver pppd[823]: RADIUS plugin initialized.
Aug 26 14:23:54 smeserver pppd[823]: pppd 2.4.4 started by root, uid 0
Aug 26 14:23:54 smeserver pppd[823]: Using interface ppp0
Aug 26 14:23:54 smeserver pppd[823]: Connect: ppp0 <--> /dev/pts/1
Aug 26 14:23:54 smeserver kernel: divert: not allocating divert_blk for non-ethernet device ppp0
Aug 26 14:23:56 smeserver pptpd[821]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
Aug 26 14:23:57 smeserver pppd[823]: Refusing MPPE stateful mode offered by peer
Aug 26 14:23:57 smeserver pppd[823]: MPPE required but peer negotiation failed
Aug 26 14:23:57 smeserver pptpd[821]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
Aug 26 14:23:57 smeserver pppd[823]: Connection terminated.
Aug 26 14:23:57 smeserver pppd[823]: Connect time 0.1 minutes.
Aug 26 14:23:57 smeserver pppd[823]: Sent 10 bytes, received 10 bytes.
Aug 26 14:23:57 smeserver kernel: divert: no divert_blk to free, ppp0 not ethernet
Aug 26 14:23:57 smeserver pppd[823]: Exit.
Aug 26 14:23:57 smeserver pptpd[821]: GRE: read(fd=6,buffer=804e5a0,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
Aug 26 14:23:57 smeserver pptpd[821]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
Aug 26 14:23:57 smeserver pptpd[821]: CTRL: Reaping child PPP[823]
Aug 26 14:23:57 smeserver pptpd[821]: CTRL: Client 202.87.141.8 control connection finished


Any thought ?

Regards
Title: Re: Vpn connection with a pocket pc
Post by: lox on August 26, 2008, 09:12:02 AM
Found it:

Just edited /etc/ppp/options.pptpd

Added the line mppe-stateful after require-mppe-128

Commented out the nomppe-stateful option

It connects well but I can't access to any host inside the SME network...
Have to investigate more to be sure it is SME related.

Regards?