Not possible to set fragment size

Bug #506010 reported by Adam Lindberg
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
network-manager-openvpn (Ubuntu)
Fix Released
Undecided
Stephan Rügamer

Bug Description

Binary package hint: network-manager-openvpn

It is not possible to set the fragment size of an OpenVPN connection in Network Manager with the openvpn plugin. I'm unable to connect to VPN networks with custom fragment sizes correctly. I can connect to them and get an IP address but not ping any other IP.

ProblemType: Bug
Architecture: amd64
Date: Mon Jan 11 18:10:58 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
NonfreeKernelModules: nvidia
Package: network-manager-openvpn 0.8~a~git.20091008t123607.7c184a9-0ubuntu1
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-16.53-generic
SourcePackage: network-manager-openvpn
Uname: Linux 2.6.31-16-generic x86_64

Revision history for this message
Adam Lindberg (eproxus) wrote :
Revision history for this message
Daniel Bertolo (daniel-bertolo) wrote :

I just wrote a patch to support the fragment option. It works with Ubuntu 10.04.

Revision history for this message
Simon Leinen (simon-leinen) wrote :

I tested Dani's patch and found it to apply (to the result of "apt-get source network-manager-openvpn" on 10.04) and work fine. It finally allows me to connect to our common company's OpenVPN server using network-manager.
--
Simon.

Revision history for this message
Adam Lindberg (eproxus) wrote :

Cool! I'll try to remember it when I install the 10.4 final release. Thanks!

Revision history for this message
Simon Leinen (simon-leinen) wrote :

Dani also has a version of the patch that works with Ubuntu 9.10 - maybe he can post it here... it would certainly be nice to have more people test it.

Revision history for this message
Adam Lindberg (eproxus) wrote :

That would be awesome, as I'm using openvpn to connect to my corporate network right now. I would need instructions of how to install it as well, though.

Revision history for this message
Daniel Bertolo (daniel-bertolo) wrote :

This is the patch for Ubuntu 9.10. To apply the patch, do as follows:

- apt-get source network-manager-openvpn
- cd network-manager-openvpn-0.8.... (don't remember the long version number)
- patch -d . -p1 ../fragment-9.10.patch
- aclocal
- ./autogen.sh --prefix=/usr --libexecdir=/usr/lib/NetworkManager --sysconfdir=/etc --localstatedir=/var
- make
- sudo make install
- sudo service network-manager restart

--
Dani

Revision history for this message
Adam Lindberg (eproxus) wrote :

The patch command didn't work. It just hanged after the command was started.

Revision history for this message
Daniel Bertolo (daniel-bertolo) wrote :

Sorry, the patch command should read:

patch -d . -p1 < ../fragment-9.10.patch

Revision history for this message
Daniel Bertolo (daniel-bertolo) wrote :

And don't forget to apply the debian patch as well (in the source directory):

patch -d . -p1 < debian/patches/nm-openvpn-service.name.patch

Revision history for this message
Adam Lindberg (eproxus) wrote :

I get the following error:

alind@kaze:~/...n-0.8~a~git.20091008t123607.7c184a9$ ./autogen.sh --prefix=/usr --libexecdir=/usr/lib/NetworkManager --sysconfdir=/etc --localstatedir=/var
Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 190.
Use of uninitialized value $libtoolize in pattern match (m//) at /usr/bin/autoreconf line 190.
configure.ac:17: error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1

tags: added: patch
Revision history for this message
Stephan Rügamer (sruegamer) wrote :

will take care about it

Changed in network-manager-openvpn (Ubuntu):
assignee: nobody → Stephan Hermann (shermann)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package network-manager-openvpn - 0.8~rc1-0ubuntu3

---------------
network-manager-openvpn (0.8~rc1-0ubuntu3) lucid; urgency=low

  * debian/patches/nm-openvpn-fragment.patch: (LP: #506010)
    Adds the possibility to set the fragment size, which is
    needed to connect to some VPN networks with custom fragment
    sizes. (Gnome UI)
    Patch supplied by Daniel Bertolo <email address hidden>
 -- Stephan Hermann <email address hidden> Wed, 17 Feb 2010 16:41:03 +0000

Changed in network-manager-openvpn (Ubuntu):
status: New → Fix Released
Revision history for this message
kolya (mar-kolya) wrote :

Looks like this patch has been removed from final 0.8. Is there any walk around for this problem?
Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.