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.
http://bugs.winehq.org/show_bug.cgi?id=14185
--- Comment #1 from Lei Zhang thestig@google.com 2008-07-06 13:56:57 --- Does Solaris support NET_RT_DUMP? It seems that would be a better way than mucking around with /proc, and there's already code in iphlpapi to use NET_RT_DUMP.
http://bugs.winehq.org/show_bug.cgi?id=14185
--- Comment #2 from Luke Bratch l_bratch@yahoo.co.uk 2008-07-07 01:36:22 --- Criveti, do not reply to wine-bugs, please post in Bugzilla. Email read:
"Don't think so."
http://bugs.winehq.org/show_bug.cgi?id=14185
Vit Hrachovy vit.hrachovy@sandbox.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |vit.hrachovy@sandbox.cz
--- Comment #3 from Vit Hrachovy vit.hrachovy@sandbox.cz 2008-08-13 14:04:16 --- I can see the same problem in Wine 1.1.2, OpenSolaris.
http://bugs.winehq.org/show_bug.cgi?id=14185
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
--- Comment #4 from Austin English austinenglish@gmail.com 2008-08-13 14:30:41 --- *** Bug 14829 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=14185
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |testcase
--- Comment #5 from Austin English austinenglish@gmail.com 2008-08-13 14:31:46 --- Confirming. You can also use the wininet/http test to see the same effect.
http://bugs.winehq.org/show_bug.cgi?id=14185
Albert Lee trisk+winehq@acm.jhu.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |trisk+winehq@acm.jhu.edu
--- Comment #6 from Albert Lee trisk+winehq@acm.jhu.edu 2008-10-10 17:02:06 --- https://pkgbuild.svn.sourceforge.net/svnroot/pkgbuild/spec-files-extra/trunk... implements almost all of the network statistics in iphlpapi. EVE Online reportedly still has problems with this patch applied (while a different solution for the routing table works), so some of the route entries returned may be unexpected by Windows applications.
http://bugs.winehq.org/show_bug.cgi?id=14185
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2009-03-25 05:23:49 --- This is implemented now.
http://bugs.winehq.org/show_bug.cgi?id=14185
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org 2009-03-27 13:52:36 --- Closing bugs fixed in 1.1.18.
http://bugs.winehq.org/show_bug.cgi?id=14185
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Platform|sparc |Other
--- Comment #9 from Austin English austinenglish@gmail.com 2013-03-11 18:11:07 CDT --- Deprecating sparc platform.