http://bugs.winehq.org/show_bug.cgi?id=30379
Bug #: 30379 Summary: Xuzhou network client error while trying to connect: "Failed to create VPN dynamic, code = 1060" Product: Wine Version: 1.5.1 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: fracting@gmail.com Classification: Unclassified
[reply] [-] Description Qian Hong 2012-04-08 05:21:16 CDT 1. Download Xuzhou network client (徐州电信校园网拨号软件v1.1) from: http://fb.86516.com/adsl/adslrj_files/xiaoyuanDialNew%20v1.1.rar
Unpack the rar archive give us: 校园网认证拨号客户端 v1.1.msi
2. install dependencies for 校园网认证拨号客户端 v1.1.msi : $ winetricks mfc42 Copy native npptools from WinXP
3. install the network client: $ LC_CTYPE=en_US.utf8 msiexec /i 校 园网认证拨号客户端\ v1.1.msi (Bug 10063)
4. Override native rasapi32.dll + rasman.dll, workarounds Bug 30378.
5. start the network client: $ cd ~/.wine/drive_c/windows/system32 $ wine VnetPPPOE.EXE
Actual result: Popup an error message, complaining "Failed to create VPN dynamic, code = 1060". (In Chinese: 动态创建VPN失败, code = 1060 )
Console log is like below: err:rpc:I_RpcGetBuffer no binding err:rpc:I_RpcGetBuffer no binding err:rpc:I_RpcGetBuffer no binding fixme:rtutils:TraceRegisterExW (L"RASAPI32", 0): stub fixme:rtutils:TraceRegisterExW (L"RASAPI32", 0): stub fixme:rtutils:TraceRegisterExW (L"RASAPI32", 0): stub fixme:rtutils:TraceRegisterExW (L"RASAPI32", 0): stub fixme:rtutils:TraceRegisterExW (L"RASAPI32", 0): stub fixme:rtutils:TraceRegisterExW (L"RASAPI32", 0): stub fixme:rtutils:TraceRegisterExW (L"RASAPI32", 0): stub
Expect result: Trying to connect to the authentication server
Addition info: 1. If I modified the TraceRegisterExW function to return TRACE_USE_CONSOLE or TRACE_USE_FILE rather then INVALID_TRACEID, then the application will go a bit further and crash on unimplemented function rtutils.dll.TracePrintfA() .
2. Native rtutils.dll won't give me any more luck, a snoop trace show that rtutils.dll.TracePrintfA() is called, then RASAPI32.RasSetEntryPropertiesA(), then nothing happen...
Will retest once Bug 30378 is fixed
http://bugs.winehq.org/show_bug.cgi?id=30379
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://fb.86516.com/adsl/ad | |slrj_files/xiaoyuanDialNew% | |20v1.1.rar Depends on| |30378
http://bugs.winehq.org/show_bug.cgi?id=30379
--- Comment #1 from Qian Hong fracting@gmail.com 2012-04-08 06:41:30 CDT --- Created attachment 39721 --> http://bugs.winehq.org/attachment.cgi?id=39721 Log: Xuzhou network client fails to create VPN
http://bugs.winehq.org/show_bug.cgi?id=30379
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de
--- Comment #2 from André H. nerv@dawncrow.de 2012-04-08 07:12:54 CDT --- WINEDEBUG=ras,heap might be usefull
http://bugs.winehq.org/show_bug.cgi?id=30379
--- Comment #3 from André H. nerv@dawncrow.de 2012-04-08 07:18:32 CDT --- (In reply to comment #2)
WINEDEBUG=ras,heap might be usefull
sry, wrong bug.
Here the error 1060 tells us: http://www.howtonetworking.com/casestudy/error1060.htm http://www.chicagotech.net/netforums/viewtopic.php?t=5167 So the RASM service does not exist or the registry key of SharedAccess is missing. Maybe it's possible to regsvr32 rasman.dll?
http://bugs.winehq.org/show_bug.cgi?id=30379
--- Comment #4 from Qian Hong fracting@gmail.com 2012-04-08 08:08:04 CDT --- (In reply to comment #3)
(In reply to comment #2)
WINEDEBUG=ras,heap might be usefull
sry, wrong bug.
Here the error 1060 tells us: http://www.howtonetworking.com/casestudy/error1060.htm http://www.chicagotech.net/netforums/viewtopic.php?t=5167 So the RASM service does not exist or the registry key of SharedAccess is missing. Maybe it's possible to regsvr32 rasman.dll?
Thanks very much.
I try regsvr32 rasman.dll, but I got a "DllRegisterServer not implemented in DLL" message.
Then I try to follow the guide in http://www.chicagotech.net/netforums/viewtopic.php?t=5167,
export the registry for rasman from WinXP then import it to Wine, this time I get a crashing at unimplemented function rpcrt4.dll.RpcMgmtInqServerPrincNameW . Sounds like the unimplemented RpcMgmtInqServerPrincNameW() would be an invalid bug for Wine since native dlls are used, so I'll not file a separate bug for it. Looking forward for Bug 30378 then...
http://bugs.winehq.org/show_bug.cgi?id=30379
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE
--- Comment #5 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2012-04-08 11:19:27 CDT --- err:module:import_dll Library NDIS.SYS (which is needed by L"C:\windows\system32\drivers\npf.sys") not found This can't work on Wine.
Don't open multiple bugs for something that won't ever work.
*** This bug has been marked as a duplicate of bug 30378 ***
http://bugs.winehq.org/show_bug.cgi?id=30379
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2012-04-08 11:19:35 CDT --- Closing
http://bugs.winehq.org/show_bug.cgi?id=30379
--- Comment #7 from Qian Hong fracting@gmail.com 2012-04-08 11:39:40 CDT --- (In reply to comment #5)
err:module:import_dll Library NDIS.SYS (which is needed by L"C:\windows\system32\drivers\npf.sys") not found This can't work on Wine.
Don't open multiple bugs for something that won't ever work.
*** This bug has been marked as a duplicate of bug 30378 ***
Hi, Vitaliy
Thanks for point out that, I know ndis.sys which is required by npf.sys will not work on Wine, but in this case we could have another solution, that is André's wpcap proxy which based on libpcap.
I appreciate if you have a look at my wiki: http://code.google.com/p/study-codes-by-fracting/wiki/WinpcapBasedAuthClient...
We have some winpcap based network clients, for example, the Dr.com client is used in more than 300 universities and 60 ISPs.
I'm trying to get AJ accept André's patch, which is referred in Bug 21571. If that happens many university students could connect to the Internet use Linux in their school.
I agree we shouldn't open multiple bugs for something that won't ever work, but maybe this one is different, what's your opinion?
Thanks in advance!
http://bugs.winehq.org/show_bug.cgi?id=30379
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on|30378 |
http://bugs.winehq.org/show_bug.cgi?id=30379
--- Comment #8 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2012-04-08 11:51:59 CDT --- This bug already depends on way too many things that are not implemented at all in Wine. Replacing all of those (ras, npp, etc) can't work.
When you fix those bugs then it makes sense to actually look at this bug. Which can't work either - Wine does not emulate any of the network interfaces. PPPoE requires creation of a new interface and rewriting big parts of Wine.
http://bugs.winehq.org/show_bug.cgi?id=30379
--- Comment #9 from Qian Hong fracting@gmail.com 2012-04-08 12:03:51 CDT --- (In reply to comment #8)
Hi Vitaliy,
This bug already depends on way too many things that are not implemented at all in Wine. Replacing all of those (ras, npp, etc) can't work.
When you fix those bugs then it makes sense to actually look at this bug. Which can't work either - Wine does not emulate any of the network interfaces.
Thanks for explain.
PPPoE requires creation of a new interface and rewriting big parts of Wine.
I understand, my bad. In fact I ever tried on Windows to see if there is new interface created by Xuzhou network client, and I did report this bug after I "confirmed" no interface was created. Now I recognize my "confirmation" is wrong since the interface will only created after the authentication is pass, but the last time I tried it I had no network environment to pass the authentication.
Apologize. Thanks for your hard work for Wine.
Then I have to try to get Dr.com work. I'm sure Dr.com will not create an interface...
https://bugs.winehq.org/show_bug.cgi?id=30379
Saulius K. saulius2@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |saulius2@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=30379
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net URL|http://fb.86516.com/adsl/ad |https://web.archive.org/web |slrj_files/xiaoyuanDialNew% |/20101202011356/http://fb.8 |20v1.1.rar |6516.com/adsl/adslrj_files/ | |xiaoyuanDialNew%20v1.1.rar Component|-unknown |rasapi32