From 0c86f030850939de3bfb2c66c282442d7e69b1ad Mon Sep 17 00:00:00 2001 From: Dominic Reich Date: Wed, 1 Jan 2025 18:22:27 +0100 Subject: [PATCH] update draft fedora page --- content/notes/fedora/index.md | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/content/notes/fedora/index.md b/content/notes/fedora/index.md index 4fb80d8..3de6924 100644 --- a/content/notes/fedora/index.md +++ b/content/notes/fedora/index.md @@ -1,9 +1,10 @@ --- title: Fedora date: 2024-12-31T13:21:50+0100 -lastmod: 2025-01-01T11:23:29+0000 +lastmod: 2025-01-01T17:22:27+0000 tags: - fedora + - networkmanager #showDate: false showReadingTime: false @@ -58,3 +59,28 @@ Add to `/etc/dnf/dnf.conf`: ```conf keepcache=1 ``` + +## Fixed MAC address on wifi device + +```console +$ sudo touch /etc/NetworkManager/conf.d/22-wifi-mac-addr.conf +``` + +This prevents loading /usr/lib/NetworkManager/conf.d/22-wifi-mac-addr.conf, +which should contain something like: + +```systemd +[connection.22-wifi-mac-addr] +match-device=type:wifi +wifi.cloned-mac-address=stable-ssid + +[.config] +enable=nm-version-min:1.45 +``` + +So if we just want to use the original MAC address on your home network, +we use `nmcli` for that, like for my homenet _Macarant_Net_: + +```console +$ nmcli connection modify Macarant_Net wifi.cloned-mac-address permanent +```