morrownr / USB-WiFi

USB WiFi Adapter Information for Linux
2.8k stars 179 forks source link

Permanent MAC address removal from EEPROM of USB adapters - interested in AR9271 and MT7610u #522

Open ieffuie4 opened 1 month ago

ieffuie4 commented 1 month ago

I see often how drivers handle the situation when the MAC address is missing at the place where it should be. In dmesg you can then see the driver reporting that it cant find the MAC and is using a random MAC instead. This is often or even in most cases a good and not a bad thing. I in general never need some permanent MAC address. I would like to remove it from the USB adapters i use. In rare situations i did not had since over 10 years where i maybe would need some permanent MAC address, i could configure the MAC address to something that does not change every time i detach and attach the USB adapter.

In Atheros the MAC is written at the same place like the calibration data. I still do not know how to modify this part. I would also like to know how to remove the MAC from a MT7610u adapter.