[systemd-devel] Match section of .link file not working

Simon Peeters peeters.simon at gmail.com
Sat Aug 23 18:04:03 PDT 2014


Hej all,

I have a system on wich i wish to randomise the mac address of one
specific interface. This is important because it is a wireless vif,
and having multiple vif's with the same mac doesn't work.

I currently have the following config in 50-wl-mac.link:
[Match]
Path=/devices/ocp.3/47400000.usb/musb-hdrc.1.auto/usb1/1-1/1-1:1.0/net/wlv3
Type=wlan

[Link]
MACAddressPolicy=random
---
But when I run
# udevadm test-builtin net_setup_link
/devices/ocp.3/47400000.usb/musb-hdrc.1.auto/usb1/1-1/1-1:1.0/net/wlv3
I get:
...
Config file /usr/lib/systemd/network/99-default.link applies to device wlv3
...
And the mac address is not randomised.

This feels like a bug to me, any toughts what could cause this?
This is on 215 (archlinux arm does not yet have 216).


Simon Peeters.


More information about the systemd-devel mailing list