Wine networking problem

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
mastahyeti
Level 1
Level 1
Posts: 5
Joined: Fri Dec 17, 2010 2:54 pm

Wine networking problem

Post by mastahyeti »

Hello,
I am trying to get my day-trading application (schwab street smart pro) to run in wine and seem to have gotten further than most who have tried. I have gotten the program to run, but the networking isn't working. The application isn't able to connect back to its trade server. The faq said to update my /etc/hosts. I did this and it didn't work. I ran wireshark while trying to connect to the server and I saw the DNS request (ipv4) coming from wine. My local dns server responded with the correct ipv4 address, but then I saw another request for the ipv6 address of the same domain. The dns server responded "no such name". I am wondering if there is some way in wine to disable all ipv6 networking. Also, if anyone has further troubleshooting suggestions, they would be much appreciated. Thanks.
mastahyeti
Level 1
Level 1
Posts: 5
Joined: Fri Dec 17, 2010 2:54 pm

Post by mastahyeti »

also, is it maybe possible that the dns response didn't make it back to the application and this is why it is then looking for a ipv6 address? Thanks again.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Wine networking problem

Post by vitamin »

mastahyeti wrote:I am wondering if there is some way in wine to disable all ipv6 networking.
Yes, see your distro's documentation. Typically it's something like:

Code: Select all

sudo echo 'install ipv6 /bin/true' > /etc/modprobe.d/ipv6.conf
swan
Level 1
Level 1
Posts: 7
Joined: Wed Dec 01, 2010 5:41 pm

Post by swan »

I am also trying to get Street Smart to work. I'm a bit newer to Wine and apps debugging. See my thread: http://forum.winehq.org/viewtopic.php?p=53716
mastahyeti
Level 1
Level 1
Posts: 5
Joined: Fri Dec 17, 2010 2:54 pm

Post by mastahyeti »

I am running sspro in playonlinux because it was the only way I could successfully get .net20 to install. I am afraid though that I am not getting the full output of errors on the command line even though I launched playonlinux from the terminal. How can I run an application that I installed with playonlinux using normal wine? I am unsure of how to specify the alternate prefix. Thanks.
mastahyeti
Level 1
Level 1
Posts: 5
Joined: Fri Dec 17, 2010 2:54 pm

Post by mastahyeti »

Alright, I figured out how to run from this prefix in wine without playonlinux. Here is the output I am getting


fixme:sync:CreateMemoryResourceNotification (0) stub
err:ole:CoGetContextToken apartment not initialised
fixme:shell:URL_ParseUrl failed to parse L"msvcm80"
Added 0006009A to map.
fixme:shell:URL_ParseUrl failed to parse L"System"
fixme:shell:URL_ParseUrl failed to parse L"System.Configuration"
fixme:shell:URL_ParseUrl failed to parse L"System.Xml"
fixme:thread:NtQueryInformationThread info class 16 not supported yet


I am going to try disabling ipv6 now.
mastahyeti
Level 1
Level 1
Posts: 5
Joined: Fri Dec 17, 2010 2:54 pm

Post by mastahyeti »

alright, I tested it with ipv6 disabled and it got rid of the second dns query, but still no connection. I also tried manually resolving the ipaddress in /etc/hosts and then I didn't see any dns queries. Still no connection to server though. Any thoughts on a next step in diagnosing this? Thanks.
swan
Level 1
Level 1
Posts: 7
Joined: Wed Dec 01, 2010 5:41 pm

Post by swan »

Looks like we're both stuck at the same point have you made any headway?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

swan wrote:Looks like we're both stuck at the same point have you made any headway?
Tried this? http://wiki.winehq.org/FAQ#head-702afb4 ... ef7cb47f6a
swan
Level 1
Level 1
Posts: 7
Joined: Wed Dec 01, 2010 5:41 pm

Post by swan »

vitamin wrote:
swan wrote:Looks like we're both stuck at the same point have you made any headway?
Tried this? http://wiki.winehq.org/FAQ#head-702afb4 ... ef7cb47f6a
Thanks for the pointer, looks hopeful, but alas, there is no such library for
Fedora 14 (what I'm using), and I guess I'm not smart enough to google
a solution. Only thing I come up with is that 32 bit support in Fedora
is "undocumented". Heavy sigh.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

swan wrote:Only thing I come up with is that 32 bit support in Fedora
is "undocumented".
Several solutions:
- Install FC14 32-bit version
- Use any other 64-bit distro with full 32-bit support
swan
Level 1
Level 1
Posts: 7
Joined: Wed Dec 01, 2010 5:41 pm

Post by swan »

vitamin wrote:
swan wrote:Only thing I come up with is that 32 bit support in Fedora
is "undocumented".
Several solutions:
- Install FC14 32-bit version
- Use any other 64-bit distro with full 32-bit support
Tried it with 32 bit Ubuntu with no joy to be found.
Locked