Public bug reported:

Hi,

just wanted to configure a wireguard network connection from xubuntu
desktop with the connection editor.

Ran into these Problems:

- Editor doesn't accept a nameserver address with portnumber
- Editor doesn't accept a wireguard peer address with portnumber
- I can't save at all, because of the following problem:

The wireguard vpn I want to connect to doesn't offer ipv6, it's just
ipv4.

Therefore, I do have configured the ipv4 tab with Method "manual" and
all the required data, but left the ivp6 tab Method as "Ignore".

This fails, networkmanager log shows

<warn>  [1739138367.2264] keyfile: load: "/run/NetworkManager/system-
connections/netplan-cloud9.nmconnection": failed to load connection:
invalid connection: ipv6.method: method 'manual' requires at least an
address or a route


and in /run/NetworkManager/system-connections/netplan-cloud9.nmconnection

[ipv6]
method=manual
addr-gen-mode=1
ip6-privacy=0


So although I have selected "ignore", it sets configuration to "manual"


Even if I do select "disabled", it still sets

[ipv6]
method=manual
addr-gen-mode=1
ip6-privacy=0


This smells like a copy-paste-error and that it uses the ipv4 method
where it should use the ipv6 method.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: network-manager-gnome 1.34.0-1ubuntu3
ProcVersionSignature: Ubuntu 6.8.0-52.53-generic 6.8.12
Uname: Linux 6.8.0-52-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.28.1-0ubuntu3.3
Architecture: amd64
CRDA: N/A
CasperMD5CheckResult: pass
CurrentDesktop: XFCE
Date: Mon Feb 10 00:05:02 2025
InstallationDate: Installed on 2022-12-25 (777 days ago)
InstallationMedia: Xubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
IpRoute:
 default via 192.168.192.1 dev enp3s0 proto dhcp src 192.168.192.204 metric 100 
 10.120.36.0/24 dev mpqemubr0 proto kernel scope link src 10.120.36.1 linkdown 
 10.133.142.0/24 dev lxdbr0 proto kernel scope link src 10.133.142.1 
 192.168.192.0/24 dev enp3s0 proto kernel scope link src 192.168.192.204 metric 
100
SourcePackage: network-manager-applet
UpgradeStatus: Upgraded to noble on 2024-06-24 (230 days ago)
nmcli-nm:
 RUNNING  VERSION  STATE      STARTUP  CONNECTIVITY  NETWORKING  WIFI-HW  WIFI  
   WWAN-HW  WWAN    
 running  1.46.0   connected  started  full          enabled     enabled  
enabled  missing  enabled

** Affects: network-manager-applet (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2097724

Title:
  can't configure wireguard connection with network-manager

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager-applet/+bug/2097724/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to