Posts mit dem Label ubuntu werden angezeigt. Alle Posts anzeigen
Posts mit dem Label ubuntu werden angezeigt. Alle Posts anzeigen

Donnerstag, 8. April 2010

Install vbrun60sp6.exe in wine

On my Ubuntu 9.10 installation,

wine vbrun60sp6.exe

failed with the following error message:

fixme:setupapi:SetupDefaultQueueCallbackW notification 262144 params 32f970,0
err:setupapi:SetupDefaultQueueCallbackW copy error 0 L"C:\\windows\\temp\\IXP000.TMP\\OLEAUT32.DLL" -> L"C:\\windows\\system32\\OLEAUT32.DLL"
fixme:setupapi:SetupDefaultQueueCallbackW notification 262144 params 32f970,0
err:setupapi:SetupDefaultQueueCallbackW copy error 0 L"C:\\windows\\temp\\IXP000.TMP\\OLEPRO32.DLL" -> L"C:\\windows\\system32\\OLEPRO32.DLL"
fixme:ole:DllRegisterServer stub

The reason for this seems to be already existing OLEAUT32.DLL and OLEPRO32.DLL.

Luckily, I found a similar issue in Ubuntuforums. This is what I did:

cd ~/.wine/drive_c/windows/system32
mv oleaut32.dll  oleaut32.dll_backup
mv olepro32.dll olepro32.dll_backup

Create a file temp.reg with the following lines:

REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\DllOverrides]
"asycfilt"="native"
"comcat"="native"
"msvbvm60"="native"
"oleaut32"="native"
"oleaut32"="native"
"olepro32"="native"
"stdole2.tlb"="native"

Then run

wine regedit temp.reg

and finally

wine vbrun60sp6.exe

This should do the job.

Donnerstag, 25. Juni 2009

Compiling Cisco VPN client on Linux #1

It's a neverending story: Compiling a Cisco VPN client on your Linux box is a real pain in the... sorry, I lost my temper. Every time you update your kernel it's mere luck whether the client compiles or not. Let me express it diplomatically: The Cisco guys don't have their main focus on maintaining the Linux sources.

When you google your way through the different support forums, you learn that most of the hints only work for one specific kernel version on one specific Distribution. So all I can say for the solution below, is: It worked for me, it might not work for you.

"Why don't you use vpnc?" I hear you ask. The answer is: I tried, but I failed to adapt my certificates and configuration to vpnc. My attempts ended up in obscure error messages. If someone knows how to do this, please drop me a line.

Here is what I did:

Tested system: Linux wo.nz 2.6.28-13-generic #44-Ubuntu SMP Tue Jun 2 07:57:31 UTC 2009 i686 GNU/Linux

Download the VPN client here (in my case vpnclient-linux-x86_64-4.8.01.0640-k9.tar.gz) and untar the archive.

tar xfvz Desktop/vpnclient-linux-x86_64-4.8.01.0640-k9.tar.gz

Download the patches here. For me,
vpnclient-linux-2.6.24-final.diff did the job.

cd to vpnclient and apply the patches

all@wo.nz:~/vpnclient$ patch -p1 < ~/Desktop/vpnclient-linux-2.6.24-final.diff
patching file GenDefs.h
patching file interceptor.c

After that, compile your client as usual

./vpn_install

This worked well for me, but I assume the compile errors will come back, so I choose to put a number in this article's headline.

Good luck!