DevHeads.net

WINE on CentOS 7

Hi All - I have wine installed from EPEL on CentOS 7.

My .exe is running except I dont seem to have network ?
So I tried a ping command.

wine ping 192.168.1.1

0009:err:winediag:IcmpCreateFile Failed to use ICMP (network ping), this
requires special permissions.
Pinging 192.168.1.1 [192.168.1.1] with 32 bytes of data:
PING: transmit failed. General failure.
^C0028:fixme:console:CONSOLE_DefaultHandler Terminating process 8 on event 0

wine ipconfig /all

output looks all fine.

Is there something special to do for network access under wine ???

Thanks,

Jerry

Comments

Re: WINE on CentOS 7

By Gordon Messmer at 04/10/2019 - 16:53

On 4/10/19 9:18 AM, Jerry Geis wrote:

Try a test other than "ping".  "ping" must be set-uid root or have
appropriate capabilities indicated in the filesystem in order to operate:

$ getcap /usr/bin/ping
/usr/bin/ping = cap_net_admin,cap_net_raw+p

"wine" would need the same, which isn't advisable.  Generally, you
shouldn't expect Windows ping to work.  Everything that doesn't need
access to create raw network frames should.