| Summary: | "Automatically connect to VPN" causes the primary connection to not connect. | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-networkmanager-qt | Reporter: | damien.j.s |
| Component: | general | Assignee: | Jan Grulich <jgrulich> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | lamarque, lukas.tinkl, postix |
| Priority: | NOR | ||
| Version First Reported In: | 5.110.0 | ||
| Target Milestone: | --- | ||
| Platform: | Kubuntu | ||
| OS: | Linux | ||
| See Also: |
https://bugs.kde.org/show_bug.cgi?id=463250 https://bugs.kde.org/show_bug.cgi?id=435603 |
||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
damien.j.s
2020-08-21 07:28:12 UTC
This looks like a upstream problem: https://bugzilla.gnome.org/show_bug.cgi?id=785699 As a workaround I do this in my Gentoo Linux: systemtray -> Notifications -> Applications: Configure -> Network Management -> Configure Events... -> Connection Activated In "Run command field" add the path of a script like this: #!/bin/sh CONNECTION_NAME=connection VPN_NAME=vpn if nmcli | grep -q "connected to $CONNECTION_NAME" && ! nmcli c show $VPN_NAME | grep -q ActiveConnection; then nmcli c up $VPN_NAME fi Basically the same as bug 463250, with the difference that in bug 463250 you set the VPN itself to auto-connect. Might be considered a duplicate though. |