Bug 474658 - rename of wireguard connection not possible
Summary: rename of wireguard connection not possible
Status: REPORTED
Alias: None
Product: plasma-nm
Classification: Plasma
Component: editor (show other bugs)
Version: 5.27.5
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-18 16:20 UTC by Petric Frank
Modified: 2023-09-19 08:19 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petric Frank 2023-09-18 16:20:10 UTC
SUMMARY
Imported wireguard connection (here: wg0) can not be renamed to a more meaningful name.

STEPS TO REPRODUCE
1. copy wireguard client config to /etc/wireguard/wg0.conf
2. import it via "nm-cli connection import type wireguard file /etc/wireguard/wg0.conf"
3. open plasma-nm applet
4. select imported connection - named here as wg0
5. change name to (for example) "home system"
6. get message: connection.interface-name: new connection wireguard: interface name contains invalid character (translated from german)

OBSERVED RESULT
Rename failed

EXPECTED RESULT
Rename accepted

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian GNU/Linux 12
(available in About System)
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
It seems that the applet re-uses the connection name as interface name also. It should provide a separate field or select the interface automatically.
So it allows to give the connection a more meaningful name.

The connection as such is working. The remote system is accessible.