diff options
author | Darren Hart <dvhart@linux.intel.com> | 2012-01-26 10:39:01 -0800 |
---|---|---|
committer | Darren Hart <dvhart@linux.intel.com> | 2012-02-03 09:25:18 -0800 |
commit | c42364375acb28f0f23867e3a24c9ae25beced37 (patch) | |
tree | 5c5c7d1519d04076f11f89de51e70a1d69acbaa9 /meta-sugarbay/recipes-kernel | |
parent | 7b1d216a133d3df4597c336e3a6c3c941e69989a (diff) | |
download | meta-intel-c42364375acb28f0f23867e3a24c9ae25beced37.tar.gz |
genmac: Replace RANDOM_MAC in network/interfaces with a randomly generated MAC
For machines that do not have a MAC in hardware and with drivers that don't
generate a random one in the kernel, this init script will replace the string
RANDOM_MAC in the network/interfaces file with one generated with "ranpwd -m".
Care is taken to ensure multiple interfaces can use RANDOM_MAC and receive
unique addresses. ranpwd generates MACs with the locally administered bit set
and the multicast bit disabled.
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'meta-sugarbay/recipes-kernel')
0 files changed, 0 insertions, 0 deletions