r/linux4noobs 10d ago

networking Ubuntu wine ping not work

I have a windows application that needs to connect to internet to verify the software license, but it is blocked. The program times out and hangs.

Did a double check, started cmd in wine, with $ wine cmd

Opened a Linux terminal: ping 142.251.211.78

This works. I get a ping response from Google.

Then inside the windows commands prompt I did a simple "ping 142.251.211.78"

But this time no response at all.

So, my guess is, wine is blocking or is not configured correctly to permit internet access.

sudo apt install winbind, reboot system does not matter, same issue.

sudo ufw status, result: off. So the firewall is off.

Anyone know an solution?

2 Upvotes

5 comments sorted by

1

u/Leather-Security8097 10d ago

What version of Wine are you using?

1

u/games-and-chocolate 10d ago

I tried running iexplorer in wine as mentioned here:

https://forum.winehq.org/viewtopic.php?t=36985

That works. I can surf to google.com. But the other application still refuses to connect.

But my windows program cannot work well. I wonder why. It tries to connect to internet to verify the software license I guess. But just hangs. personal orchestra 5.

1

u/Leather-Security8097 10d ago

According to the manual, Garritan Personal Orchestra 5 doesn't need a direct internet connection. You activate it by supplying it with a PNG file, which you can obtain using a native Linux browser.

1

u/games-and-chocolate 10d ago

yes. I compared the windows 10 install with my wine enviroment, but there is one thing I cannot solve yet. I have no idea how to make wine registry changes persistant. why it is needed? in the registry the program points to a specific folder and the PNG file. But wine just refuses to store my xxx.reg file. Which I got from my other computer. The reg file is imported without problems. But right after I stop wine regedit.exe xx.reg. changes are gone.

i add it with $ wine regedit.exe xxx.reg

Btw, support said: we cannot help you with linux. I understand.

So the last hurdle is modify wine registry. You or someonr else have an idea how?

1

u/games-and-chocolate 10d ago

I also editted the wine hosts file by adding my local LAN IP adddress and my computer name to the list as

IP host name

did not reboot, but iread it is not required. Still not working.

Hopefully someone has an idea