[Pkg-utopia-maintainers] Bug#903109: Bug#903109: network-manager-openvpn: "Cannot specify device when activating VPN" when connect to any VPN

Chris Lamb lamby at debian.org
Fri Jul 6 11:50:47 BST 2018


Hi Michael,

> Hm, can't reproduce the issue here, just tested a OpenVPN connection
> successfully with NM 1.12.0.
> Could you share the config of the VPN connection (you'll find it in
> /etc/NetworkManager/system-connections/).

Sure:

  [connection]
  id=UK London
  uuid=5993302e-22ee-46e4-8450-661be0cd2a0e
  type=vpn
  autoconnect=false
  permissions=
  timestamp=1511786555
  
  [vpn]
  auth=SHA1
  ca=REDACTEDFORDEBUGGING.pem
  cipher=BF-CBC
  comp-lzo=yes
  connection-type=password
  dev=tun
  dev-type=tun
  password-flags=0
  port=53
  remote=uk-london.privateinternetaccess.com
  remote-cert-tls=server
  reneg-seconds=0
  username=REDACTEDFORDEBUGGING
  service-type=org.freedesktop.NetworkManager.openvpn
  
  [vpn-secrets]
  password=REDACTEDFORDEBUGGING
  
  [ipv4]
  dns-search=
  method=auto
  
  [ipv6]
  addr-gen-mode=stable-privacy
  dns-search=
  ip6-privacy=0
  method=auto


> A NetworkManager debug log would be helpful as well.
> https://wiki.gnome.org/Projects/NetworkManager/Debugging#Debugging_NetworkManager-openvpn
> for the openvpn part
> and
> https://wiki.gnome.org/Projects/NetworkManager/Debugging#Other_NetworkManager_Debugging

Thanks for this. Curiously I did not appear to be running a nm-openvpn-
service (ie. the call to `killall -TERM nm-openvpn-service` could not
find anything to kill). Meaningful?

After following through anyway, I just get:

  $ /usr/lib/NetworkManager/nm-openvpn-service --debug
  nm-openvpn[26169] <debug> nm-openvpn-service (version 1.8.4) starting...

... with no output and no change in output from network-manager despite
the increased log level.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-



More information about the Pkg-utopia-maintainers mailing list