[PATCH] ifupdown - fix custom mac address when using iproute's 'ip'
Wade Berrier
wberrier at gmail.com
Thu Aug 7 21:12:25 UTC 2008
Hi,
When using CONFIG_FEATURE_IFUPDOWN_IP, mac addresses from
/etc/network/interfaces aren't being set correctly. This is because
of argument differences between ifconfig and 'ip'.
It is passed as:
ip link set address ether xx:xx:xx:xx:xx:xx eth0 up
when it should be:
ip link set address xx:xx:xx:xx:xx:xx eth0 up
Note: this is accordance to debian's interfaces format described here:
http://www.annodex.net/cgi-bin/man/man2html?interfaces
The attached patch skips the 'ether' (or any other class) keyword so
the arguments are correct.
Does it look ok?
Wade
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-ip_hwaddress.patch
Type: text/x-diff
Size: 837 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20080807/238ea724/attachment.bin
More information about the busybox
mailing list