YUMI ID: fall back to eth0 / any wired port when end0 is absent - #1
Open
xtrack33 wants to merge 1 commit into
Open
YUMI ID: fall back to eth0 / any wired port when end0 is absent#1xtrack33 wants to merge 1 commit into
xtrack33 wants to merge 1 commit into
Conversation
The YUMI ID shown in the title bar is the MAC address of the wired port, read from the interface named end0 — Armbian's predictable name for the H3 EMAC. On a DietPi base (net.ifnames=0) or a stock Debian the same port is eth0, enp1s0 or enx…, and the pad shows "YUMI ID: UNKNOWN". Try end0 first, so every existing pad keeps exactly the value it had, then eth0, then any other en*/eth* interface in a stable order. Same NIC, same MAC: the identity does not change with the naming scheme.
This was referenced Sep 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The title bar shows
YUMI ID: UNKNOWNon a DietPi-based YumiOS pad: the ID is the MAC of the wired port, read fromend0only (Armbian's predictable name for the H3 EMAC). Withnet.ifnames=0, or on a stock Debian, the same port iseth0/enp1s0/enx….get_mac_address()now triesend0, theneth0, then any otheren*/eth*interface in a stable order.end0stays first, so every existing pad keeps exactly the value it had — same NIC, same MAC, same identity whatever the naming scheme. Checked with a fakenetifacesfor the Armbian (end0), DietPi (eth0), stock Debian (enp1s0) and no-wired-port cases.YumiOS-Klipper-V2 also stops DietPi from renaming the port (
net.ifnames=0removed), so on our imagesend0is back regardless of this change.