Qubes Mac-adress and my Fritzbox

I have configured the security settings on my FRITZ!Box so that only known devices are allowed to connect via Wi-Fi. I would like to keep this setting enabled.

However, Qubes seems to use a different MAC address every time it restarts when trying to connect to the Wi-Fi, which prevents the connection from being established.

How can I configure Qubes so that it uses a consistent MAC address and works better with this setup?

That is a NetworkManager configuration issue, nothing Qubes specific. Have a look at the arch wiki.

Heads up - if you run your network qube as a disposable, you will probably have to work with bind-dirs to get the config persistent.

Unfortunately, I don’t have the technical background to solve the problem based on the two links. However, I can say that it only occurs on the laptop running Qubes. None of the Windows laptops are affected.

You need to check the settings of your sys-net wifi connection…
Click (or right-click?) on your sys-net wifi icon (in the taskbar/infobar) and look for preferences/settings to change there the entry for MAC address to use always the same MAC or at least don’t run the “randomize MAC” entry at all.

Taskbar item network manager → right click → select “edit connections” → under “wifi” select your FritzBoxen’s SSID by double clicking → in window “editing $YOURSSID” select under drop down menu “cloned MAC address” the option “Preserve” or “stable by SSID”.

Now you possibly need to (re-)register your QubesOS-machine’s MAC address in your router as “allowed device”.

I had already set that right at the beginning, before I reported the issue here, but the problem still persists. The “Cloned MAC Address” setting is set to “Stable per SSID”. The problem still persists.

Running the command ip link show wls*** in the sys-net terminal produces the following output:

link/ether ee:1e:07:XX:XX:XX

After rebooting, I run the command again, and the output is:

link/ether 7a:bc:4a:XX:XX:XX

Try “Preserve” instead, please.

I tested it, and it works. The MAC address that was previously shown under permaddr is now displayed under link/ether. However, I want to use a spoofed MAC address that either never changes or remains consistent for a given SSID, so that it does not conflict with the security and privacy principles behind Qubes OS.

I also tested “stable”. Same.

I have now set a fixed manual MAC address via the terminal, and it works now. Thanks for your help.