how to change mac address using udev

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


I am trying to change mac address in this way:

subsystem=="usb", action=="add", attrs{idvendor},

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,
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at

[Linux DVB]     [Video Technology]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Devices]     [Fedora Women]     [ALSA Devel]     [Linux USB]

Add to Google Powered by Linux