how to change mac address using udev

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

 



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


[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux