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
Ubuntu – Vpn connection breaks with hint “short read (-1): Message too long”
network-managernetworkingvpn
Best Answer
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.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