Attempts to establish VPN connection before default route available

Bug #1197093 reported by Jean-Pierre Rupp
2
Affects Status Importance Assigned to Milestone
network-manager-openvpn (Ubuntu)
New
Undecided
Unassigned

Bug Description

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.

Revision history for this message
Jean-Pierre Rupp (xenog) wrote :

I have not experienced this for some time. I'm running Ubuntu 13.10 at this point, and I'm not sure at which point it started working correctly.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.