You are not logged in.

#1 2013-08-27 09:18:23

galadog
Member
Registered: 2013-08-27
Posts: 3

openvpn startup problem after automatic wireless connection

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

Board footer

Powered by FluxBB