LINUX.ORG.RU

wine и сеть


0

1

система x86_64 wine 32bit.
Игры запускает, работает. Префикс удалял.

$ rpm -qa i586* | grep wine
i586-libwine-vanilla-1.3.36-alt1
i586-wine-vanilla-1.3.36-alt1
i586-wine-gecko-1.4-alt1
i586-libwine-vanilla-twain-1.3.36-alt1
i586-libwine-vanilla-gl-1.3.36-alt1

нет доступа к сети из wine. Проверил tramviewer и opera.

Ничего внятного в запуске не вижу.

wine .wine/drive_c/Program\ Files/Opera/opera.exe
fixme:process:SetProcessDEPPolicy (3): stub
fixme:heap:HeapSetInformation 0x110000 0 0x33f4d4 4
fixme:heap:HeapSetInformation 0x5df000 0 0x33f4d4 4
fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented
fixme:dwmapi:DwmIsCompositionEnabled 0x33ee10
fixme:imm:ImmGetOpenStatus (0x152710): semi-stub
fixme:imm:ImmReleaseContext (0x100b8, 0x152710): stub
fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented
fixme:dwmapi:DwmExtendFrameIntoClientArea (0x100b8, 0x33f078) stub
fixme:winsock:WSACancelAsyncRequest ((nil)),stub
fixme:winsock:WSACancelAsyncRequest ((nil)),stub
fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented
fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented
fixme:winsock:WSACancelAsyncRequest ((nil)),stub
^Cfixme:console:CONSOLE_DefaultHandler Terminating process 8 on event 0
fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented
fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented

Запустил wineconsole, сетевые интерфейсы вроде те, но пинг не работает.

★★★★
Ответ на: комментарий от avertex

Видимо у тебя дебиан, так что тебе надо apt-get install lib32nss-mdns

у меня альт и мне надо было apt-get install i586-glibc-nss

Копал здесь wiki.winehq.org/FAQ

Решил тут https://bugzilla.altlinux.org/show_bug.cgi?id=26811

на заметку для Ъ

Why doesn't DNS resolve in 64-bit operating systems?

Many distributions don't provide all the 32-bit compatibility libraries that wine needs. In this case, wine needs 32-bit DNS libraries. On Ubuntu/Debian, this package is lib32nss-mdns. To install it on those OSes, use:

sudo apt-get install lib32nss-mdns

For other operating systems, the package name and installation method may differ. Consult your distribution's support channels.

My program fails to do networking, but my other applications can get online

Note: These instructions are for older Wine installs. If you're using Wine 1.x and your application still fails to do networking, you can give this a try as well. If you're running Wine 1.x and below instructions work for you, file a bug so we can fix Wine to improve other people's experience.

You need to make sure that your hostname resolves to the IP address of your network interface. To verify if you have this problem run hostname -i. If it returned IP address starting from «127.» then read on.

To set this up correctly, you can type the following from a terminal:

hostname

This will return your hostname the way your computer sees it. Now, you need to open an editor with system administrator privileges, how you do this will depend on the distribution you are using. Open the file /etc/hosts and see if there is an entry for your hostname. Assuming your hostname is «yourhost» and your network IP address is 192.168.0.23, the entry might look like this:

127.0.0.1 yourhost.yourdomain.com yourhost

Change this to (or add, if there is no such line):

192.168.0.23 yourhost.yourdomain.com yourhost

For most Windows games with networking problems, this is all you need to get networking to work.

GreyDoom ★★★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.