mscdex/cap

deviceList() returning an empty array

Closed this issue · 7 comments

I just got everything installed, no issues at all, and started playing around with the example codes. Although, when running

var Cap = require('cap').Cap;

console.dir(Cap.deviceList());

deviceList() returns an empty array. Am I missing something here?

Have you tried running with elevated privileges?

Have you tried running with elevated privileges?

Yeah, same result.

Which platform?

Also, does os.networkInterfaces() return information?

Which platform?

Also, does os.networkInterfaces() return information?

Windows 7 x64

os.networkInterfaces() does return my local connections.

Did you install WinPcap or npcap?

Did you install WinPcap or npcap?

Yes, I have the latest release of WinPcap

UPDATE: Reinstalling the latest release on WinPcap seemed to solve the issue. Something may have gone wrong during the installation. For future reference, I used WinPcap 4.1.3