Re: Support for changing the MAC address on an ethernet interface
Bernd Petrovitsch <[email protected]>
| Newsgroups | gmane.linux.distributions.rock.devel |
|---|---|
| Organization | http://www.firmix.at/ |
| Message-ID | <[email protected]> |
On Tue, 2005-03-01 at 01:39 +0100, Bernd Petrovitsch wrote:
[ bull shit deleted - is there a cacel feature for mailing lists? ]
OK, the former does not really work:
---- snip ----
public_address() {
addcode up 4 3 "ip link set $if address $1"
iproute2_init_if
}
---- snip ----
One has to lower the precedence level since the layer2 address
must be set before the interface is set up.
Bernd
--
Firmix Software GmbH http://www.firmix.at/
mobil: +43 664 4416156 fax: +43 1 7890849-55
Embedded Linux Development and Services