[systemd-devel] Match section of .link file not working
Simon Peeters
peeters.simon at gmail.com
Sat Aug 23 21:45:15 PDT 2014
2014-08-24 6:23 GMT+02:00 Andrei Borzenkov <arvidjaar at gmail.com>:
> В Sun, 24 Aug 2014 03:04:03 +0200
> Simon Peeters <peeters.simon at gmail.com> пишет:
>
>> 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
>
> This should be the value of ID_PATH property, not sysfs path. Check with
>
> udevadm info --query
> property /sys/devices/ocp.3/47400000.usb/musb-hdrc.1.auto/usb1/1-1/1-1:1.0/net/wlv3
oops, I confused ID_PATH with DEVPATH, now i feel like an idiot.
thanks.
Simon Peeters
More information about the systemd-devel
mailing list