mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 00:04:28 +01:00
[GH-ISSUE #330] How to re-write MAC address to a tag? #2954
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @42Network on GitHub (Jun 4, 2024).
Original GitHub issue: https://github.com/OpenEPaperLink/OpenEPaperLink/issues/330
I have a few ST-GR2900 tags. One of them has changed its own MAC address to all zeros, possibly as a side effect of its batteries being run down too long. After replacing the batteries, it seems to work fine, but it is awkward that it now appears in the tag list as "0000000000000000". I'm frankly surprised that all functions still work with what I think is likely an invalid MAC.
Is there a known method to re-write its MAC address (which I can just copy from what is printed on the case) into the firmware?
Using the AP Flasher, I was even able to upgrade the firmware on this tag to the latest version, but it still kept all-zero MAC.
@davedarko commented on GitHub (Jun 17, 2024):
My way currently is, with python on a macbook:
Use files from this folder:
https://github.com/OpenEPaperLink/OpenEPaperLink/tree/master/Tag_Flasher
if you don't have an info page dump, use this:
python3 OEPL-Flasher.py -z -i -p /dev/cu.usbmodem01 read info.bin
patch the mac address of the info page
python3 patch_mac.py --zbs243 -mac YOURMACHERE info.bin
and write it back on the tag
python3 OEPL-Flasher.py -z -i -p /dev/cu.usbmodem01 write info.bin
might contain typos, I have a cold - and there's probably other ways, hope it helps