getmac icon indicating copy to clipboard operation
getmac copied to clipboard

Scanner fails to get MACs for localhost

Open mandraid opened this issue 5 years ago • 2 comments

I ran get_mac_address against an IP range, and I notice that when running it from my laptop, the two interfaces reported from the laptop are marked as "None". It is a Linux machine. Is there any reason it would not be able to obtain the MAC addresses from the device?

mandraid avatar Nov 30 '20 14:11 mandraid

It should be able to resolve them. Could you please include your system information (per the bug report template)? Additionally, debugging information would be helpful. Run it from the CLI on the same machine with -dddd, or set getmac.getmac.DEBUG = 4 if calling from Python (assuming you have logging configured, if not then use logging.basicConfig).

Sorry for the delay, this got buried in the notifications.

GhostofGoes avatar Dec 15 '20 05:12 GhostofGoes

I think this issue is related to another issue I've added a work around too: https://github.com/GhostofGoes/getmac/issues/48#issuecomment-898209342

FlantasticDan avatar Aug 13 '21 05:08 FlantasticDan

Closing this due to inactivity. If it's still an issue, please re-open and include distro info and debugging output.

GhostofGoes avatar Jun 01 '23 06:06 GhostofGoes