[Bug 475814] Re: vpnc will only connect successfully on first try per session

2010-12-11 Thread Launchpad Bug Tracker
[Expired for network-manager-vpnc (Ubuntu) because there has been no
activity for 60 days.]

** Changed in: network-manager-vpnc (Ubuntu)
   Status: Incomplete = Expired

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/475814

Title:
  vpnc will only connect successfully on first try per session

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 475814] Re: vpnc will only connect successfully on first try per session

2010-02-17 Thread rulitz
Been researching this issue for a day and a half now.

I was having exact problem described above.  nm-vpnc would connect only
one timerestarting nm-applet allows reconnect.

I just wanted to confirm that upgrading network-manager  network-
manager-vpnc to 0.8~rc4~git from trunk resolved it for me.

Thanks Mathieu.

Now if I could get vpnc to stop dropping the connection every 5min I
would be golden.

-- 
vpnc will only connect successfully on first try per session
https://bugs.launchpad.net/bugs/475814
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 475814] Re: vpnc will only connect successfully on first try per session

2009-12-10 Thread Per Baekgaard
@Matt, is there anything that we could still do to help triage this
issue?

Would you recommend that I e.g. try building from the source and start
adding more debug statements, to better pinpoint the area that causes
the failure?

Thanks for your willingness to help, btw!

-- Per.

-- 
vpnc will only connect successfully on first try per session
https://bugs.launchpad.net/bugs/475814
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 475814] Re: vpnc will only connect successfully on first try per session

2009-12-10 Thread Matt Trudel
Per,

Instead of building it from source, you could try the packages from the
Network-Manager trunk PPA, here: https://edge.launchpad.net/~network-
manager/+archive/trunk

You could try to use the NM_VPNC_DUMP_CONNECTION=1 parameter when
starting NetworkManager with the updated versions from the PPA, as such:

sudo NM_VPNC_DUMP_CONNECTION=1 /usr/sbin/NetworkManager --no-daemon

This will give you additional information on the VPN connection. You
could attach the information here, but if you do you should first make
sure that you look at the resulting output very carefully as it displays
a lot of potentially sensitive information.

I'm quite unsure where to go from here, as there is no way I am able to
reproduce the problem here. I will ask Alexander to see if he has an
idea :)

-- 
vpnc will only connect successfully on first try per session
https://bugs.launchpad.net/bugs/475814
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 475814] Re: vpnc will only connect successfully on first try per session

2009-11-28 Thread pat.pannuto
I replied to the bug email with this last night, but it looks like it
didn't post - not sure why - sorry for the delay:

I haven't been consistently tracking the vpn'd IP, tried it now:

First
   wlan0 192.168.2.101
   tun0   141.211.4.17

Second
   wlan0 192.168.2.101
   tun0   141.211.4.17

This is connecting to the University of Michigan's campus network ( vpn
profiles available here:
http://www.itcom.itcs.umich.edu/vpn/software/linux.html ); it's kerberos
on the backend, so it's the same password every time.

-- 
vpnc will only connect successfully on first try per session
https://bugs.launchpad.net/bugs/475814
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 475814] Re: vpnc will only connect successfully on first try per session

2009-11-26 Thread Matt Trudel
@Per,

Sorry it took so long for me to get back to you on this: the log you
attached is actually missing something important I wanted to see, I'm
assuming I wasn't really clear :)

What I'd like to know, is whether you have the same IP address from DHCP
for your wireless connection between two instances of nm-applet: the
first time you start nm-applet and a successfully vpn connection, and
then after you've restarted nm-applet and tried to establish a
connection again and it succeeded. No need to attach a new syslog
excerpt (so you don't have to re-do trimming and anonymizing and such),
but please confirm that it's the same IP address for the wifi connection
for both instances of nm-applet.

I've tried again on my newly reinstalled x86_64 system, with both wifi
and wired and I am totally unable to reproduce the problem, with various
different attempts at causing a failure.

-- 
vpnc will only connect successfully on first try per session
https://bugs.launchpad.net/bugs/475814
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 475814] Re: vpnc will only connect successfully on first try per session

2009-11-26 Thread pat.pannuto
@Matt / @Per

I'm assuming I can answer this as well.  The IP address doesn't change,
and I don't think this is the problem, there are several AP's available
at my locations, hereby AP1 and AP2:

[Scenario 1]
Connect to AP1  (192.168.1.105)
Connect VPN (success)
Disconnect VPN
Connect VPN (fails)
   sudo killall NetworkManager  -- nm auto-restarts
Connects to AP1 (192.168.1.105)
Connect VPN (success)

[Scenario 2]
Connect to AP1  (192.168.1.105)
Connect VPN (success)
Disconnect VPN
Disconnect Wifi
Connect to AP2  (141.213.114.155)
Connect VPN (fails)
   sudo killall NetworkManager  -- nm auto-restarts
Connects to AP2 (141.213.114.155)
Connect VPN (success)


I have played with pretty much every mix of AP1 and AP2 I can think of, as well 
as mixing in suspend/resume cycles; the answer is fairly simple.  Once NM has 
connected the VPN once, it will not connect successfully again under any set of 
circumstances until NM has been restarted.

I will also note that my VPN passwords are saved in the keyring, looking
at the credentials via NM editor or seahorse shows that they are present
/ accurate for both successful and unsuccessful attempts.

-- 
vpnc will only connect successfully on first try per session
https://bugs.launchpad.net/bugs/475814
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 475814] Re: vpnc will only connect successfully on first try per session

2009-11-26 Thread Per Baekgaard
@Matt, @Pat,

Similar stuff happening here with me when it comes to the WLAN address.
However, the tun0 address changes (I am connecting to a large company
net here, so even if I'm quick, there are probably 10+ other people
getting in there between my attempts).

So to be clear, here is a table of my IP addresses in the first attempt
and the second attempt (after having killed and restarted nm-applet).

First
   wlan0  10.0.0.41 (my local net)
   tun0   10.x.y.153 (company net)

Second
   wlan0  10.0.0.41 (my local net, unchanged)
   tun0   10.x.y.132 (company net, new address)

So it appears that the local address remains unchanged (as expected --
the DHCP lease doesn't even expire) and the tunnel address changes from
invocation to invocation.

Pls note that the password also changes between invocations (using a RSA
based SecurID system here), so any possible bugs/problems with the
keyring and sending the right password (the one I type in and not the
previous one) could also create an issue -- although it fails so quickly
after the connect that I'm kind of wondering if the server would even
have time to verify the password...

@Pat, is this similar for you or are you using the same password(s) each
time?

I have also set up another machine recently from scratch, and installed
an OpenVPN configuration on that, plus set up the OpenVPN server it
connects to. That works very well, no problems whatsoever; it connects
and reconnects as needed. I set it up initially in router mode (tun) and
changed it later to bridge mode (tap) and both work well. Unfortunately
that is not a company related PC (and was done for another person on his
PC), so I cannot install the Cisco client on that and try to reproduce
on that machine.

-- 
vpnc will only connect successfully on first try per session
https://bugs.launchpad.net/bugs/475814
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 475814] Re: vpnc will only connect successfully on first try per session

2009-11-21 Thread Mathijs Dumon
Hi everyone,

I have the same issue, but only when I set my vpn connection to be
Available to all users. The first time I connect it works fine, if I
then disconnect, or the connection is dropped by the VPN server, I
cannot reconnect. The error nm-applet gives me:

