Re: VPN problem



On Sat, 2009-05-30 at 11:49 +0200, Michel Leunen wrote:
> Hi,
> 
> I've got issues trying to connect to a Cisco VPN through Network 
> Manager. I'm using Ubuntu 9.04 with NM 0.7.0.100.
> 
> Note that if I use vpnc directly,
> $ sudo vpnc-connect vpn.conf
> it's working just fine.
> 
> Network Manager is configured with the same parameters as used in vpn.conf.
> 
> When using Network Manager, I get those errors below in the 
> /var/log/daemon.log file:

Try the following, as root:

1) killall -TERM nm-vpnc-service
2) /usr/libexec/nm-vpnc-service

now connect your VPN connection, wait for it to fail, and grab the
output from nm-vpnc-service for me.  This works because the vpnc stdout
is directed to the console in which its parent is running, in this case
a terminal, but when it's auto-spawned via dbus service activation,
nm-vpnc-service output (and thus vpnc output) gets dumped to /dev/null.
vpnc isn't smart enough yet to have syslog support, so this is really
the only way to get better output from vpnc about what's going wrong.

Dan


> 
> May 30 11:17:36 LinuxPC NetworkManager: <info>  Starting VPN service 
> 'org.freedesktop.NetworkManager.vpnc'...
> May 30 11:17:36 LinuxPC NetworkManager: <info>  VPN service 
> 'org.freedesktop.NetworkManager.vpnc' started 
> (org.freedesktop.NetworkManager.vpnc), PID 11684
> May 30 11:17:36 LinuxPC NetworkManager: <info>  VPN service 
> 'org.freedesktop.NetworkManager.vpnc' just appeared, activating connections
> May 30 11:17:36 LinuxPC NetworkManager: <info>  VPN plugin state changed: 1
> May 30 11:17:36 LinuxPC NetworkManager: <info>  VPN plugin state changed: 3
> May 30 11:17:36 LinuxPC NetworkManager: <info>  VPN connection 'VPN rtbf 
> users' (Connect) reply received.
> May 30 11:17:38 LinuxPC NetworkManager: <info>  VPN plugin failed: 1
> May 30 11:17:38 LinuxPC NetworkManager: <info>  VPN plugin state changed: 6
> May 30 11:17:38 LinuxPC NetworkManager: <info>  VPN plugin state change 
> reason: 0
> May 30 11:17:38 LinuxPC NetworkManager: <WARN> 
> connection_state_changed(): Could not process the request because no VPN 
> connection was active.
> May 30 11:17:38 LinuxPC NetworkManager: <info>  (eth0): writing 
> resolv.conf to /sbin/resolvconf
> May 30 11:17:38 LinuxPC NetworkManager: <info>  Policy set 'Auto eth0' 
> (eth0) as default for routing and DNS.
> May 30 11:17:51 LinuxPC NetworkManager: <debug> [1243675071.001188] 
> ensure_killed(): waiting for vpn service pid 11684 to exit
> May 30 11:17:51 LinuxPC NetworkManager: <debug> [1243675071.001333] 
> ensure_killed(): vpn service pid 11684 cleaned up
> 
> 
> Does this mean something to you?
> TIA,
> 
> Michel
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]