В Sun, 24 Aug 2014 06:49:39 +0200 Simon Peeters <[email protected]> пишет:
> 2014-08-24 6:45 GMT+02:00 Simon Peeters <[email protected]>: > > 2014-08-24 6:23 GMT+02:00 Andrei Borzenkov <[email protected]>: > >> В 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 > > > > oops, I confused ID_PATH with DEVPATH, now i feel like an idiot. > > Ok, so there is only one problem now: > ID_PATH is the same for all my vif interfaces, and i need to select > only one of them. > Please show "udevadm info -q all" for each interface. > sigh, and manually setting the mac address gives anoying races :( > > Any idea how I could match a single vif interface? _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
