I.MX6 ifconfig: SIOCSIFHWADDR: Cannot assign requested address

时间:2021-08-18 09:22:52
/**************************************************************************
 *     I.MX6 ifconfig: SIOCSIFHWADDR: Cannot assign requested address
 * 说明:
 *     Max在设置I.MX6的MAC地址的时候发现这个问题,记录一下原因。
 *
 *                                        2016-7-1 深圳 南山平山村 曾剑锋
 *************************************************************************/

一、参考资料:
    1. https://www.google.co.jp/search?biw=1280&bih=844&q=SIOCSIFHWADDR%3A+Cannot+assign+requested+address&oq=SIOCSIFHWADDR%3A+Cannot+assign+requested+address&gs_l=serp.3...673575.673575.0.673828.1.1.0.0.0.0.0.0..0.0....0...1c.1.64.serp..1.0.0.KRmLYDeE1y4
    2. Can't change my mac address - can't assign requested address
        http://askubuntu.com/questions/423530/cant-change-my-mac-address-cant-assign-requested-address

二、现象:
    root@android:/ # busybox ifconfig eth0 down
    busybox ifconfig eth0 down
    root@android:/ # busybox ifconfig eth0 hw ether 71:11:22:33:44:55
    busybox ifconfig eth0 hw ether 71:11:22:33:44:55
    ifconfig: SIOCSIFHWADDR: Cannot assign requested address
    1|root@android:/ #