- Subject: how to change mac address using udev
- From: Sasha Alko <alkosasha@xxxxxxxxx>
- Date: Wed, 12 Oct 2011 03:07:03 +0400
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
[Linux DVB]
[Video Technology]
[Asterisk]
[Photo]
[DCCP]
[Netdev]
[Xorg]
[Util Linux NG]
[Xfree86]
[Devices]
[Fedora Women]
[ALSA Devel]
[Linux USB]