В Sun, 24 Aug 2014 03:04:03 +0200 Simon Peeters <[email protected]> пишет:
> 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 > 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. > _______________________________________________ > systemd-devel mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/systemd-devel _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
