[Pkg-utopia-maintainers] Bug#703956: NetworkManager failed with openvpn + dhcp configuration
Alexey Kuznetsov
kuznetsov.alexey at gmail.com
Tue Mar 26 08:27:13 UTC 2013
Package: network-manager-openvpn
Version: 0.9.4.0-1
Network manager unable to esablish openvpn connection if openvpn
server does not provide an IP address for remote client.
In my configuration IP provided by DHCP request to the lan dhcp
server. And openvpn provides only a ethernet media connection to the
remote server (just tap channel).
I expect network manager install openvpn media connection, ask for IP
using standard DHCP teqnique, and setup default route to the provided
IP.
syslog:
Mar 26 12:17:43 debian NetworkManager[4826]: <warn>
/sys/devices/virtual/net/tap0: couldn't determine device driver;
ignoring...
Mar 26 12:17:43 debian NetworkManager[4826]: <warn> VPN plugin failed: 2
Mar 26 12:17:43 debian avahi-daemon[2925]: Withdrawing workstation
service for tap0.
Mar 26 12:17:43 debian NetworkManager[4826]: SCPlugin-Ifupdown:
devices removed (path: /sys/devices/virtual/net/tap0, iface: tap0)
Mar 26 12:17:43 debian NetworkManager[4826]: <warn> VPN plugin failed: 1
Mar 26 12:17:43 debian NetworkManager[4826]: <info> VPN plugin state
changed: stopped (6)
Mar 26 12:17:43 debian NetworkManager[4826]: <info> VPN plugin state
change reason: 0
Mar 26 12:17:43 debian NetworkManager[4826]: <warn> error
disconnecting VPN: Could not process the request because no VPN
connection was active.
Mar 26 12:17:43 debian NetworkManager[4826]: <info> Policy set 'Wired
connection 1' (eth0) as default for IPv4 routing and DNS.
Mar 26 12:18:44 debian NetworkManager[4826]: <info> VPN service
'openvpn' disappeared
service --debug log:
** Message: ------------------------------------------------------
** (process:5473): WARNING **: nm-openvpn-service-openvpn-helper did not
receive a valid IP4 Address from openvpn
Tue Mar 26 12:17:43 2013 us=659430 MANAGEMENT: Client disconnected
Tue Mar 26 12:17:43 2013 us=661371 WARNING: Failed running command
(--up/--down): external program exited with error status: 1
Tue Mar 26 12:17:43 2013 us=661412 Exiting
** (nm-openvpn-service:5468): WARNING **: openvpn exited with error code 1
** Message: Connect timer expired, disconnecting.
Client config:
client
dev tap
proto udp
remote ADDR 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
comp-lzo
script-security 2
Server config:
proto udp
mode server
tls-server
dev tap
ca keys/ca.crt
cert keys/server.crt
key keys/server.txt
dh keys/dh1024.pem
push "redirect-gateway"
client-to-client
duplicate-cn
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
-- AK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20130326/7d8af29a/attachment-0001.html>
More information about the Pkg-utopia-maintainers
mailing list