GithubHelp home page GithubHelp logo

Windows binaries? MME docs? about open-plc-utils HOT 8 CLOSED

qca avatar qca commented on July 29, 2024
Windows binaries? MME docs?

from open-plc-utils.

Comments (8)

n1000 avatar n1000 commented on July 29, 2024 3

Just built this using the mingw32 branch I mentioned above:

https://www.dropbox.com/s/co3xkp1iqqeat2d/win32-bin-d071b109.7z?dl=0

It is all of the tools as of git commit d071b10 .

I have not extensively tested these, but at least int6k -r worked on my system.

from open-plc-utils.

n1000 avatar n1000 commented on July 29, 2024 1

As far as I know, none of the documents you mentioned have been released publicly, and they are only available via NDA.

Regarding the tools I provided the link for, be sure to specify the interface that you wish to use:

int6k -i N -r

Where N is an integer starting at 0. Unfortunately, the tool used to find out what interface number to use (pcapdevs.exe) is not included in the package I mentioned, so you will have to guess which number to use. On my windows system it happens to be "-i 2". Unless you have a huge number of interfaces on your machine, it will most likely be a number below 5.

I just double checked this on my Windows machine (Windows 10), and I'm able to see the management frames going out in Wireshark.

from open-plc-utils.

n1000 avatar n1000 commented on July 29, 2024

Do you know what PLC chipset is in your TP-LINK device? If you have an older chipset, you can find Win32 compiled versions of some tools here:

http://support.dlink.com/ProductInfo.aspx?m=DHP-306AV

Check out the "Powerline Utility 2.13" installer. You don't actually have to install it, the exe can be opened with 7zip to get the int6k* tools.

from open-plc-utils.

demux4555 avatar demux4555 commented on July 29, 2024

Hey there.

I had a look at the tools in your provided link, but they are for different hardware. Even so, they do not work. I'm looking in Wireshark to inspect the packets they'd send, but they aren't even generating any outgoing traffic. At all. Not even doing broadcasts with the tool generate any outgoing packets.

I have several kits labelled TP-Link TL-PA411KIT, which seem to be paired AV500 (EU V2.0) devices.

0xA000 to my devices returns this CNF:

Device ID: QCA7450/QCA7420 (0x20)
Version: MAC-QCA7420-1.0.0.337-01-20120309-FINAL

0xA054 return this CNF:
Manufacturing String: Qualcomm Atheros HomePlug AV Device

0xA068 return this CNF:

Hardware platform: QCA7420
Software platform: MAC
Major version: 1
Minor version: 1
Software/PIB version: 20120309
Software build number: 0

I see "Qualcomm Atheros Powerline Firmware Technical Reference Manual" and "Qualcomm Atheros HomePlug AV Firmware Technical Reference Manual" mentioned several times in the source files. Do you know where these are available? The Quallcomm website has no resources whatsoever regarding HomePlug AV or related technologies.

Any help would be much appreciated. As you can see above, I'm able to retrieve some info from my devices (using AutoIt and WinPcap dll), but I'd love to learn how to do more stuff with them.

from open-plc-utils.

n1000 avatar n1000 commented on July 29, 2024

One other thing, I have been tinkering with cross compiling these tools for windows using mingw32 (from Linux / OpenBSD). I can probably provide a full set of binaries later. (The branch for mingw32 support is here: https://github.com/n1000/open-plc-utils/tree/mingw32 )

NOTE: this is not ready for use yet, due to this mingw32 bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52991 (this has been fixed now, not in mingw32, but a workaround was applied).

from open-plc-utils.

demux4555 avatar demux4555 commented on July 29, 2024

Oh wow, thank you!

I didnt realize the software wasn't able to determine the active NIC by itself. I tried using the -i argument

int6k -m -i 1 all

...and now it works. I also downloaded your compiled toolset, and they work like a charm. Finally I can get some real work done in Wireshark figuring out how to format my packets properly.

Once again, thanks. I really appreciate your help.

EDIT: and yeah I tried compiling in Visual Studio and with GCC, but I was getting nowhere. I have very limited knowledge of C++, and I was simply flooded with error messages, and I wasn't really getting anywhere. Super nice of you to make some binaries for me.

from open-plc-utils.

n1000 avatar n1000 commented on July 29, 2024

Sure, no problem. Maybe you can check out the branch below, I updated the project to use visual studio 2015 community edition. This should just work out of the box with no tweaks required (hopefully):

https://github.com/n1000/open-plc-utils/tree/update_msvc

Closing this issue now. If you try the above and find any issues, or even if it just works, please drop a comment on this pull request: #86

from open-plc-utils.

fernando7650 avatar fernando7650 commented on July 29, 2024

Thank you so much!! I could recover my bricked TP Link device on windows :)

from open-plc-utils.

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.