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

Pratik Prajapati pratik.prajapati12 at gmail.com
Wed Jun 29 07:27:14 EDT 2016


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/functions/system.sh
but couldn't understood its arguments from its definition.

Please share some link for system.sh documentation.

Best Regards,
Pratik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20160629/719c8494/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list