Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Once and for all DISABLE MAC RANDOMIZATION

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
Schorschi
Posts: 19
Joined: 2013-10-22 01:52

Once and for all DISABLE MAC RANDOMIZATION

#1 Post by Schorschi »

Once and for all DISABLE MAC RANDOMIZATION? The idea that a wired NIC should have a randomized MAC... Has to be one of the !!!!... So how do you explicitly disable ALL MAC RANDOMIZATION on wired NICs?

I have spent over 2 hours trying 5 or 6 methods, include macchanger... NOTHING IS WORKING with Debian 12. Using NetworkManger but I realize the randomization maybe coming from systemd? Or somewhere else? Have clients that use PCLAAs and MAC auditing... so RANDOMIZED MACS IS A HORRIBLE IDEA!

How do I DISABLE this horrible feature!???

Aki
Global Moderator
Global Moderator
Posts: 2979
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 75 times
Been thanked: 407 times

Re: Once and for all DISABLE MAC RANDOMIZATION

#2 Post by Aki »

Moving from "Installation" to "System and Network Configuration" sub-forum.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

CwF
Global Moderator
Global Moderator
Posts: 2719
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 41 times
Been thanked: 201 times

Re: Once and for all DISABLE MAC RANDOMIZATION

#3 Post by CwF »

No idea, never seen the issue and thought it was only user configured?
Do you have randmac installed for some reason?

User avatar
bbbhltz
Posts: 166
Joined: 2024-01-10 14:53
Location: Normandy
XMMP/Jabber: bbbhltz@mailbox.org
Has thanked: 49 times
Been thanked: 33 times

Re: Once and for all DISABLE MAC RANDOMIZATION

#4 Post by bbbhltz »

Hi @Schorschi can you just mention the methods you've tried so nobody repeats themselves?
bbbhltz
longtime desktop Linux user; eternal newbie

Aki
Global Moderator
Global Moderator
Posts: 2979
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 75 times
Been thanked: 407 times

Re: Once and for all DISABLE MAC RANDOMIZATION

#5 Post by Aki »

Hello,
Schorschi wrote: 2024-02-16 18:00 how do you explicitly disable ALL MAC RANDOMIZATION on wired NICs?
You can search the system logs to find out which system service is currently updating the MAC address of your NIC by using the following command:

Code: Select all

su -l -c "journalctl -g mac\ "
Please, use code tags to include commands and/or their logs in the body of a message.

Hope this helps.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

Aki
Global Moderator
Global Moderator
Posts: 2979
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 75 times
Been thanked: 407 times

Re: Once and for all DISABLE MAC RANDOMIZATION

#6 Post by Aki »

Hello @Schorschi,

Have you made progress? Was the advice you received useful?
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

Post Reply