IoTGateway/BSP/Android/Gettingstarted/How to configure MAC address

From ESS-WIKI
Jump to: navigation, search

First, we need to make sure the Ethernet interface "eth0" is available or not.

root@dmssr09_6dq:/ # busybox ifconfig
eth0      Link encap:Ethernet  HWaddr 74:FE:48:2F:D5:83
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

Secondly, to configure MAC address, the command will be

root@dmssr09_6dq:/ # busybox ifconfig eth0 hw ether 10:C3:7B:47:7A:CA