Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

Unable so set MAC Address #2

Closed
sahlex opened this issue Jul 11, 2022 · 2 comments
Closed

Unable so set MAC Address #2

sahlex opened this issue Jul 11, 2022 · 2 comments

Comments

@sahlex
Copy link

sahlex commented Jul 11, 2022

Hello.

I'm using a Wemos D1 (ESP8266) with a W5100 Ethernet shield. It works generally but I'm not able to set a MAC address. It always uses the generic MAC FE-AB-CD-EF-ED-BA which is hardcoded in Ethernet_ESP8266_Manager.h.

Using the example Program in Ethernet_Generic, I was able to connect the shield but wherever I call setMacAddress it has no effect.

Is there any way to set the MAC address?

Hardware used:

  • Arduino IDE version is 1.8.19
  • Hardware is Wemos D1 R1 (ESP8266) with Wiznet shield W5100

Best regards,
Alexander

@khoih-prog
Copy link
Owner

Hi @sahlex

Thanks for your usage of the library and report of the bug.
Sorry for the very late response. You know it's difficult to find time to work in the summer ;-}}

It always uses the generic MAC FE-AB-CD-EF-ED-BA which is hardcoded in Ethernet_ESP8266_Manager.h

I'll fix the issue to make the MAC to be assigned randomly in next release soon.

This way is better than you have to set it manually, for every board by modifying the code for each board..

khoih-prog added a commit that referenced this issue Sep 8, 2022
### Releases v1.8.0

1. Fix `macAddress` bug. Check [Unable so set MAC Address #2](#2)
2. Permit setting `macAddress` for supporting Ethernet shields W5x00 and ENC28J60
3. Add functions relating to `macAddress`
4. Rewrite all the examples to support new features
5. Drop support to `Ethernet_ESP8266`
6. Update `Packages' Patches`
khoih-prog added a commit that referenced this issue Sep 8, 2022
### Releases v1.8.0

1. Fix `macAddress` bug. Check [Unable so set MAC Address #2](#2)
2. Permit setting `macAddress` for supporting Ethernet shields W5x00 and ENC28J60
3. Add functions relating to `macAddress`
4. Rewrite all the examples to support new features
5. Drop support to `Ethernet_ESP8266`
6. Update `Packages' Patches`
@khoih-prog
Copy link
Owner

Hi @sahlex

The new Ethernet_Manager releases v1.8.0 has just been published. Your contribution is noted in Contributions and Thanks

Sorry for the so long delay,

Best Regards,


Releases v1.8.0

  1. Fix macAddress bug. Check Unable so set MAC Address #2
  2. Permit setting macAddress for supporting Ethernet shields W5x00 and ENC28J60
  3. Add functions relating to macAddress
  4. Rewrite all the examples to support new features
  5. Drop support to Ethernet_ESP8266
  6. Update Packages' Patches

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants