ESP8266 Developer Zone The Official ESP8266 Forum 2016-11-30T22:37:29+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=3145 2016-11-30T22:37:29+08:00 2016-11-30T22:37:29+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3145&p=10739#p10739 <![CDATA[Re: how can I change the MAC address of esp8266?]]> Seems like the connection is being "remembered" by your computer and so it does not detect a change in MAC. (devices are not supposed to change MAC!).
Please "forget" the network and try again... and let me know if that helped!

Statistics: Posted by Guest — Wed Nov 30, 2016 10:37 pm


]]>
2016-11-29T02:42:29+08:00 2016-11-29T02:42:29+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3145&p=10701#p10701 <![CDATA[how can I change the MAC address of esp8266?]]>
I tried change the MAC address of esp8266 with this both functions of RTOS SDK:

bool wifi_get_macaddr(uint8 if_index, uint8 *macaddr);
bool wifi_set_macaddr(uint8 if_index, uint8 *macaddr);

I set a new MAC address to both (STATION_IF and SOFTAP_IF) , with the function wifi_set_macaddr and i use wifi_get_macaddr to verify if it really change. I succeeded.

Then, i tried discover the MAC address in my computer with command "arp -a" at cmd. The result is the default MAC address.

Anyone have any idea what it can be?

Statistics: Posted by james_hardcode — Tue Nov 29, 2016 2:42 am


]]>