LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-05-2016, 09:51 AM   #1
pherms
LQ Newbie
 
Registered: Sep 2015
Posts: 4

Rep: Reputation: Disabled
Program running in wine does not have internet access


Hi all,

I hope someone here can help me with this issue, because it's driving me crazy.
I have this windows program which is not available on Linux, so I have to use wine to run it. So, on my Ubuntu 15.10 system I have installed wine 1.9.4, following the installation guide on winehq.org, including the latest wine_gecko and wine-mono.

After that I have installed the program using the PlayOnLinux installation scripts, which did complete succesfully. Now when I start the program it cannot connect to the internet.

I have tried to remove libnss-mdns and install lib32nss-mdns. I have also edited the /etc/nsswitch.conf file, so the line reads hosts: files dns myhostname mdns4.

I have also edited /etc/NetworkManager/NetworkManager.conf and commented out the line dns=dnsmasq, so that /etc/resolv.conf contains the correct DNS nameservers for my network, instead of the default 127.0.1.1.

I have exported WINEARCH-win32.

But still after all this, the program running in wine still has no network access.
Now I suspect the problem is somewhere in Ubuntu, because when I quickly setup an Arch install in a VM running xfce, and install lib-nss, edit /etc/nsswitch.conf, install wine, wine_gecko and wine-mone, install the same program and run it, it does have internet access without any problems.

Does anybody know how I can enable this program running on wine, to connect to the internet?
 
Old 03-05-2016, 01:18 PM   #2
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,667

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
Quote:
I have tried to remove libnss-mdns and install lib32nss-mdns. I have also edited the /etc/nsswitch.conf file, so the line reads hosts: files dns myhostname mdns4.
I have also edited /etc/NetworkManager/NetworkManager.conf and commented out the line dns=dnsmasq, so that /etc/resolv.conf contains the correct DNS nameservers for my network, instead of the default 127.0.1.1.
I think there is no need to do this. Windows application does not understand anything about them. The problem has something to do, usually to my experience, with the wine configuration. There is a small box configuring wine wherein libraries are set, or that, running them should be allowed locally only or not.

Suggestion: go to wine org to find relevant help, they have good community sharing plenty of wine experience. Here there are less wine users, I for one only drink wine, but not computing with wine .

Hope that helps. Good luck and enjoy.

m.m.
 
Old 03-05-2016, 02:39 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,677

Rep: Reputation: 3334Reputation: 3334Reputation: 3334Reputation: 3334Reputation: 3334Reputation: 3334Reputation: 3334Reputation: 3334Reputation: 3334Reputation: 3334Reputation: 3334
I guess ports/firewall.

If you installed wine of the exact build then there might be an issue to prove OS but I'd guess different build.

Why did you add in all the other things for this unknown program?

The vm may not prove same as real hardware but it should.
 
Old 03-06-2016, 06:56 AM   #4
pherms
LQ Newbie
 
Registered: Sep 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank you all for your reactions.

Quote:
Why did you add in all the other things for this unknown program?
I did all these things I described in my first post, because I cannot get this program to work. And when a program doesn't work, I start to find a solution so it will work. One of these solutions I've found was one I mentioned in my first post, about installing the lib32nss-mdns library and all that. Here is a link to that:

http://ramblingfoo.blogspot.nl/2008/...-on-amd64.html

Unfortunately that didn't work.

Last edited by pherms; 03-06-2016 at 07:00 AM.
 
Old 03-06-2016, 06:38 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,517

Rep: Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619
Quote:
I have this windows program which is not available on Linux,
----
because I cannot get this program to work.
well what is this unknown windows program ?

if you are not going to tell us then there is not much we can do
 
Old 03-07-2016, 12:46 AM   #6
pherms
LQ Newbie
 
Registered: Sep 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
This windows program is metatrader 4.
 
Old 03-07-2016, 02:59 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,677

Rep: Reputation: 3334Reputation: 3334Reputation: 3334Reputation: 3334Reputation: 3334Reputation: 3334Reputation: 3334Reputation: 3334Reputation: 3334Reputation: 3334Reputation: 3334
I'd start over with a clean install of ubuntu. Who knows what you have now.

Then I might install wine or crossover office's product.

See this page. https://webcache.googleusercontent.c...&ct=clnk&gl=us
 
Old 03-10-2016, 04:31 AM   #8
nickmartin
LQ Newbie
 
Registered: Feb 2016
Posts: 4

Rep: Reputation: Disabled
Theses issues sometimes occurs in Ubuntu too as if when we try to run notepad++ using wine it doesn't simply configure. Well from my point of view there is nothing to do about it understanding your issue.As of trying the same issue Windows application does not understand anything about them. The problem has something to do, usually to my experience, with the wine configuration. i must recommend you to do the same with some other linux operating system. You must try Clearos operating system. It might Helps you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wine: How do I input into a running Wine Program with Cyrillic Characters? Riddick Linux - Software 3 08-16-2009 11:58 AM
wine not running program bloodyscript Linux - Newbie 3 03-17-2009 11:42 AM
running a program w/ wine zentarzan Linux - Software 2 10-24-2006 08:05 PM
wine: program not running exigent Linux - Software 8 06-04-2006 03:29 AM
Running a program with wine. Chuong Linux - Software 6 06-04-2006 03:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration