learningequality / learningequality/morango

Switch ifcfg utility for get-mac to find MAC addresses

Open
#216 0 comments 0 reactions 1 assignee View on GitHub

@bjester is already working on this.

Since Mar 24, 2026.

Dominant language
Python
Stars
15
Forks
23
PR merge metrics
No merged PRs in 30d

Description

Observed behavior

The ifcfg library is currently unmaintained, and has issues in getting MAC addresses, especially on Windows machines where the system language is set to something other than English.

Expected behavior

We should use a maintained library that does not suffer from issues getting MAC addresses in different circumstances.

One candidate for this is https://pypi.org/project/get-mac/ a library that rather than using CLI utilities and parsing the output like ipcfg does, instead uses direct C APIs in the different OSes it supports.

Acceptance Criteria
  • Swap out ifcfg for the get-mac library
  • Confirm that the same MAC address is elicited from a range of different machines by the two different libraries
  • Confirm that get-mac performs better on Windows systems with non-English system languages

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.