You are not logged in.

#1 2016-08-28 07:01:26

halogen
Member
Registered: 2014-06-12
Posts: 67

[solved] MAC randomization in nm 1.4

How do you activate mac randomization in the new networkmanager 1.4 ?

I've tried with both ethernet.assigned-mac-address=random and 802-3-ethernet.assigned-mac-address=random in NetworkManager.conf (reference), under [device] and also under [connection] but it doesn't do anything.

Last edited by halogen (2016-08-29 09:29:48)

Offline

#2 2016-08-29 09:17:49

alive4ever
Member
Registered: 2016-07-10
Posts: 65

Re: [solved] MAC randomization in nm 1.4

I think it's active by default.

Just compare ip link output before and after reboot.

Offline

#3 2016-08-29 09:29:04

halogen
Member
Registered: 2014-06-12
Posts: 67

Re: [solved] MAC randomization in nm 1.4

alive4ever wrote:

I think it's active by default.

Just compare ip link output before and after reboot.

You're right! For some reason my ethernet card's mac is not randomized (only wifi and mobile are), so I thought there was a syntax error somewhere in my NetworkManager.conf. I removed my edits and macs are still randomized. Thanks.

Last edited by halogen (2016-08-29 09:29:37)

Offline

#4 2016-08-29 09:55:32

AnAkkk
Member
Registered: 2014-03-03
Posts: 148

Re: [solved] MAC randomization in nm 1.4

This doc doesn't seem to be up to date. The current syntax according to "man NetworkManager.conf" is:

wifi.cloned-mac-address=random
ethernet.cloned-mac-address=random

Offline

#5 2016-08-29 20:12:51

zerophase
Member
Registered: 2015-09-03
Posts: 229

Re: [solved] MAC randomization in nm 1.4

We need to turn this off if we're using a static ip for our devices behind the router?

Offline

#6 2016-08-30 02:13:35

Jujstme
Member
Registered: 2016-08-28
Posts: 7

Re: [solved] MAC randomization in nm 1.4

zerophase wrote:

We need to turn this off if we're using a static ip for our devices behind the router?

No reason to do so except in case you set up MAC filtering.
By the way, randomization by default is active only for scanning nearby networks.

Offline

#7 2016-08-30 04:34:19

zerophase
Member
Registered: 2015-09-03
Posts: 229

Re: [solved] MAC randomization in nm 1.4

Jujstme wrote:
zerophase wrote:

We need to turn this off if we're using a static ip for our devices behind the router?

No reason to do so except in case you set up MAC filtering.
By the way, randomization by default is active only for scanning nearby networks.

Thanks.

Offline

Board footer

Powered by FluxBB