Hi,
My customer wants to change MAC address in Linux, but failed. Would you pls kindly advise what is missed? Pls find detail follow below. I tried with TI814X-LINUX-PSP-04.01.00.05.
root@ubuntu-dm814x-evm:~# ifconfig -a
eth0 Link encap:Ethernet HWaddr c6:18:ec:61:1e:ec
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)
Interrupt:40
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
root@ubuntu-dm814x-evm:~# ifconfig eth0 down
root@ubuntu-dm814x-evm:~# ifconfig eth0 hw ether 00:0C:18:EF:FF:ED
root@ubuntu-dm814x-evm:~# ifconfig eth0 up
CPSW phy found : id is : 0x4dd074
root@ubuntu-dm814x-evm:~# ifconfig -a
eth0 Link encap:Ethernet HWaddr c6:18:ec:61:1e:ec
inet6 addr: fe80::c418:ecff:fe61:1eec/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:142 errors:0 dropped:99 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12536 (12.5 KB) TX bytes:468 (468.0 B)
Interrupt:40
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 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:0