none
How to configure ICS Sharing RRS feed

  • Question

  • Hi all,

    I would like to share the internet connection in a WinCE 6.0 device.
    Some forums  indicates that the solution is to configure the ICS.

    Does anyone has an idea?

    Wednesday, June 4, 2014 4:21 PM

Answers

  • I have finally found the solution.

    The register keys could be created manually, but we should first be sure that the OS supports the ICS service.

    I have created the ICS register keys as follow:

    [HKEY_LOCAL_MACHINE\COMM\IntConnection\Parms\Tcpip]
    "IPEnableRouter"=dword:1
    "EnableDHCP"=dword:1
    
    [HKEY_LOCAL_MACHINE\COMM\Tcpip\Parms]
    "IPEnableRouter"=dword:1
    
    [HKEY_LOCAL_MACHINE\COMM\ConnectionSharing]
    "EnablePacketFiltering"=dword:0
    "PublicInterface"=multi_sz:"InternetConn"
    "PrivateInterface"=multi_sz:"RasConn"
    "DHCPLeaseTime" =dword : 0x05A0
    "EnableAddressTranslation"=dword:1
    "EnableDnsProxy"=dword:1
    "EnableDhcpAllocator"=dword:1

    Note: the public interface should be the internet one and the private interface should be in my case PPP interface.



    • Edited by MRAB Wednesday, June 18, 2014 10:24 AM
    • Marked as answer by MRAB Wednesday, June 18, 2014 10:25 AM
    Wednesday, June 18, 2014 10:24 AM

All replies

  • I have found the following MSDN link
    http://msdn.microsoft.com/en-us/library/ee494904%28v=winembedded.60%29.aspx

    In the Connection Sharing Registry Settings rubric, it is indicated that it is required to configure some registry keys under HKEY_LOCAL_MACHINE\Comm\ConnectionSharing.

    But I cannot found the ConnectionSharing registry entry under HKEY_LOCAL_MACHINE\Comm.
    Is this means that the ICS is not supported in my device

     

    Wednesday, June 4, 2014 4:48 PM
  • Hi,

    You need to add these registry entries by yourself. Connection Sharing will work once the proper entries have been configured.

    Add the entries to platform.reg/osdesign.reg.

    Regards,

    Balaji.



    • Edited by balajitrv1 Thursday, June 5, 2014 8:52 AM
    Thursday, June 5, 2014 8:48 AM
  • The Following link will give you the required details :

    http://msdn.microsoft.com/en-us/library/ee493266.aspx

    You need to add these settings to your project.reg file or OSDesign.reg file manually and build the run time image.

    --- Misbah


    Senior Design Engineer T.E.S Electroni Solutions (Bangalore-India) www.tes-dst.com email-misbah.khan@tes-dst.com

    Thursday, June 5, 2014 9:13 AM
  • I do not have the OS design project.

    how can I add the entries to platform.reg/osdesign.reg?

    If I will create these registry entries manually, is that solve the problem and activate the ICS service?

    I suppose that I should contact the device manufacturer to include the ICS option in the WinCE OS.
    • Edited by MRAB Thursday, June 5, 2014 9:34 AM
    Thursday, June 5, 2014 9:16 AM
  • I have finally found the solution.

    The register keys could be created manually, but we should first be sure that the OS supports the ICS service.

    I have created the ICS register keys as follow:

    [HKEY_LOCAL_MACHINE\COMM\IntConnection\Parms\Tcpip]
    "IPEnableRouter"=dword:1
    "EnableDHCP"=dword:1
    
    [HKEY_LOCAL_MACHINE\COMM\Tcpip\Parms]
    "IPEnableRouter"=dword:1
    
    [HKEY_LOCAL_MACHINE\COMM\ConnectionSharing]
    "EnablePacketFiltering"=dword:0
    "PublicInterface"=multi_sz:"InternetConn"
    "PrivateInterface"=multi_sz:"RasConn"
    "DHCPLeaseTime" =dword : 0x05A0
    "EnableAddressTranslation"=dword:1
    "EnableDnsProxy"=dword:1
    "EnableDhcpAllocator"=dword:1

    Note: the public interface should be the internet one and the private interface should be in my case PPP interface.



    • Edited by MRAB Wednesday, June 18, 2014 10:24 AM
    • Marked as answer by MRAB Wednesday, June 18, 2014 10:25 AM
    Wednesday, June 18, 2014 10:24 AM