Hi,

I try to use openwrt as pptp client but I get an "GRE: Message too long"
error after same minutes.
I tryed to reduce the MTU and MRU but that change nothing.

If I use my Debian laptop as client all work fine.
As server I have also a Debian.

Dose anyone know the problem?

Thanks,
Mario.

>> Server syslog
Oct 18 14:29:35 srv05 pptpd[539087]: GRE: accepting packet #399
Oct 18 14:29:35 srv05 pptpd[539087]: GRE: accepting packet #400
Oct 18 14:29:35 srv05 pptpd[539087]: GRE: accepting packet #401
Oct 18 14:29:35 srv05 pptpd[539087]: GRE: 
read(fd=8,buffer=7fb31542f460,len=8260) from network failed: status = -1 error 
= Message too long
Oct 18 14:29:35 srv05 pptpd[539087]: CTRL: GRE read or PTY write failed 
(gre,pty)=(8,7)
Oct 18 14:29:35 srv05 pptpd[539087]: CTRL: Reaping child PPP[539108]
Oct 18 14:29:35 srv05 pppd[539108]: Hangup (SIGHUP)
Oct 18 14:29:35 srv05 pppd[539108]: Modem hangup
Oct 18 14:29:35 srv05 pppd[539108]: Connect time 1.2 minutes.
Oct 18 14:29:35 srv05 pppd[539108]: Sent 43350 bytes, received 21656 bytes.
Oct 18 14:29:35 srv05 pppd[539108]: Connection terminated.
Oct 18 14:29:35 srv05 pppd[539108]: Exit.
Oct 18 14:29:35 srv05 pptpd[539087]: CTRL: Client 92.xxx.xxx.136 control 
connection finished
Oct 18 14:29:35 srv05 pptpd[539087]: CTRL: Exiting now
Oct 18 14:29:35 srv05 pptpd[538864]: MGR: Reaped child 539087
Oct 18 14:29:37 srv05 ntpd[2555]: Deleting interface #94 ppp0, 192.168.0.1#123, 
interface stats: received=0, sent=0, dropped=0, active_time=69 secs
Oct 18 14:29:37 srv05 ntpd[2555]: peers refreshed


>> OpenWRT PPP-log
Received bad configure-rej:  12 06 00 00 00 00
sent [CCP ConfReq id=0x3 <mppe -H -M -S -L -D -C>]
rcvd [CCP ConfReq id=0x2]
sent [CCP ConfAck id=0x2]
rcvd [CCP ConfRej id=0x3 <mppe -H -M -S -L -D -C>]
Received bad configure-rej:  12 06 00 00 00 00
rcvd [CCP ConfReq id=0x2]
sent [CCP ConfAck id=0x2]
sent [CCP ConfReq id=0x3 <mppe -H -M -S -L -D -C>]
rcvd [CCP ConfRej id=0x3 <mppe -H -M -S -L -D -C>]
Received bad configure-rej:  12 06 00 00 00 00
read returned zero, peer has closed
Closing connection (shutdown)
Sent control packet type is 12 'Call-Clear-Request'
read returned zero, peer has closed
Closing connection (call state)
sent [CCP ConfReq id=0x3 <mppe -H -M -S -L -D -C>]
No response to 5 echo-requests
Serial link appears to be disconnected.
Connect time 1.3 minutes.
Sent 23353 bytes, received 40430 bytes.
Script /lib/netifd/ppp-down started (pid 10092)
sent [LCP TermReq id=0x2 "Peer not responding"]
Script /lib/netifd/ppp-down finished (pid 10092), status = 0x1
sent [LCP TermReq id=0x3 "Peer not responding"]
Connection terminated.
Modem hangup
Terminating on signal 15






root@OpenWrt:/etc/ppp# uci show network.srv05
network.srv05=interface
network.srv05.proto=pptp
network.srv05.server=srv05.xxxxxx.de
network.srv05.password=xxxxxxx
network.srv05.username=xxxxxxx

root@OpenWrt:/etc/ppp# cat options.pptp 
noipdefault
noauth
nobsdcomp
nodeflate
idle 0
#mppe required,no40,no56,stateless
maxfail 5
mtu 500
mru 500

root@OpenWrt:/etc/ppp# cat options
debug
logfile /tmp/ppp
noipdefault
noaccomp
nopcomp
nocrtscts
lock
maxfail 0
lcp-echo-failure 5
lcp-echo-interval 1

root@OpenWrt:/etc/ppp# uname -a
Linux OpenWrt 3.10.49 #3 Wed Oct 1 14:00:51 CEST 2014 mips GNU/Linux

root@OpenWrt:/etc/ppp# cat /etc/openwrt_release 
DISTRIB_ID="OpenWrt"
DISTRIB_RELEASE="14.07"
DISTRIB_REVISION="r42625"
DISTRIB_CODENAME="barrier_breaker"
DISTRIB_TARGET="ar71xx/generic"
DISTRIB_DESCRIPTION="OpenWrt Barrier Breaker 14.07"
DISTRIB_TAINTS=""





root@srv05 /etc/ppp # egrep -v "^$|^#" options 
asyncmap 0
auth
crtscts
lock
hide-password  
modem
lcp-echo-interval 30
lcp-echo-failure 4
noipx

root@srv05 /etc/ppp # egrep -v "^$|^#" pptpd-options 
name pptpd
refuse-pap
ms-dns 8.8.8.8
ms-dns 8.8.4.4
proxyarp
nodefaultroute
lock
nobsdcomp
noipx
mtu 1490
mru 1490

root@srv05 /etc/ppp # egrep -v "^$|^#" /etc/pptpd.conf 
option /etc/ppp/pptpd-options
debug
logwtmp
localip 192.168.0.1
remoteip 192.168.0.100-250

root@srv05 /etc/ppp # pptpd --version
pptpd v1.3.4

root@srv05 /etc/ppp # uname -a
Linux srv05.xxxxxxx.de 2.6.32-33-pve #1 SMP Fri Sep 26 08:02:30 CEST 2014 
x86_64 GNU/Linux
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to