Hi, Does anybody have an example how to change MAC address using udev? Kind regards, S 2011/10/12 Sasha Alko <alkosasha@xxxxxxxxx>: > Hi, > > I am trying to change mac address in this way: > > subsystem=="usb", action=="add", attrs{idvendor}, > attr{address}="00:11:22:33:44:55" > > But this generates the error "error opening > ATTR{/sys/deivces/.../net/eth1/address} for writing: Permission denied > > I know that NetworkManager is able to change mac address and I guess > NM uses udev to change mac. > > Could you please advice me how to change mac using udev. > > Kind regards, > S > -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html