http://bugs.winehq.org/show_bug.cgi?id=14185
Summary: Wine 1.0 networking issues - /proc/net/route doesn't exit on Solaris hosts. Product: Wine Version: 1.0.0 Platform: Sun OS/Version: Solaris Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: cmihai@boreas.ro
Applications running in Wine 1.0 on Solaris hosts don't have any networking support. Wine attempts to use /proc/net/route to count route entries. There is no such thing on Solaris hosts.
Instead, it should use something like netstat -rn.
Behaviour:
err:iphlpapi:getNumWithOneHeader Unable to open '/proc/net/route' to count entries! err:iphlpapi:getRouteTable unimplemented!
To test this, I have created a /route file with a similar syntax to Linux /proc/net/route:
cthulhu% cat /route Iface Destination Gateway Flags RefCnt Use Metric Mask MTU Window IRTT iwk00 00000000 0001A8C1 0003 0 0 0 00000000 0 0 0
And have modified wine sources by replacing /proc/net/route with /route in dlls/iphlpapi/ipstats.c
After recompiling wine, I was able to run applications like EVE and connect to the Internet.
Anyway, atm this is just a poor hackjob. It should not use /proc/net on non-Linux hosts at all.