joyent/node — Issue #2499: os.networkInterfaces() not working in WinXP.
Author: chrisdew
Created: 2012-01-10 14:15:41+00:00
State: open

The function os.networkInterfaces() returns an empty object under Windows XP, despite the machine having a working and configured wired NIC.

All the best,

Chris.

C:\Documents and Settings\chris>node -v
v0.6.7

C:\Documents and Settings\chris>node
> require('os').networkInterfaces();
{}
>
(^C again to quit)
>
C:\Documents and Settings\chris>node -v
v0.6.7

C:\Documents and Settings\chris>node
> var os = require('os');
undefined
> os.networkInterfaces();
{} <-- this is the issue
> os.type();
'Windows_NT'
> os.release();
'5.1.2600'
> os.arch();
'ia32'
> os.platform();
'win32'