← Back to team overview

touch-packages team mailing list archive

[Bug 1323594] Re: vpn auto-connect works, but doesn't connect automatically when network is available.

 

Looks like NetworkManager is having issues getting the user's VPN
password from gnome-key-daemon. I've posted a workaround at
http://askubuntu.com/a/332796/109757. Basically, change password-flags=1
to password-flags=0 in /etc/NetworkManager/system-connections/<VPN>
(warning: this will store the VPN password in plaintext).

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1323594

Title:
  vpn auto-connect works, but doesn't connect automatically when network
  is available.

Status in network-manager package in Ubuntu:
  Confirmed

Bug description:
  I'm having a bug in Ubuntu Trusty Tahr 14.04 LTS. The issue I'm having
  is that with a connection set to auto-connect to a PPTP-vpn, it does
  not auto-connect when (wireless)-network becomes available.

  Syslog returns this error:

  <error> [1401130450.367538] [nm-vpn-connection.c:1374]
  get_secrets_cb(): Failed to request VPN secrets #2: (6) No agents were
  available for this request.

  However it does connect when when connecting to the particular
  connection manually. e.g. I select the wireless network in the
  network-manager.

  This bug seems related to bugs:
  #280571
  #1297849
  #1247682 
  #1298047

  The difference between my situation and the others is that vpn-
  autoconnect does work, it just doesn't work automatically.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1323594/+subscriptions