Public bug reported: When connecting to a wireless network that has been configured to automaticall connect to a VPN in Ubuntu 13.04, I get this error in syslog:
Jul 2 20:05:14 zenbook nm-openvpn[15982]: write UDPv4 []: Network is unreachable (code=101) This message repeats a few times, and then the connection is dropped. After that NetworkManager attempts to connect again. After a few tries, it manages to connect. Sometimes it succeeds on the first try. While I was seeing this message, I decided to launch the "ip route" command, and I noticed that there was not default route. The only route I could see while the error was displaying was: 192.168.27.0/24 dev wlan0 proto kernel scope link src 192.168.27.110 metric 9 Is it possible that there's some condition in the NetworkManager code such that the VPN connection is attempted before the underlying physical link is completely configured? I have no issues with the VPN connection if I do not use DHCP, but only manual IP configuration. ** Affects: network-manager-openvpn (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1197093 Title: Attempts to establish VPN connection before default route available To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/1197093/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs