Comment 3 for bug 109725

Revision history for this message
In , Michael Weber (michaelw) wrote : Re: Bug#224468: Ifup has problem with "hw ether xx:xx:xx:xx:xx:xx" in the interfaces-file

reassign 224468 net-tools
thanks

* <email address hidden> [2003-12-19T09:54+0100]:
> Package:ifupdown
> Version:0.6.4-4.4
>
> When specifying "hw ether xx:xx:xx:xx:xx:xx" in the interfaces-file to
> set the MAC-address on an interface you just get a "SIOCSIFHWADDR:
> Device or resource busy" error.
> This seem to come from the fact that ifup doesn't give the
> parameter/options to ifconfig in the right order, because ifup -v eth0
> gives:
>
> Configuring interface eth0=eth0 (inet)
> run-parts /etc/network/if-pre-up.d
> ifconfig eth0 10.1.9.51 netmask 255.0.0.0 broadcast 10.255.255.255
> hw ether 00:a0:24:12:f5:a3 up
> SIOCSIFHWADDR: Device or resource busy

From what ifconfig --help says, this appears to be the right order of
arguments:

[217]% /sbin/ifconfig --help
Usage:
  ifconfig [-a] [-i] [-v] [-s] <interface> [[<AF>] <address>]
  [add <address>[/<prefixlen>]]
  [del <address>[/<prefixlen>]]
  [[-]broadcast [<address>]] [[-]pointopoint [<address>]]
  [netmask <address>] [dstaddr <address>] [tunnel <address>]
  [outfill <NN>] [keepalive <NN>]
  [hw <HW> <address>] [metric <NN>] [mtu <NN>]
  [[-]trailers] [[-]arp] [[-]allmulti]
  [multicast] [[-]promisc]
  [mem_start <NN>] [io_addr <NN>] [irq <NN>] [media <type>]
  [txqueuelen <NN>]
  [[-]dynamic]
  [up|down] ...

(net-tools_1.60-8)

So, I am inclined to think this is an ifconfig bug.

Reassigned to net-tools. net-tools maintainer, would you agree?

Cheers,
Michael