[Bug 14185] New: Wine 1.0 networking issues - /proc/net/route doesn't exit on Solaris hosts.
wine-bugs at winehq.org
wine-bugs at winehq.org
Sun Jun 29 13:24:15 CDT 2008
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 at winehq.org
ReportedBy: cmihai at 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.
--
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