> Interesting.  I have different hardware, but use the macchanger module to
> change my MAC at every eth0 up, and don't have the problem here.  udev
> must see the original MAC address on my hardware before macchanger gets
> to it, and thus set it up correctly.  But if it's rewritten @ shutdown,
> why wouldn't it see the macchanger-randomized one then and thus get it
> wrong?
>

I've tried macchanger but the thing is that at boottime the address of my 
network interface is always FF:FF:FF:FF:FF:FF and therefore it gets a random 
mac-address from the kernel. And because of the persistent-net.rules that are 
saved at shutdown, my network interface is named something unpredictable. 
Only if I delete the udev rule by plugging it to another computer to be able 
to boot without persistent-net.rules I get a interface eth0. Otherwise it 
increments every boot (eth0, eth1, . . . ).

The funny thing is, that no matter which mac address I apply to the interface 
with macchanger, the mac address which will be written to the udev rules at 
shutdown is always the one randomly generated by the kernel and not the one I 
apply to it.

rgds
Bernhard


-- 
[email protected] mailing list

Reply via email to