I am trying to install Metatrader under Wine. The program setup continually requests proxy settings. My broker tells me this shouldn't happen, and is a problem on my end. Here is what I have tried to attempt to solve this error:

  • I have gone into Network settings and proxy is set to none.
  • I have looked in Wine Regedit and proxy_enable is set to 0.
  • I have checked the firewall settings on my modem.
  • I have tried reinstalling wine.
  • I have installed lib32nss-mdns
  • I can log on to my modem in iexplore using the gateway ip but thats it I've set my DNS to to reflect the gateway I've set up a 32 bit Wine prefix

How should I proceed in solving this?

  • I see they have in the instruction a command for installing 1.5 version. I hope you didn't install that version? Because it's really ancient, nowadays you'd rather use at least 1.7 or 1.8. – Hi-Angel Feb 12 '16 at 7:30
  • 1
    Appdb says it's enough to install libgnutls28:i386 package. But I tried to test it, and for me that didn't work (wine-1.9.2 btw). As it is worked before, guess they changed something which broke their executable in wine. You can either report a bug to wine team, or — which is better — report the bug to the brokers, because since they decided to support Ubuntu not with building a separate executable, but rather with Wine, then the burden of resolving Wine bugs is on their shoulders. – Hi-Angel Feb 12 '16 at 8:04
  • Tried installing libgnutls28:i386 but still no luck. I now have Metatrader installed in XP under Virtual Box. I'll tray again with Wine after the next update. Installed from the 15.10 Ubuntu repo. Thanks for the suggestions. – Allan Feb 14 '16 at 7:00

You need to install winhttp.dll, the following command would work:

winetricks winhttp

If any 404 error occurs when downloading W2KSP4_EN.EXE, try manually downloaded this file from the Wayback Machine here. and put it under $HOME/.cache/winetricks/win2ksp4/, Then rerun winetricks winhttp.

EDIT: Some people are having trouble with the Wayback Machine link. Another source is this from the Free University of Berlin FTP Archives.

| improve this answer | |

Turned out to be a real newbie problem, a little embarrassing. I hadn't added the correct repo and was installing from an old repo. (Ubuntu 12.04 I think). Added the winehq repo and reinstalled. All working fine now. Was wondering why I was only getting 1.6.2.

| improve this answer | |
  • 1
    I don't think it's a "newbie problem". I'm having the same issue, and if I'm running ubuntu 16.04 I expect "sudo apt-get install wine" to get a recent version of wine that will work on Ubuntu 16.04. If it gets an older/broken version, something is wrong in Ubuntu as a distribution. – matteo Sep 16 '17 at 20:24

I have just installed Metatrader 4 on Lubuntu 16.04 with wine 1.9.16. Internet issue is solve by installing winbind:

sudo apt install winbind

It should help for any other version of Ubuntu.

Winbind is a component of the Samba suite of programs that solves the unified logon problem. Winbind uses a UNIX implementation of Microsoft RPC calls.

| improve this answer | |
  • 1
    didn't change a thing. – matteo Sep 16 '17 at 20:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.