[Bug 2084234] Re: wifi setting cause networkmanager crushed
Danilo Egea Gondolfo
2084234 at bugs.launchpad.net
Fri Oct 11 09:44:14 UTC 2024
Hi, thank you for reporting this problem.
It's a bug on Netplan. We'll work on a fix for that.
Reproducer:
root at oracular-nm:/etc/netplan# nmcli con add type wifi ssid asdasdadasd wifi-sec.key-mgmt wpa-psk wifi-sec.psk adadsadadasdasd 802-11-wireless.cloned-mac-address stable-ssid
Error: Failed to add 'wifi-1' connection: Message recipient disconnected from message bus without replying
root at oracular-nm:/etc/netplan# netplan get
Command failed: /etc/netplan/90-NM-762071dc-ceb6-4395-b56f-136ff8e01e4e.yaml:9:19: Error in network definition: Invalid MAC address 'stable-ssid', must be XX:XX:XX:XX:XX:XX, XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX or one of 'permanent', 'random', 'stable', 'preserve'.
macaddress: "stable-ssid"
^
"stable-ssid" was added on Network Manager 1.46.
https://gitlab.gnome.org/GNOME/network-manager-
applet/-/merge_requests/143/diffs?commit_id=202149c0843510a944afe2257cf56fbb7b4d2ef9
** Changed in: network-manager (Ubuntu)
Status: New => Confirmed
** Also affects: netplan.io (Ubuntu)
Importance: Undecided
Status: New
** Changed in: netplan.io (Ubuntu)
Status: New => Confirmed
** Changed in: netplan.io (Ubuntu)
Importance: Undecided => High
** Tags added: foundations-todo
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netplan.io in Ubuntu.
Matching subscriptions: foundations-bugs
https://bugs.launchpad.net/bugs/2084234
Title:
wifi setting cause networkmanager crushed
Status in netplan.io package in Ubuntu:
Confirmed
Status in network-manager package in Ubuntu:
Confirmed
Bug description:
I set the MAC address on the wifi interface to be fixed for each SSID,
which caused the network manager to be unable to connect to the
internet。
network:
version: 2
wifis:
NM-xxx:
renderer: NetworkManager
match:
name: "wlo1"
dhcp4: true
dhcp6: true
macaddress: "stable-ssid"
10月 11 15:18:14 w-pc NetworkManager[45968]: /etc/netplan/90-NM-xxx.yaml:10:19: Error in network definition: Invalid MAC address 'stable-ssid', must be XX:XX:XX:XX:XX:XX, XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX or one of 'permanent', 'random', 'stable', 'preserve'.
10月 11 15:18:14 w-pc NetworkManager[45968]: macaddress: "stable-ssid"
10月 11 15:18:14 w-pc NetworkManager[45968]: ^
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: network-manager 1.46.0-1ubuntu2 [modified: usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf]
ProcVersionSignature: Ubuntu 6.8.0-44.44-generic 6.8.12
Uname: Linux 6.8.0-44-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CRDA: N/A
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Fri Oct 11 16:24:03 2024
InstallationDate: Installed on 2024-05-31 (133 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
NetworkManager.state:
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
ProcEnviron:
LANG=zh_CN.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
SourcePackage: network-manager
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.default.apport:
# set this to 0 to disable apport, or to 1 to enable it
# you can temporarily override this with
# sudo service apport start force_start=1
enabled=0
mtime.conffile..etc.default.apport: 2024-06-20T09:32:39.745749
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/2084234/+subscriptions
More information about the foundations-bugs
mailing list