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

From ESS-WIKI
Revision as of 07:59, 25 January 2017 by Liszt.kao (talk | contribs) (Created page with "First, we need to make sure the Ethernet interface "eth0" is available or not. <pre>root@dmssr09_6dq:/ # busybox ifconfig eth0 Link encap:Ethernet HWaddr 74:FE:48:2F:D5:...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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