Koozali.org: home of the SME Server

PPTP failing after any traffic.

Offline Drifting

  • *****
  • 431
  • +0/-0
PPTP failing after any traffic.
« on: February 17, 2012, 12:47:46 PM »
SME8 all latest updates.

I have setup connection over pptp from my Mac to this particular SME8 test server. I can connect and authenticate fine.

However when I seem to transfer any data, the connection drops? Did manage to look in messages, but not really sure what the implications of the log message, or even for that matter whether it pertians to the problem.

Any advice most welcome:- Log below

Feb 17 11:33:43 sme esmith::event[10488]: Running event handler: /etc/e-smith/events/ip-up.pptpd/S70pptp-interface-access
Feb 17 11:33:43 sme /etc/e-smith/events/ip-up.pptpd/S70pptp-interface-access[10490]: /home/e-smith/db/configuration: OLD pptpd=service|TCPPort|1723|access|public|sessions|3|status|enabled
Feb 17 11:33:43 sme /etc/e-smith/events/ip-up.pptpd/S70pptp-interface-access[10490]: /home/e-smith/db/configuration: NEW pptpd=service|Interfaces|ppp0|TCPPort|1723|access|public|sessions|3|status|enabled
Feb 17 11:33:43 sme esmith::event[10488]: S70pptp-interface-access=action|Event|ip-up.pptpd|Action|S70pptp-interface-access|Start|1329478423 31719|End|1329478423 141836|Elapsed|0.110117
Feb 17 11:33:43 sme esmith::event[10488]: Running event handler: /etc/e-smith/events/actions/adjust-services
Feb 17 11:33:43 sme esmith::event[10488]: adjusting non-supervised masq (adjust) 
Feb 17 11:33:43 sme esmith::event[10488]: adjust-services=action|Event|ip-up.pptpd|Action|adjust-services|Start|1329478423 142156|End|1329478423 500760|Elapsed|0.358604
Feb 17 11:39:24 sme pptpd[10419]: GRE: read(fd=7,buffer=80515e0,len=8260) from network failed: status = -1 error = Message too long
Feb 17 11:39:24 sme pptpd[10419]: CTRL: GRE read or PTY write failed (gre,pty)=(7,6)
Feb 17 11:39:24 sme pptpd[10419]: CTRL: Reaping child PPP[10420]
Feb 17 11:39:24 sme pppd[10420]: Modem hangup
Feb 17 11:39:24 sme pppd[10420]: Connect time 5.7 minutes.

Regards Paul
Infamy, Infamy, they all have it in for me!

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: PPTP failing after any traffic.
« Reply #1 on: February 17, 2012, 01:10:24 PM »
I've found something similar but very old:

http://permalink.gmane.org/gmane.network.poptop/1188

looks like you've to play with MTU/MRU, but I'm not an expert

Offline Drifting

  • *****
  • 431
  • +0/-0
Re: PPTP failing after any traffic.
« Reply #2 on: February 17, 2012, 01:20:25 PM »
Thanks for the reply Stefano

And yes, I see what you mean. Did a little reading up from other Linux OS's with the same problem, and really posted here for MSE8 specific questions,and they all suggest changing the MTU. However, I can connect fine to lots of other SME 7.5's fine, so wonder what and where sets the MTU on the SME8 Server?

Regards Paul
Infamy, Infamy, they all have it in for me!

Offline byte

  • *
  • 2,183
  • +2/-0
Re: PPTP failing after any traffic.
« Reply #3 on: March 07, 2012, 12:21:51 PM »
However, I can connect fine to lots of other SME 7.5's fine, so wonder what and where sets the MTU on the SME8 Server?

This should get you heading in the right direction ;)

http://bugs.contribs.org/show_bug.cgi?id=549

Disabled by default, but if you need to change values:

db configuration setprop pptpd mru xxxx
db configuration setprop pptpd mtu xxxx
signal-event remoteaccess-update
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: PPTP failing after any traffic.
« Reply #4 on: March 07, 2012, 04:42:11 PM »
This should get you heading in the right direction ;)

http://bugs.contribs.org/show_bug.cgi?id=549

Disabled by default, but if you need to change values:

That's only a workaround. See detailed comments in the bug as to what needs to be fixed for a proper solution.

Offline Drifting

  • *****
  • 431
  • +0/-0
Re: PPTP failing after any traffic.
« Reply #5 on: March 14, 2012, 11:52:47 AM »
Thank you both so much for the information. All working like a dream now.

Thank you
Infamy, Infamy, they all have it in for me!