Try using a pre-up rule on the /etc/network/interfaces file, like this:

auto eth0
iface eth0 inet static
pre-up ifconfig eth0 hw ether 01:01:01:01:01:01
address 192.168.1.10
netmask 255.255.255.0
gateway 192.168.1.1

I don't know why Feisty is not sending the hwaddress option before the
others, something must have changed on the ifupdown source.

Busybox had a similar bug, fixed here:
http://bugs.busybox.net/view.php?id=880
Summary:        0000880: ifupdown fails to set hwaddress
Description:    When using ifup to enable an interface that has a hwaddress 
line in /etc/network/interfaces the SIOCSIFHWADDR ioctl fails with a message 
that the device is busy. This happens because all the parameters are sent on a 
single ifconfig line and thus the interface is set to an UP state before the 
hwaddress portion is processed.

-- 
can't set hardware address in /etc/network/interfaces 
https://bugs.launchpad.net/bugs/109725
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to