[Bug 7929] C&C 3 network does not work

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Sep 30 16:13:42 CDT 2011


--- Comment #120 from Erich Hoover <ehoover at mines.edu> 2011-09-30 16:13:42 CDT ---
(In reply to comment #119)
> ...
> It returned "which wine-preloader (No such file or directory)"

If that's the case then it didn't setup the capabilities correctly.  Provided
that you compiled Wine and installed it to the "standard" prefix then this
should do it:
sudo setcap cap_net_raw+epi /usr/local/bin/wine-preloader

If you installed Wine somewhere else then you'll need to replace
"/usr/local/bin/wine-preloader" with the correct path.  If you don't know what
that path is then you can search your computer for the wine-preloader binary.

> ...
> May I be missing something?

Apparently that application is a little noise, this should focus in on the
right information:
WINEDEBUG="+winsock" wine NameOfApplication.exe 2>&1 | grep interface_bind

However, if I'm right (above) then that's just going to tell you that the
CAP_NET_RAW capability is not set.

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list