MAC address randomly changes when bringing interface up [closed]
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this questionEvery time I start my network interface, I get a different MAC address! If I try to force the MAC address value using
ifconfig usb0 hw ether AA:BB:DD..:FF
it will be again different after issuing
ifconfig usb0 up
What make this MAC address change? How can I stop this to happen and stick to HW burned MAC address?
I am using a panda board (omap4/armv7) on a开发者_如何学Python angtrom distribution. The inteface is a smsc95xx USB 2.0 Ethernet.
Thanks, Fabrice.
There is an issue with the smsc95xx driver.
[PATCH] smsc95xx: generate random MAC address once, not every ifup
There is also something in the work to get a 'repeatable' MAC generation going, but it didn't get much uptake:
Beagleboard xM smsc95xx MAC address from die id
Edit just searching for smsc95xx mac address gives a ton of competing patches, with some more explanations (the smc hub+NIC frequently doesn't have an EEPROM, so also no MAC)
MAC addresses are typically coded in the chipset, but mutable.
It might be that your distro is randomising it for security reasons.
精彩评论