Wired connection + sstp VPN in KDE

Hello! Decided to switch to KDE from Gnome (was also Manjaro), can’t resolve the issue:
configured sstp VPN for work, but can’t make it connect automatically on each boot. ‘Connect automatically’ checkbox is disabled, and if I enable ‘Auto connect to VPN’ in Wired connection’s properties (also tried nmcli edit, , the system boots with all connections off (green “cable” on tray icon), so I have to connect even Wired manually, then it also connects VPN automatically.
nmcli connection show BIO shows ‘connection.autoconnect: yes’, tried adding it as secondary (as I understand, ‘Auto connect to VPN’ does the same) - no luck.

Hi @Egorro, and welcome!

What is the output of:

systemctl status NetworkManager.service

:bangbang: Tip: :bangbang:

When posting terminal output, copy the output and paste it here, wrapped in three (3) backticks, before AND after the pasted text. Like this:

```
pasted text
```

Or three (3) tilde signs, like this:

~~~
pasted text
~~~

This will just cause it to be rendered like this:

Sed
sollicitudin dolor
eget nisl elit id
condimentum
arcu erat varius
cursus sem quis eros.

Instead of like this:

Sed sollicitudin dolor eget nisl elit id condimentum arcu erat varius cursus sem quis eros.

Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as described above.

Thereby increasing legibility thus making it easier for those trying to provide assistance.

For more information, please see:


:bangbang::bangbang: Additionally

If your language isn’t English, please prepend any and all terminal commands with LC_ALL=C. For example:

LC_ALL=C bluetoothctl

This will just cause the terminal output to be in English, making it easier to understand and debug.

Hi @Mirdarthos , thanks for detailed answer!
This is the output:

● NetworkManager.service - Network Manager
     Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2024-02-27 06:23:59 MSK; 2 days ago
       Docs: man:NetworkManager(8)
   Main PID: 547782 (NetworkManager)
      Tasks: 3 (limit: 309221)
     Memory: 17.4M
     CGroup: /system.slice/NetworkManager.service
             └─547782 /usr/sbin/NetworkManager --no-daemon

Right now I have automatic Wired connection and manual VPN.

I see the Wired is connected automatically. What is the output of:

nmcli connection

Edit:

I’ve got to run, I was shooting in the dark anyway, since I only use a Wired connection. But maybe someone else can help.

Edit #2:

See:

https://askubuntu.com/a/90888

nmcli con:

NAME   UUID                                  TYPE      DEVICE  
BIO    57809492-f3ff-4e0f-8109-f72bc15a89c9  vpn       enp42s0 
Wired  3de33103-2668-3959-83e4-35e8c5459f75  ethernet  enp42s0 
lo     5f7c080b-bafd-4e66-a89d-85f51cbd9de6  loopback  lo   

Tried that solution, but the nmcli command hasn’t status parameter))

LC_ALL=C nmcli con status                                                                                                                                                                                     
Error: argument 'status' not understood. Try passing --help instead.

Tried leaving just line nmcli connection up BIO in that script (without any conditions) - doesn’t work also.

Try show instead of status.

Looks like it’s default command for nmcli con:

$ nmcli con show
NAME   UUID                                  TYPE      DEVICE  
Wired  3de33103-2668-3959-83e4-35e8c5459f75  ethernet  enp42s0 
lo     5c08c627-5024-4521-88c9-939fb233232a  loopback  lo      
BIO    57809492-f3ff-4e0f-8109-f72bc15a89c9  vpn       --      
$ nmcli con
NAME   UUID                                  TYPE      DEVICE  
Wired  3de33103-2668-3959-83e4-35e8c5459f75  ethernet  enp42s0 
lo     5c08c627-5024-4521-88c9-939fb233232a  loopback  lo      
BIO    57809492-f3ff-4e0f-8109-f72bc15a89c9  vpn       --      

Resolved the issue by selecting “store password for all users” in VPN settings - as I understand, wired connection couldn’t activate VPN from Root without stored password, so it also didn’t connect on boot.
Thanks for the answers!

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.