[Pkg-utopia-maintainers] Bug#489802: cannot start vpn from commandline via network-manager
Folkert van Heusden
folkert at vanheusden.com
Mon Jul 7 20:30:22 UTC 2008
Package: network-manager
Version: 0.6.6-2
Severity: normal
cannot start vpn from commandline via network-manager
I've got a vpn configured in network-manager. I can successfully start
it from the network-manager gui.
Now I would like to have it automatically started as soon as
/etc/network/if-up.d/somescript is started.
So what I do from that script is:
su - folkert -c '/usr/local/sbin/NetworkManager.startvpn keetweej.vanheusden.com'
where the /usr/local/sbin/NetworkManager.startvpn is just a python
script that does:
interface.activateVPNConnection() etc. (if you're interested, the script
can be found here: http://blog.mithis.net/archives/ideas/51-nm-autovpn )
Now from what the comments tell me it only works with gutsy, not with
feisty ubuntu. Now I checked but gutsy has an older network-manager than
debian testing. Maybe some patch in ubuntu fixed it? I skimmed through
their patch-list but could not find a relevant vpn-related fix.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.25-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages network-manager depends on:
ii adduser 3.108 add and remove users and groups
ii dbus 1.2.1-2 simple interprocess messaging syst
ii dhcdbd 3.0-4 D-Bus interface to the ISC DHCP cl
ii hal 0.5.11-2 Hardware Abstraction Layer
ii ifupdown 0.6.8+nmu1 high level tools to configure netw
ii iproute 20080417-1 networking and traffic control too
ii libc6 2.7-10 GNU C Library: Shared libraries
ii libdbus-1-3 1.2.1-2 simple interprocess messaging syst
ii libdbus-glib-1-2 0.76-1 simple interprocess messaging syst
ii libgcrypt11 1.4.1-1 LGPL Crypto library - runtime libr
ii libglib2.0-0 2.16.3-2 The GLib library of C routines
ii libgpg-error0 1.4-2 library for common error values an
ii libhal1 0.5.11-2 Hardware Abstraction Layer - share
ii libiw29 29-1 Wireless tools - library
ii libnl1 1.1-2 library for dealing with netlink s
ii libnm-util0 0.6.6-1 network management framework (shar
ii lsb-base 3.2-12 Linux Standard Base 3.2 init scrip
ii wpasupplicant 0.6.3-2 Client support for WPA and WPA2 (I
Versions of packages network-manager recommends:
ii network-manager-gnome 0.6.6-2 network management framework (GNOM
-- no debconf information
More information about the Pkg-utopia-maintainers
mailing list