** (nm-applet:4357): WARNING **: _nm_object_get_property: Error getting 
'Devices' for /org/freedesktop/NetworkManager/ActiveConnection/8: Method Get 
with signature ss on interface org.freedesktop.DBus.Properties doesn't exist
** (nm-applet:4357): WARNING **: _nm_object_get_property: Error getting 
'Devices' for /org/freedesktop/NetworkManager/ActiveConnection/8: Method Get 
with signature ss on interface org.freedesktop.DBus.Properties doesn't exist
** (nm-applet:4357): WARNING **: _nm_object_get_property: Error getting 
'ServiceName' for /org/freedesktop/NetworkManager/ActiveConnection/8: Method 
Get with signature ss on interface org.freedesktop.DBus.Properties 
doesn't exist
** (nm-applet:4357): CRITICAL **: applet_get_connection_for_active: assertion 
`scope != NM_CONNECTION_SCOPE_UNKNOWN' failed

So it seems as if nm-applet is unaware that the connection is dropped
and is looking for a non-existing one which causes a crash in nm-applet.
Restarting network-manager solves this issue, restarting nm-applet does
not solve the issue. So somehow nm-applet gets (wrong) information from
network-manager about a non-existing vpn connection.

-- 
vpnc will only connect successfully on first try per session
https://bugs.launchpad.net/bugs/475814
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 475814] Re: vpnc will only connect successfully on first try per session

2009-11-21 Thread Per Baekgaard
I don't have the Available to all users set, so that doesn't seem to
be the main problem here with me.

-- 
vpnc will only connect successfully on first try per session
https://bugs.launchpad.net/bugs/475814
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 475814] Re: vpnc will only connect successfully on first try per session

2009-11-19 Thread Per Baekgaard
Forgot to add:

@Matt, @Lando: My passwords and usernames (those that are not empty) do
not disappear in the dialog. The dialog box looks the same first time
and 2nd time.

-- 
vpnc will only connect successfully on first try per session
https://bugs.launchpad.net/bugs/475814
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 475814] Re: vpnc will only connect successfully on first try per session

2009-11-18 Thread Per Baekgaard
@Matt,

Pls find attached a logfile (tail -f /var/log/daemon.log|tee nm-
applet.log).

The log is slightly trimmed and anonymized (hence the ***'s).

It starts @23:05:33 when I start up the nm-applet anew. It had failed
before this, so it is just a clean restart after a kill.

@23:06:00 I start to do a connection to the VPN service (and still have
to enter my SecurID code manually, which I'm done with @23:06:17).

@23:07:13 I think I try to stop the VPN service again (via nm-applet,
obviously).

@23:08:53, I try to reconnect; it ask me again for my (new) SecurID but
it then fails @23:09:03. The previous try had some comments on setting
up the tun0 tunnel device here... compare line 102 with line 142.

@23:09:32, I kill the nm-applet again.

Repeating the cycle will produce a similar pattern.

Note: I have gateway, group name and group password defined. I don't
have any username or domain defined, and the user password (which is
where I enter my SecurID #) is set to Always Ask (which it always does).

** Attachment added: nm-applet log file
   http://launchpadlibrarian.net/35836674/nm-applet.log

-- 
vpnc will only connect successfully on first try per session
https://bugs.launchpad.net/bugs/475814
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 475814] Re: vpnc will only connect successfully on first try per session

2009-11-18 Thread Lando Nachtmann
I doubt that the problem is 64bit-specific. I experience the same
problem on a Asus eeePC 901. Karmic netbook remix i386, fresh install.
Hadn't had the problem with Jaunty, though.

-- 
vpnc will only connect successfully on first try per session
https://bugs.launchpad.net/bugs/475814
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 475814] Re: vpnc will only connect successfully on first try per session

2009-11-18 Thread Matt Trudel
@Per, does the workaround of killing nm-applet and restarting it work
for you?

@Per or @pat.pannuto: If you could provide an excerpt of /var/log/syslog
for a successful connection, followed by a failed one and
killing/restarting nm-applet and re-establishing a VPN connection
successfully in one go, if possible, it would be very helpful... My
interest is to know what changes between the first and second instance
of nm-applet.

I'm under the impression that the issue is caused by NAT outside the
system, which causes a subsequent connection after a failure, with the
same IP, to just hang there and eventually timeout. Whereas when nm-
applet is restarted and a wireless (or is anyone using wired and can
confirm this bug too?) connection established, the short DHCP lease
makes it go through a different IP which will make it work.

-- 
vpnc will only connect successfully on first try per session
https://bugs.launchpad.net/bugs/475814
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 475814] Re: vpnc will only connect successfully on first try per session

2009-11-18 Thread Matt Trudel
@Lando, thanks for your test. I assume you're using wireless as well?

As another workaround, does changing the NAT traversal method cause
any difference in the behavior of the VPNC plugin?

-- 
vpnc will only connect successfully on first try per session
https://bugs.launchpad.net/bugs/475814
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 475814] Re: vpnc will only connect successfully on first try per session

2009-11-18 Thread Lando Nachtmann
@Matt: Yes, VPN via wireless.

I tried a few more things. Still the same problems, _but_ I am not sure
anymore if I am in the right discussion: Now I get this additional
syslog output on a failed connection attempt:

Nov 18 15:54:39 knuff NetworkManager: WARN  nm_vpn_connection_connect_cb(): 
VPN connection 'VPN LRZ' failed to connect: 'No VPN secrets!'.
Nov 18 15:54:39 knuff NetworkManager: WARN  connection_state_changed(): Could 
not process the request because no VPN connection was active.

When I am searching for that, I get lots of related bugs, but not
exactly my problem (failed on _second_ try, vpnc-plugin, password-based
authentication).

And I think, I located my problem after all: When I am looking into the
VPN settings in the network-manager immediately after a boot (so before
I am connecting the first time), I can see both passwords (group and
user) which are saved there. After connecting and disconnecting, these
fields are empty! After a reboot, the passwords are back again. And
furthermore: When I reenter the passwords before a second connection
attempt, it works! Now, is this a network-manager or a network-manager-
pvnc bug and should I open a new one for that?

-- 
vpnc will only connect successfully on first try per session
https://bugs.launchpad.net/bugs/475814
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 475814] Re: vpnc will only connect successfully on first try per session

2009-11-18 Thread Lando Nachtmann
Okay, it sounds very much like a variation of #284212 ...

-- 
vpnc will only connect successfully on first try per session
https://bugs.launchpad.net/bugs/475814
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 475814] Re: vpnc will only connect successfully on first try per session

2009-11-18 Thread Per Baekgaard
@Matt: Yes, killing/restarting nm-applet makes it work for me (as
already mentioned in #7 above ;-)

I'm not able to test right now (not at home), but I'll do the setup -
disconnect - setup (with failure) - restart nm-applet - setup sequence
later today and post the logs. I can also try with a wired connection,
if that would make a difference, but IIRC, I have already tested that
once.

I'll also check what Lando posted above (to see if the information
disappears, i.e. whether it may be a keyring issue alternatively).


-- Per.

-- 
vpnc will only connect successfully on first try per session
https://bugs.launchpad.net/bugs/475814
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 475814] Re: vpnc will only connect successfully on first try per session

2009-11-16 Thread Per Baekgaard
Thanks, Matt.

As the problem is easily reproducible here on my system, would it add
any value if I could somehow trace the behaviour here? As said, judging
from the log files alone doesn't give many clues to what happens or more
precisely why it fails (unless there is some debug option that I have
overlooked). So it would require building the package here and try to
triage the fail then?


-- Per.

-- 
vpnc will only connect successfully on first try per session
https://bugs.launchpad.net/bugs/475814
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 475814] Re: vpnc will only connect successfully on first try per session

2009-11-15 Thread swmiller6
I am also experiencing the same problem on a fresh install of Karmic.

-- 
vpnc will only connect successfully on first try per session
https://bugs.launchpad.net/bugs/475814
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 475814] Re: vpnc will only connect successfully on first try per session

2009-11-15 Thread Matt Trudel
I'm trying to reproduce this problem but so far I haven't had much luck
-- looks like for standard disconnects (the user chooses to disconnect
the vpn), it still works for new connections. I will try failure cases
by unplugging my wired connection too, and report back...

@Per, was your system also upgraded from another version of Ubuntu, or
was it a new installation?

@pat.pannuto, any chance you could run 'apport-collect  475814' in a
terminal? This will run a number of scripts to gather the versions of
network-manager, network-manager-vpnc and network-manager-gnome, among
other things.

Thanks.

-- 
vpnc will only connect successfully on first try per session
https://bugs.launchpad.net/bugs/475814
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 475814] Re: vpnc will only connect successfully on first try per session

2009-11-15 Thread Per Baekgaard
@Matt,

Thanks for looking into this!

My system is a pristine install of 9.10/AMD64, so not an upgrade. It was
a new(ish) laptop install and I decided to give it a clean start. I
think the amount of tweaks made to it is so far quite small. Only
network related tweak was to disable IPv6, as it caused some long'ish
DNS lookups otherwise.

I can quite easily check and reproduce the problem here, but the amount
of debug messages isn't overwhelming ;-) If you have a version you want
me to test, just let me know, and I'll be happy to verify and send
logfiles etc.


-- Per.

-- 
vpnc will only connect successfully on first try per session
https://bugs.launchpad.net/bugs/475814
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 475814] Re: vpnc will only connect successfully on first try per session

2009-11-15 Thread pat.pannuto
I ran apport-collect twice, once before ever connecting to vpn, and then
once after the connect/disconnect/connect (fail) cycle.

Let me know if can do anything else to help.

-- 
vpnc will only connect successfully on first try per session
https://bugs.launchpad.net/bugs/475814
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 475814] Re: vpnc will only connect successfully on first try per session

2009-11-15 Thread Matt Trudel
I cannot reproduce it in a virtual machine, but I notice this is i386
and thus a slight difference...

I'll try to get my hands on a amd64 system running Karmic tomorrow for
further testing.

I'm marking this as Incomplete for now, but mostly as a reminder that I
still need to build a 64-bit VM.

/ Matt

** Changed in: network-manager-vpnc (Ubuntu)
   Status: New = Incomplete

-- 
vpnc will only connect successfully on first try per session
https://bugs.launchpad.net/bugs/475814
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 475814] Re: vpnc will only connect successfully on first try per session

2009-11-13 Thread Per Baekgaard
Have the same problem here. I'm on a fresh install of Karmic (9.10),
AMD64 version with all relevant upgrades as of today.

I can manually set up/tear down the connection using $ sudo vpnc xxx
or $ sudo vpnc-disconnect xxx any time.

However, it only works the first time I try to set up a VPN connection
from network manager (through network-manager-vpnc). After that, it
fails setting up the connection. It looks OK until it gets to the stage
of receiving the first (Connect) reply, and just fails after that.

   VPN plugin state changed: 1
   VPN plugin state changed: 3
   VPN connection 'xxx' (Connect) reply received.
   VPN plugin failed: 1

Any workaround proposals welcomed also, obviously ;-)


-- Per.

-- 
vpnc will only connect successfully on first try per session
https://bugs.launchpad.net/bugs/475814
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 475814] Re: vpnc will only connect successfully on first try per session

2009-11-13 Thread Per Baekgaard
Not sure if it adds much value, but still:

Stopping and starting nm-applet is enough to make it work for (one)
additional connection. There is no need to reboot or logout; killing nm-
appet and starting it again (with or without --sm-disable) will make the
VPN connection work once also.


-- Per.

-- 
vpnc will only connect successfully on first try per session
https://bugs.launchpad.net/bugs/475814
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 475814] Re: vpnc will only connect successfully on first try per session

2009-11-13 Thread Matt Trudel
@Per,

On Fri, Nov 13, 2009 at 9:41 AM, Per Baekgaard baekga...@b4net.dk wrote:
 Not sure if it adds much value, but still:

 Stopping and starting nm-applet is enough to make it work for (one)
 additional connection. There is no need to reboot or logout; killing nm-
 appet and starting it again (with or without --sm-disable) will make the
 VPN connection work once also.

How fast do you attempt to reconnect after the initial connection?
There are (or were) some delays between disconnection (or connection
loss) and the vpnc process in the back, ending.

/ Matt

-- 
vpnc will only connect successfully on first try per session
https://bugs.launchpad.net/bugs/475814
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 475814] Re: vpnc will only connect successfully on first try per session

2009-11-13 Thread Per Baekgaard
@Matt,

I tail -f'd (or less G or whatever) the daemon.log file and awaited
until the connection was fully down before trying again, so I'm quite
certain the connection was completely dropped.

I just repeated the experiment, this time waiting additionally a
couple of minutes after the vpn service ... cleaned up message in the
log, and it is still the same thing.

So it looks as if nm-applet has some residuals from the previous
connection (or the network-manager-vpnc plugin has). I had a sneak peak
at the code, but it isn't easy to figure out what to look for at a short
glance... ;-)


-- Per.

-- 
vpnc will only connect successfully on first try per session
https://bugs.launchpad.net/bugs/475814
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 475814] Re: vpnc will only connect successfully on first try per session

2009-11-05 Thread pat.pannuto
Syslog containing successful vpn connection.  (relevant section begins
~line 627)

** Attachment added: Syslog containing successful vpn connection.  (relevant 
section begins ~line 627)
   http://launchpadlibrarian.net/35191317/syslog.2.gz

-- 
vpnc will only connect successfully on first try per session
https://bugs.launchpad.net/bugs/475814
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 475814] Re: vpnc will only connect successfully on first try per session

2009-11-05 Thread pat.pannuto
Syslog containing failed vpn connection (first instance ~line 653)

** Attachment added: Syslog containing failed vpn connection (first instance 
~line 653)
   http://launchpadlibrarian.net/35191382/syslog

-- 
vpnc will only connect successfully on first try per session
https://bugs.launchpad.net/bugs/475814
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 475814] Re: vpnc will only connect successfully on first try per session

2009-11-05 Thread pat.pannuto
Other notes:

   * This system has been upgraded from intrepid -- jaunty -- karmic, the 
vpnc configuration was originally written / set in intrepid and vpnc only broke 
on update to karmic.
   * I tried apt-get install --reinstall vpnc network-manager-vpnc  after the 
karmic upgrade, no improvement

   * This is a *SESSION* level problem.
After I could not connect, I logged out, went to a console where I sudo 
service gdm restart and logged in again.  At this point, I could connect 
successfully.  The subsequent attachment has an updated copy of syslog with 
this new data.

-- 
vpnc will only connect successfully on first try per session
https://bugs.launchpad.net/bugs/475814
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 475814] Re: vpnc will only connect successfully on first try per session

2009-11-05 Thread pat.pannuto
Updated copy of syslog after restarting gdm and connecting
*successfully*.

** Attachment added: Updated copy of syslog after gdm restart
   http://launchpadlibrarian.net/35191793/syslog

-- 
vpnc will only connect successfully on first try per session
https://bugs.launchpad.net/bugs/475814
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs