WinPcap and Wine

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
K01
Newbie
Newbie
Posts: 2
Joined: Fri Dec 01, 2017 11:20 am

WinPcap and Wine

Post by K01 » Fri Dec 01, 2017 11:34 am

Hey Everyone!

I know this topic has been going on a lot and i search every ware for the problem i facing trying to find any solutions.
i have a Windows application that required WinPcap to be installed to run correctly.

i read someone saying it is imposable to do! and other has find a way around it (Bug 21571).
and i think Wine now has wrappers for the pcap but it did not work!

it will appreciated for any advice about the Wine and WinPcap current situation.

Thanks!

User avatar
DarkShadow44
Level 8
Level 8
Posts: 1108
Joined: Tue Nov 22, 2016 5:39 pm

Re: WinPcap and Wine

Post by DarkShadow44 » Sat Dec 02, 2017 5:44 pm

It should work, wine has a wrapper for wpcap. What program are you trying to run?

K01
Newbie
Newbie
Posts: 2
Joined: Fri Dec 01, 2017 11:20 am

Re: WinPcap and Wine

Post by K01 » Mon Dec 04, 2017 12:54 am

something like Wireshark, when i install Wireshark i can't find any interfaces on it to capture the packets.

when i install WinPcap it show an error in the installation process:
"an error occurred while installing the Microsoft Network Monitor Drive (NetMon)"

- Note: the program is not Wireshark, but if Wireshark worked the program that i'm using will work.

User avatar
DarkShadow44
Level 8
Level 8
Posts: 1108
Joined: Tue Nov 22, 2016 5:39 pm

Re: WinPcap and Wine

Post by DarkShadow44 » Mon Dec 04, 2017 2:00 pm

Isn't a linux program an alternative? Such programs aren't easy on wine.

madewokherd
Level 3
Level 3
Posts: 73
Joined: Mon Jun 02, 2008 5:03 pm
Contact:

Re: WinPcap and Wine

Post by madewokherd » Mon Dec 04, 2017 5:01 pm

Wine contains a builtin replacement for winpcap (wpcap.dll). You shouldn't need to install the Windows version, and it won't work.

For wine's pcap replacement to work, you will need libpcap to be present (including a 32-bit version, if your windows program is 32-bit) and configured for your user. You will also need Wine to be built with pcap support, which you can check by looking for wpcap.dll.so in /usr/lib/wine and /usr/lib64/wine.

Locked