Re: [OpenWrt-Devel] How to set mac address for ethernet, wifi and 6lowpan interface

2016-06-29 Thread Toan Pham
​Pratik, The mac addresses get set at boot, you may want to reboot the machine instead of restarting network for it to work. Also make sure that the new mac address for ethernet is valid (ie ), There were times that I saw the OS wouldn't set the new mac-addr if I generate an random in

[OpenWrt-Devel] How to set mac address for ethernet, wifi and 6lowpan interface

2016-06-29 Thread Pratik Prajapati
Hi, I want to set mac address for ethernet, wifi and 6lowpan interfaces. I tried to add macaddr option in each lan, sta and wpan interface in /etc/config/network and then restarted network (/etc/init.d/network restart) but no luck. I found that there is macaddr_add() in base-files/files/lib/funct