Skip to content

os.networkInterfaces() returns wrong result #5629

Closed
@ghost

Description

The following code...

console.log(require('os').networkInterfaces());

...shows list of network interfaces. It includes e.g. Ethernet adapters, Tunnel adapters, but not Wireless LAN adapters. So it differs from ipconfig /all shell command.

The second difference is that the tunnel adapter physical address returned by ipconfig /all command is "00-00-00-00-00-00-00-E0" but networkinterfaces() returns "00-00-00-00-00-00".

  • Version: 0.12.7
  • Platform: Windows 10 64-bit

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateIssues and PRs that are duplicates of other issues or PRs.osIssues and PRs related to the os subsystem.windowsIssues and PRs related to the Windows platform.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions