none
RAS Server/PPPTP Server (Incoming) RRS feed

  • Question

  • Hi!

    I'm trying to create incoming connection with my device (WEC 2013 on board) using modem. It's my goal. Some time ago I did it for device with WEC 6, but with WEC 2013 I have some trouble.

    So I need ppp.dll, which is built from static libraries:

    ppp2lcp.lib PPP Link Control Protocol (LCP)
    ppp2auth.lib authorization
    ppp2ncp.lib PPP Network Control Protocol (NCP)
    ppp2ccp.lib PPP Compression Control Protocol (CCP)
    ppp2ipcp.lib PPP Internet Protocol Control Protocol (IPCP)
    pppipv6cp.lib PPP Internet Protocol Version 6 Control Protocol (IPV6CP)
    ppp2ras.lib Remote Access Server
    ppp2app.lib Point to Point Protocol (PPP)
    ppp2ndis.lib Ndis TAPI utilities
    ppp2srv.lib PPP Server development module
    ppp2srvstub.lib PPP Server implementation module - the stub is used instead of ppp2srv.lib when the incoming server functions are disabled

    The source code for the implementation of these libraries is here:
    "c: \ WINCE600 \ PRIVATE \ WINCEOS \ COMM \ PPP2 \ PPP"

    All these libraries are successfully compiled in the corresponding directory:
    "c: \ WINCE600 \ PUBLIC \ COMMON \ OAK \ LIB \ X86 \ DEBUG \"
    or
    "c: \ WINCE600 \ PUBLIC \ COMMON \ OAK \ LIB \ X86 \ RETAIL \"
    depending on the build option is "debugging" or "working"

    The build script for the modules is described in the makefile: "c: \ WINCE600 \ PUBLIC \ COMMON \ CESYSGEN \ makefile"

    Microsoft provides ready-made (compiled static libraries). If in the Project (Catalog Item) the checkbox "RAS Server / PPPTP Server (Incoming)" is selected, then the environment variable SYSGEN_PPP_SERVER is set, depending on this option, ppp2srv.lib or ppp2srvstub.lib is included in the ppp.dll assembly.
    And everything works after configuring some settings in the registry associated with the modems.
    So it's in WEC 6.

    When I try to use ppp.dll in WEC2013, I found that the commands associated with the incoming PPP server produce errors with code 87 - ERROR_INVALID_PARAMETER (for example, the command "RASCNTL_SERVER_LINE_ADD" or the command "RASCNTL_SERVER_ENABLE"). These commands are simply not implemented.

    In WEC2013, when ppp.dll is built, the ppp2srv.lib is completely missing. Also in the source code there is no functionality associated with the initialization and connection of the PPP server.

    I was able to recompile to WEC 2013 some libraries, using WEC 6 source code libraries. But I can't find source code:
    ppp2auth.lib authorization
    ppp2ccp.lib PPP Compression Control Protocol (CCP)
    pppipv6cp.lib PPP Internet Protocol Version 6 Control Protocol (IPV6CP)

    Therefore,  used libraries compiled by Microsoft. But when I trying to establish a modem connection. The connection is normal, but it is muted on the test user name and password.

    I have a suspicion about the module "ppp2auth.lib". Source code for this lib Microsoft is not provide.




    • Edited by yurus Monday, October 1, 2018 8:18 AM
    Monday, October 1, 2018 8:17 AM

Answers

  • Sure, go here: https://support.microsoft.com/en-ph/assistedsupportproducts

    Start typing "Compact 2013" in the box and click "Windows Embedded Compact 2013" from the list that will appear below, then simply follow the on-screen instructions.

    You will have to pull your credit card, but if this turns out to be a bug you should not have to pay in the end.


    Good luck,

    Michel Verhagen, eMVP
    Check out my blog: https://guruce.com/blog

    GuruCE
    Microsoft Embedded Partner
    NXP Proven Partner
    https://guruce.com
    Consultancy, training and development services.

    Interested in WEC on i.MX6?
    Get the only 100% stable and best performing i.MX6 BSP for WEC7 and WEC2013 here: https://guruce.com/imx6

    • Marked as answer by yurus Tuesday, October 2, 2018 1:52 PM
    Tuesday, October 2, 2018 8:01 AM
    Moderator

All replies

  • Sounds like a case for Microsoft tech support to me... Better hurry, mainstream support ends in 7 days (9 Oct 2018).

    Good luck,

    Michel Verhagen, eMVP
    Check out my blog: https://guruce.com/blog

    GuruCE
    Microsoft Embedded Partner
    NXP Proven Partner
    https://guruce.com
    Consultancy, training and development services.

    Interested in WEC on i.MX6?
    Get the only 100% stable and best performing i.MX6 BSP for WEC7 and WEC2013 here: https://guruce.com/imx6

    Tuesday, October 2, 2018 7:26 AM
    Moderator
  • Sounds like a case for Microsoft tech support to me... Better hurry, mainstream support ends in 7 days (9 Oct 2018).

    Good luck,

    Michel Verhagen, eMVP


    Dear Michel, thank you for your answer!

    But I have never contacted MS tech support. Could you please explain to me how I can do it?
    Tuesday, October 2, 2018 7:56 AM
  • Sure, go here: https://support.microsoft.com/en-ph/assistedsupportproducts

    Start typing "Compact 2013" in the box and click "Windows Embedded Compact 2013" from the list that will appear below, then simply follow the on-screen instructions.

    You will have to pull your credit card, but if this turns out to be a bug you should not have to pay in the end.


    Good luck,

    Michel Verhagen, eMVP
    Check out my blog: https://guruce.com/blog

    GuruCE
    Microsoft Embedded Partner
    NXP Proven Partner
    https://guruce.com
    Consultancy, training and development services.

    Interested in WEC on i.MX6?
    Get the only 100% stable and best performing i.MX6 BSP for WEC7 and WEC2013 here: https://guruce.com/imx6

    • Marked as answer by yurus Tuesday, October 2, 2018 1:52 PM
    Tuesday, October 2, 2018 8:01 AM
    Moderator
  • If I go to https://support.microsoft.com/en-ph/gp/offerprophone?forceorigin=esmc I can see that the price for single support incindent is 499 USD, but when I follow to https://support.microsoft.com/en-ph/assistedsupportproducts I have price for single support incindent 5190 (PHP),  but I can't understand in what currency it's?


    • Edited by yurus Wednesday, October 3, 2018 9:05 AM
    Wednesday, October 3, 2018 7:43 AM
  • This is in Philippine Peso's...

    Change the URL from en-ph to en-us to get USD.


    Good luck,

    Michel Verhagen, eMVP
    Check out my blog: https://guruce.com/blog

    GuruCE
    Microsoft Embedded Partner
    NXP Proven Partner
    https://guruce.com
    Consultancy, training and development services.

    Interested in WEC on i.MX6?
    Get the only 100% stable and best performing i.MX6 BSP for WEC7 and WEC2013 here: https://guruce.com/imx6

    Thursday, October 4, 2018 8:14 AM
    Moderator
  • Thank you!
    Thursday, October 4, 2018 9:01 AM