4

I have duall access l2tp connection to internet through router and pptp connection to my company's local network. Network Manager connects succesfully to vpn, but when I try to get some resources from company's network(for examle, clone git repository or connect to jira's dashboard), vpn connection breaks up with message(from syslog):
short read (-1): Message too long
whereas connection to moinmoin wiki causing no errors.
Ubuntu version: 12.10

1 Answer 1

2

Usually this issue happens because of high MTU(Maximum Transmission Unit) value. So the fix is to Change the MTU value in the NetworkManager.

Open System Settings -> Network

Under "Wired" select options and change the MTU to some lower value

Alternate way to change this settings is by editing the /etc/network/interfaces and add the line MTU value.

mtu some_value_here

Now restart the networking /etc/init.d/networking restart

To check the current MTU value use the command /sbin/ifconfig and look MTU in eth0

3
  • maybe I should check MTU in wlan0, because i'm using connecting through wifi?
    – user289409
    Dec 3, 2012 at 8:53
  • 1
    This worked for me. Before it was on automatic (I guess this is something around 1500). After setting it to 1000, my connection was stable.
    – panmari
    Feb 25, 2016 at 12:18
  • The same as @panmari. It was automatic and 1000 solved the problem.
    – tomrozb
    Jul 21, 2016 at 22:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .