https://bugs.winehq.org/show_bug.cgi?id=47279
Bug ID: 47279 Summary: TP-Link PowerLineUtility installs but does nothing Product: Wine Version: 4.9 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: dave@davehigton.me.uk Distribution: ---
The TP-Link PowerLineUtility.exe installes OK under wine 4.9 (my thanks to the team for fixing the bug I reported recently which prevented installation). Running the installed app offers me "Trust and launch", whereupon I get the "round hourglass" for about 15 seconds, then... nothing. No error window, no nothing.
It should be accessing the status and configuration of the power line modems that I have. The Linux box it's on is communicating over them to post this message.
The app in question can be downloaded from https://static.tp-link.com/2018/201809/20180904/PowerLineUtility_Win_180816....
https://bugs.winehq.org/show_bug.cgi?id=47279
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |wpcap Summary|TP-Link PowerLineUtility |TP-Link PowerLineUtility |installs but does nothing |installs but does nothing | |(needs "packet.dll" | |implementation) Status|UNCONFIRMED |NEW CC| |z.figura12@gmail.com Ever confirmed|0 |1
--- Comment #1 from Zebediah Figura z.figura12@gmail.com --- Confirming. From terminal logs:
zeb@terabithia$ wine tpPLC.exe 01b1:err:module:import_dll Library packet.dll (which is needed by L"C:\Program Files (x86)\TP-Link\TP-Link PLC Utility\PLCOperation.dll") not found 01b1:err:module:import_dll Library PLCOperation.dll (which is needed by L"C:\Program Files (x86)\TP-Link\TP-Link PLC Utility\tpPLC.exe") not found 01b1:err:module:LdrInitializeThunk Importing dlls for L"C:\Program Files (x86)\TP-Link\TP-Link PLC Utility\tpPLC.exe" failed, status c0000135
It needs "packet.dll", which is a component of winpcap. Wine provides wpcap.dll, but not packet.dll. The exports it wants are PacketOpenAdapter(), PacketRequest(), and PacketCloseAdapter(). I have no idea how hard it would be to implement these.
zeb@terabithia$ du -sh PowerLineUtility_Win_180816.zip 19M PowerLineUtility_Win_180816.zip zeb@terabithia$ sha1sum PowerLineUtility_Win_180816.zip a641c9611bf053d5bb1e730baead5e9e74b3a81c PowerLineUtility_Win_180816.zip
https://bugs.winehq.org/show_bug.cgi?id=47279
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Summary|TP-Link PowerLineUtility |TP-Link PLC utility 2.2 |installs but does nothing |needs 'packet.dll' (part of |(needs "packet.dll" |WinPcap) |implementation) | URL| |https://web.archive.org/web | |/20190227005701/https://sta | |tic.tp-link.com/2018/201809 | |/20180904/PowerLineUtility_ | |Win_180816.zip Keywords| |download
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
adding stable download link.
Imports:
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files (x86)/TP-Link/TP-Link PLC Utility
$ file *.{dll,exe} hyfiinfotran.dll: PE32 executable (DLL) (GUI) Intel 80386, for MS Windows PLCOperation.dll: PE32 executable (DLL) (GUI) Intel 80386, for MS Windows tpPLC.exe: PE32 executable (GUI) Intel 80386, for MS Windows
$ winedump -j import PLCOperation.dll | sed -n '/packet.dll/,/^$/p' offset 00064d48 packet.dll Hint/Name Table: 0006636C TimeDateStamp: 00000000 (Thu Jan 1 01:00:00 1970) ForwarderChain: 00000000 First thunk RVA: 000521C0 Thunk Ordn Name 000521c0 15 PacketOpenAdapter 000521c4 17 PacketRequest 000521c8 1 PacketCloseAdapter
$ winedump -j import PLCOperation.dll | sed -n '/wpcap.dll/,/^$/p' offset 00064d34 wpcap.dll Hint/Name Table: 0006637C TimeDateStamp: 00000000 (Thu Jan 1 01:00:00 1970) ForwarderChain: 00000000 First thunk RVA: 000521D0 Thunk Ordn Name 000521d0 76 pcap_setfilter 000521d4 57 pcap_parsesrcstr 000521d8 31 pcap_freealldevs 000521dc 29 pcap_findalldevs_ex 000521e0 10 pcap_close 000521e4 53 pcap_open 000521e8 19 pcap_dispatch 000521ec 64 pcap_sendpacket --- snip ---
Upstream implementation of 'packet.dll':
https://github.com/wireshark/winpcap/tree/267327e28031d2d3d74c28cf18a08dfbc5...
It interfaces with the Netgroup Packet Filter (NPF), the kernel portion of WinPcap (NDIS filter driver).
$ sha1sum PowerLineUtility_Win_180816.zip a641c9611bf053d5bb1e730baead5e9e74b3a81c PowerLineUtility_Win_180816.zip
$ du -sh PowerLineUtility_Win_180816.zip 19M PowerLineUtility_Win_180816.zip
$ wine --version wine-4.9-378-g48a74277f5
Regards