missing ipconfig.exe
missing ipconfig.exe
hey all,
i am trying to run a program called 'kintecus' on a mac. it was originally written for win (and linux) machines, so i ended up using wine (to get the windows version running).
the problem is, it creates a 'unique computer ID' which you have to send to the author in order for it to work (he will provide then a code that allows you to run the program). this is done when it starts for the first time. in my case, the program crashes with the following output:
wine: cannot find L"C:\\windows\\system32\\ipconfig.exe"
File not found
so essentially, it is missing 'ipconfig.exe' for whatever reason in particular.
since other programs can access the internet (firefox), the problem must lay somewhere else.
i was wondering if there was any other program that also has to use 'ipconfig.exe' so that i might simply take the same instructions (e.g. for winetricks).
running wine 1.2rc7 (and kintecus.v3.962), everything should be quite up to date. reinstalling wine (+ deleting ~/.wine) didn't do the job.
i am pretty new to all this stuff, but i did my best in figuring out the problem on my own - up till now.
thanks in advance,
carl
i am trying to run a program called 'kintecus' on a mac. it was originally written for win (and linux) machines, so i ended up using wine (to get the windows version running).
the problem is, it creates a 'unique computer ID' which you have to send to the author in order for it to work (he will provide then a code that allows you to run the program). this is done when it starts for the first time. in my case, the program crashes with the following output:
wine: cannot find L"C:\\windows\\system32\\ipconfig.exe"
File not found
so essentially, it is missing 'ipconfig.exe' for whatever reason in particular.
since other programs can access the internet (firefox), the problem must lay somewhere else.
i was wondering if there was any other program that also has to use 'ipconfig.exe' so that i might simply take the same instructions (e.g. for winetricks).
running wine 1.2rc7 (and kintecus.v3.962), everything should be quite up to date. reinstalling wine (+ deleting ~/.wine) didn't do the job.
i am pretty new to all this stuff, but i did my best in figuring out the problem on my own - up till now.
thanks in advance,
carl
missing ipconfig.exe
came <[email protected]> wrote:
Is this program available as a demo/trial so that I can try to find a workaround?
James McKenzie
ipconfig.exe does not exist in Wine.wine: cannot find L"C:\\windows\\system32\\ipconfig.exe"
File not found
Is this program available as a demo/trial so that I can try to find a workaround?
James McKenzie
Re: missing ipconfig.exe
James Mckenzie wrote:came <[email protected]> wrote:ipconfig.exe does not exist in Wine.wine: cannot find L"C:\\windows\\system32\\ipconfig.exe"
File not found
Is this program available as a demo/trial so that I can try to find a workaround?
James McKenzie
if you work at an educational institution, the license is for free, you have to follow instructions:
http://www.kintecus.com/academic.htm
/carl
-
- Level 2
- Posts: 13
- Joined: Fri Jun 25, 2010 8:42 pm
missing ipconfig.exe
On Wed, Jul 21, 2010 at 12:38 PM, came <[email protected]> wrote:
system.
-Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... chment.htm>
If I'm not mistaken, ipconfig.exe comes installed by default on your WindowsJames Mckenzie wrote:workaround?came <[email protected]> wrote:
ipconfig.exe does not exist in Wine.wine: cannot find L"C:\\windows\\system32\\ipconfig.exe"
File not found
Is this program available as a demo/trial so that I can try to find aJames McKenzie
system.
-Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... chment.htm>
hey thomas,
you are right, ipconfig.exe comes with the 'normal' windows, but not with wine. i tried copying the file (+ some dll's needed) from a windows installation, but that didn't help. in general, i think this should not be done, as it essentially crashes wine (other programs don't start anymore).
best,
carl
you are right, ipconfig.exe comes with the 'normal' windows, but not with wine. i tried copying the file (+ some dll's needed) from a windows installation, but that didn't help. in general, i think this should not be done, as it essentially crashes wine (other programs don't start anymore).
best,
carl
-
- Level 2
- Posts: 13
- Joined: Fri Jun 25, 2010 8:42 pm
Hey carl,
Sorry if the my last post caused any confusion, I haven't tried running ipconfig.exe before on Wine, I was just stating where you could find a copy of it.
Anways, Did you try running ipconfig.exe before copying any other DLLs over? Also, which DLLs did you replace? Were they system DLLs?
To fix this issue of Wine not being able to run other programs I would recommend deleting your wine prefix again (~/.wine). That should clear up the issues caused by coping those DLLs over.
Sorry if the my last post caused any confusion, I haven't tried running ipconfig.exe before on Wine, I was just stating where you could find a copy of it.
Anways, Did you try running ipconfig.exe before copying any other DLLs over? Also, which DLLs did you replace? Were they system DLLs?
To fix this issue of Wine not being able to run other programs I would recommend deleting your wine prefix again (~/.wine). That should clear up the issues caused by coping those DLLs over.
hey,
ipconfig.exe alone won't start, copying the requested dll's (nsi.dll, dhcpcsvc.dll and dhcpcsvc6.dll) doesn't help (it want's more, so to say), copying all dll's ended in not solving the problem and leaving the other wine-programs broken as well.
and exactly when that happened, i reset my system
i am glad that you come up with some ideas!
/carl
ipconfig.exe alone won't start, copying the requested dll's (nsi.dll, dhcpcsvc.dll and dhcpcsvc6.dll) doesn't help (it want's more, so to say), copying all dll's ended in not solving the problem and leaving the other wine-programs broken as well.
and exactly when that happened, i reset my system

i am glad that you come up with some ideas!
/carl
missing ipconfig.exe
came <[email protected]> wrote:
James McKenzie
Solving this may require some effort. However, could you please file a bug report and create an Applications Database entry with this information?hey,
ipconfig.exe alone won't start, copying the requested dll's (nsi.dll, dhcpcsvc.dll and dhcpcsvc6.dll) doesn't help
it want's more, so to say), copying all dll's ended in not solving the problem and leaving the other wine-
programs broken as well.
and exactly when that happened, i reset my system
James McKenzie
What happens if you fool the program by faking a ipconfig.exe?
(On Linux you could try something like :
cp -rf /usr/lib/wine/secedit.exe.so /usr/lib/wine/ipconfig.exe.so
secedit.exe.so is just a stubbed program with no functionality
not sure how this would look like on a MAC; if it doesn;t help the program, just remove the fake ipconfig.exe again: rm -rf /usr/lib/wine/ipconfig.exe.so)
(On Linux you could try something like :
cp -rf /usr/lib/wine/secedit.exe.so /usr/lib/wine/ipconfig.exe.so
secedit.exe.so is just a stubbed program with no functionality
not sure how this would look like on a MAC; if it doesn;t help the program, just remove the fake ipconfig.exe again: rm -rf /usr/lib/wine/ipconfig.exe.so)
missing ipconfig.exe
On Wed, Jul 21, 2010 at 18:38, came <[email protected]> wrote:
Just installing it and staring it reproduces the crash...
I found a way to hack it:
Set up the following in ~/.wine/drive_c/windows/system32/ipconfig.exe:
(You might want to replace the part between the quotes with the output
of 'ipconfig /all' on on of your PCs or it might be considered
cracking the application...)
--------------- Start next line
#!/bin/bash
echo '
Windows IP Configuration
Host Name . . . . . . . . . . . . : mohagvm
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . :
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Desktop Adapter
Physical Address. . . . . . . . . : 08-00-27-A1-D5-A4
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 10.0.2.15
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.0.2.2
DHCP Server . . . . . . . . . . . : 10.0.2.2
DNS Servers . . . . . . . . . . . : 192.168.0.1
208.67.222.222
208.67.220.222
8.8.8.8
Lease Obtained. . . . . . . . . . : 21 July 2010 08:37:08 PM
Lease Expires . . . . . . . . . . : 22 July 2010 08:37:08 PM
'
# --------------- end before this
Then run the following commend to make it executable:
chmod +x ~/.wine/drive_c/windows/system32/ipconfig.exe
Gert
No need to bother with a license for just testing the ipconfig bug....James Mckenzie wrote:if you work at an educational institution, the license is for free, you have to follow instructions:Is this program available as a demo/trial so that I can try to find a workaround?
http://www.kintecus.com/academic.htm
Just installing it and staring it reproduces the crash...
I found a way to hack it:
Set up the following in ~/.wine/drive_c/windows/system32/ipconfig.exe:
(You might want to replace the part between the quotes with the output
of 'ipconfig /all' on on of your PCs or it might be considered
cracking the application...)
--------------- Start next line
#!/bin/bash
echo '
Windows IP Configuration
Host Name . . . . . . . . . . . . : mohagvm
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . :
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Desktop Adapter
Physical Address. . . . . . . . . : 08-00-27-A1-D5-A4
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 10.0.2.15
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.0.2.2
DHCP Server . . . . . . . . . . . : 10.0.2.2
DNS Servers . . . . . . . . . . . : 192.168.0.1
208.67.222.222
208.67.220.222
8.8.8.8
Lease Obtained. . . . . . . . . . : 21 July 2010 08:37:08 PM
Lease Expires . . . . . . . . . . : 22 July 2010 08:37:08 PM
'
# --------------- end before this
Then run the following commend to make it executable:
chmod +x ~/.wine/drive_c/windows/system32/ipconfig.exe
Gert
missing ipconfig.exe
On Wed, Jul 21, 2010 at 22:57, came <[email protected]> wrote:
"Kinectus needs ipconfig.exe" and the relevant logs, ect for the
application makes sense... (it also makes sense to show in the bug
report thast the application is only dependant on ipconifg's output
and doesn't want to use it to change settings) Read through this wiki
page: http://wiki.winehq.org/Bugs people on bugzilla can be somewhat
grumpy if you do certain things...
The AppDB is a good place to past workarounds like this.
Some more things about this hack:
It might be a good idea to take the "ipconfig /all" output of one of
your systems. (I have a Windows XP in virtualbox, which is where I got
that output) The application probably want the MAC address and feeding
it another box with the application's MAC address (see
http://en.wikipedia.org/wiki/MAC_address for background on why the
application would want to use that) might result in a license file for
that box being usable... (This is where the potential crack part come
in..) For applications needing some more output (or performing proper
checks on the output) from ipconfig, it might require some more
editing.
This trick mainly works because Wine allows native applications to run
and that making a shell script work as an executable is really easy...
Gert
A bug report with something like "ipconfig.exe not implemented" orso cool!
thanks a lot, gert - that was great help!
should i still set up this AppDB entry and a bug report?
"Kinectus needs ipconfig.exe" and the relevant logs, ect for the
application makes sense... (it also makes sense to show in the bug
report thast the application is only dependant on ipconifg's output
and doesn't want to use it to change settings) Read through this wiki
page: http://wiki.winehq.org/Bugs people on bugzilla can be somewhat
grumpy if you do certain things...
The AppDB is a good place to past workarounds like this.
Some more things about this hack:
It might be a good idea to take the "ipconfig /all" output of one of
your systems. (I have a Windows XP in virtualbox, which is where I got
that output) The application probably want the MAC address and feeding
it another box with the application's MAC address (see
http://en.wikipedia.org/wiki/MAC_address for background on why the
application would want to use that) might result in a license file for
that box being usable... (This is where the potential crack part come
in..) For applications needing some more output (or performing proper
checks on the output) from ipconfig, it might require some more
editing.
This trick mainly works because Wine allows native applications to run
and that making a shell script work as an executable is really easy...
Gert