[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4D6E883C.2000800@gmail.com>
Date: Wed, 02 Mar 2011 20:11:08 +0200
From: "Alex G." <mr.nuke.me@...il.com>
To: Florian Fainelli <florian@...nwrt.org>
CC: Roger Luethi <rl@...lgate.ch>, netdev@...r.kernel.org,
"David S. Miller" <davem@...emloft.net>
Subject: Re: [PATCH] via-rhine: do not abort due to invalid MAC address
On 03/02/2011 08:01 PM, Florian Fainelli wrote:
>
> Why not generate a valid random ethernet address using random_ether_addr()
> instead?
That would confuse ifcfg-* scripts that specify HWETHER, and probably
users as well. It might even stump udev.
An "ifconfig ethX hw ether xx:xx:xx:xx:xx:xx" in network scripts allows
udev to use the consistent "bad" MAC to assign a consistent ethX number,
and allows the networking scripts to use the consistent "new good" MAC.
It works as a stand-alone interface, as a WAN port hosting ppp0, and
even in bonding, all consistently.
Alex
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists