Code Monkey home page Code Monkey logo

Comments (9)

NoamGraetz2 avatar NoamGraetz2 commented on September 18, 2024

well, after some deep diving, i think i have found the problem.
you should use npcap and not win10pcap...

from pysoem.

Vimes01 avatar Vimes01 commented on September 18, 2024

I have the same problem (Windows 10, could not open with pcap, pysoem.find_adapters() finds ID, Wireshark works and can access interface), although I have installed npcap 1.50. Any suggestions?

from pysoem.

Vimes01 avatar Vimes01 commented on September 18, 2024

In my case I needet to input ID in this format: '\Device\NPF_{A36B0DE6-FA8F-4113-AC4F-EEFF9E02CEC3}'

from pysoem.

msevnctkn avatar msevnctkn commented on September 18, 2024

have you solved the problem?

from pysoem.

agwidarsito avatar agwidarsito commented on September 18, 2024

Weird, on Win 11 we had to do this:

'\Device\NPF_{A36B0DE6-FA8F-4113-AC4F-EEFF9E02CEC3}'

from pysoem.

tomhira avatar tomhira commented on September 18, 2024

Hello,
I have same problem except I am using Realtek USB GbE Family Controller.
I am using the notation: \Device\NPF_{7A0F6319-EC6D-4EF5-ADC5-52F691B8F63D}
with Winpcap installed.

could not open interface \Device\NPF_{7A0F6319-EC6D-4EF5-ADC5-52F691B8F63D}
File "C:\basic_example.py", line 426, in run
self.master.open(self.ifname)
File "C:\basic_example.py", line 564, in
BasicExample('\Device\NPF
{7A0F6319-EC6D-4EF5-ADC5-52F691B8F63D}').run()
ConnectionError: could not open interface \Device\NPF
{7A0F6319-EC6D-4EF5-ADC5-52F691B8F63D}

What can I do to solve this issue?

from pysoem.

tomhira avatar tomhira commented on September 18, 2024

Hello, it seems the ncap is not properly installed with Windows 10 by selecting the option
Install Npcap in WinPcap API-compatible Mode (WinPcap will be uninstalled)

from pysoem.

WenxiJin avatar WenxiJin commented on September 18, 2024

Sorry for adding a comment to a closed issue.
Still, I would like to share what worked for me on Windows 10.

master.open('\\Device\\NPF_{24D8A70B-00A0-4643-81DE-C1D2DF72396D}')

The double backslash \\ is the trick.

from pysoem.

BorisKomarov avatar BorisKomarov commented on September 18, 2024

Also you can try this
master.open(r'\Device\NPF_{B520D7ED-4AC0-48F9-9574-09C0696C3DA4}')
my mistake is that I didn't put "r" in front of the quotes with the interface name to read the slashes correctly

from pysoem.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.