-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PCap Playback Falis - Unable to Open Required Interface #330
Comments
You'll need to run sACNView as Administrator (right click on shortcut, run-as administrator) to use this feature |
Correct. Am already doing that as well. Is there something else that we are missing? |
Do you have any additional network interfaces, other than the 1 listed in sACNView's preferences? |
Yes. I have several network interfaces. I have tried three of them (all without luck):
|
I mean, does Windows report any other network interfaces in Control Panel, other than the 1 listed in sACNView? |
So yes, you have multiple adapters that don't appear in sACNView. I would recommend that you do the following:
|
Ok - I will try this and get back to you. Thanks for the recommendation. |
...and you checked that the interface has only a single IP? If you still have issues than there isn't much else that can be done, you might simply have to accept that this feature won't work on your machine. |
If anyone on your team has experience with Qt/C++, then I would recommend you run up the project in a debugger to establish why Npcap is failing to enurmerate your interfaces. |
You might try replacing |
I just ran into this issue as well. The only place I've gotten this to work at all is on a Win10 VM using a vmxnet3 adapter (vmware). Using a USB NIC on the same vm (tried two different brands) I get the same error as the OP. I also get the same error on two different Win11 laptops and two different Win10 desktops with both USB and built-in PCIe adapters.
I tried this, but I get the error below when opening a .pcapng file, whether I use the v1.78 files from my current wireshark install or the latest v1.79
|
Do you have the same issue with the older .pcap formatted files? After copying the DLLs, could you post a screenshot of the about screen from sACNView. |
After copying the npcap dlls, I can open and play back pcaps on the vmxnet3 adapter, but get the same 'Unable to open required interface' error on a USB adapter. So behavior seems to be the same as the included dlls. I had been using v2.1.3, but just tried v2.2.0-beta.1, and it actually DOES work with the replaced DLLs on both the vmxnet3 and USB adapters on the Win10 VM, and with both pcap and pcapng files. Screenshots of the about screens after replacing the dlls below. With the included dlls, it seems to behave the same as v2.1.3 |
So yes, this confirms what the issue is. sACNView is bundled with WinPcap (as it was current at the time), but can not be bundled with Npcap due to licence restrictions. In the meantime the solution is to ensure that only Npacp DLLs are available in accessible PATHs, as currently sACNView will use the first set of DLLs found. |
I just tried the same solution on a Win11 laptop, and with v2.2.0-beta.1 and Npcap v1.79, and it works on a USB network adapter. If I try to use the built-in wifi, I get a different problem: as soon as I click "Play", I get what looks like an error popup with no text, and then sACNView closes. I don't really WANT to send sACN over wifi, but I don't know if the underlying problem may occur with other adapters as well.
At least with v2.2.0-beta.1, sACNView does not appear to locate the npcap dlls in their install directory unless "Install Npcap in WinPcap API-compatible mode" option is selected during Npcap installation. So it may be worth documenting that for users, or looking for the default Npcap path explicitly. Thanks for the quick support on this. pcap playback is a really powerful feature, and even with the WinPcap issues it saved me a ton of time in pinpointing the source of a challenging problem yesterday. |
With #331, the npcap subfolder is set as a preferred search path. But ultimately it will depend on what ever the system provides. |
Transmitting through the NIC works with no issues. However, the moment I try to use PCap Playback an error occurs which states "Unable to open required interface". The same error occurs whether we use pcap or pcapng files.
Interface settings appear proper:
Latest beta build:
The text was updated successfully, but these errors were encountered: