You are not logged in.
I used https://wiki.archlinux.org/index.php/Ne … stablished to setup a dispatcher which automatically connects to a vpn server.
Sometimes I want to use a different vpn server. When I try to disconnect the previously established connection via nm-applet, it constantly reconnects in a loop.
How can I terminate the dispatcher/service temporarily to manually select a different vpn connection?
Thanks
Last edited by DonTrash (2020-01-31 18:55:35)
Offline
I'd just fix the dispatcher script to react accordingly to which VPN you are connecting to (and not hard code to retry on vpn-down, as "just" a vpn-down event was likely done voluntarily).
That said
systemctl mask --now NetworkManager-dispatcher.service
#do stuff
systemctl unmask NetworkManager-dispatcher.service
Offline
Works fine.
Thanks!
Offline