You are not logged in.
I am using archlinux on raspberry pi (rPi). It connects to router via wifi, using netctl automatic wireless connection. When I turn on router and rPi semenataniusly rPi boots much faster than router, thus at boot time wifi is not connected and resolv.conf is empty. Openvpn fails to connect, as it cannot resolve host. After connection resolv.conf is rewritten, however openvpn do not reread it and connection still cannot be established. After manual intervention openvpn works fine.
Is it possible to configure openvpn systemd service to start only after wireless connection is established?
Thank you for your answers.
Offline