On Fri 2008-09-12 12:26:09 -0400, Bill Gatliff wrote:

> John Winters wrote:
>
>> Can't you just put a made-up MAC address into /etc/network/interfaces?
>> Like this:
>> 
>> allow-hotplug eth0
>> iface eth0 inet dhcp
>>      hwaddress ether 12:34:56:78:9a:bc
>
> One could, but that won't work for root-over-NFS.

What about stuffing an equivalent line into your initramfs?

Something like:

 ip link set eth0 address 12:34:56:78:9a:bc

(assuming you've got /bin/ip and dependencies -- i can't seem to make
this work from busybox's implementation of ip)

     --dkg

Attachment: pgpeY1LtDxlo0.pgp
Description: PGP signature

Reply via email to