How to avoid using policy kit with openvpn



Hi!

I do have kind of manager of NetworkManager who amongst of other things tries to connect modem automatically because my devices are embedded cards located somewhere in nowhere. These cards communicate to server through OpenVpn tunnel. This modem connection process worked quite well untill I tried using it with OpenVpn. It seems that I can't use AddAndActivateConnection method anymore (python api) as I do get now "Got "PolicyKit authorization failed" error message at the point where I try to access PIN. This does not happen if OpenVpn is not activated. I tried to use following option in NetworkManager.conf file:

[keyfile]
unmanaged-devices=interface-name:tun*

Any suggestions appreciated!

Thanks,
Matti



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]