FS#38752 - [netctl] Make it possible to change ethernet MAC address
Attached to Project:
Arch Linux
Opened by Cougar (Cougar) - Friday, 31 January 2014, 20:39 GMT
Last edited by Jouke Witteveen (jouke) - Sunday, 02 March 2014, 17:39 GMT
Opened by Cougar (Cougar) - Friday, 31 January 2014, 20:39 GMT
Last edited by Jouke Witteveen (jouke) - Sunday, 02 March 2014, 17:39 GMT
|
Details
Hi,
I'm running archlinux on iMX233-OLinuXino-MAXI (http://archlinuxarm.org/platforms/armv5/olinuxino). The problem with iMX233 is that it does not have any ROM/EEPROM for ethernet MAC address and it will be random. There exists some "hacks" to set up static MAC (https://wiki.archlinux.org/index.php/MAC_Address_Spoofing) but these are not simple enough to configure and run. For me it looks much more native to do this task in netctl. So I added a new configuration variable "SpoofMAC" for ethernet connection profile for that. Feel free to reject this patch if netctl isn't right place for it in your opinion ;-) Cheers, Cougar |
This task depends upon
Closed by Jouke Witteveen (jouke)
Sunday, 02 March 2014, 17:39 GMT
Reason for closing: Won't implement
Sunday, 02 March 2014, 17:39 GMT
Reason for closing: Won't implement
0001-Make-it-possible-to-chan...
ip link set dev "$Interface" address "$SpoofMAC"
to an interface hook.
The reason these things are not part of the netctl configuration framework is that they make it impossible/very hard to get back to where you were before starting when you stop a profile.