Partager via


Configuring the Access Point Registry (Windows CE 5.0)

Send Feedback

After you create the basic OS design for your wireless access point, you must add a set of registry settings to project.reg to configure your access point as a network bridge.

To configure the access point registry

  1. In Platform Builder, from the Workspace window, choose the ParameterView tab at the bottom of the window.

  2. Expand the <OS design name> parameters node and navigate to the %_WINCEROOT%\CEPC\Project Specific Files folder.

  3. Double click project.reg to open the file.

  4. Add the following registry keys and values at the bottom of the file:

    [HKEY_LOCAL_MACHINE\Comm\NATIVEWIFI\PARAMETERS\ADAPTERS\RTL8180_NWIFI\AP]
       "DesiredSSID"="Native_Wifi_Access_Point"
       "MaxNumOfAssociations"=dword:a
       "AutoFreqSelectionEnabled"=dword:0
       "AccessPointState"=dword:1
    
    [HKEY_LOCAL_MACHINE\Comm\MBridge]
       "DisplayName"="Microsoft Mac Bridge Miniport"
       "Group"="NDIS"
       "ImagePath"="MBridge.dll"
       "DisableSTA"=dword:01
       "Bind"=multi_sz:"PCI\\NE20001","RTL8180_NWIFI"
    
    [HKEY_LOCAL_MACHINE\Comm\MBridge\Linkage]
       "Route"=multi_sz:"MBRIDGE1"
    [HKEY_LOCAL_MACHINE\Comm\MBridge1]
       "DisplayName"="Microsoft Mac Bridge Adapter"
       "Group"="NDIS"
    
    [HKEY_LOCAL_MACHINE\Comm\MBridge1\Parms]
       "BusNumber"=dword:0
       "BusType"=dword:0
    
    [HKEY_LOCAL_MACHINE\Comm\MBridge1\Parms\TcpIp]
       "EnableDHCP"=dword:1
       "DefaultGateway"=""
       "UseZeroBroadcast"=dword:0
       "IpAddress"="0.0.0.0"
       "Subnetmask"="0.0.0.0"
    
    [HKEY_LOCAL_MACHINE\Comm\RTL8180_NWIFI\Parms]
        "ProtocolsToBindTo"=multi_sz:"MBRIDGE"
    [HKEY_LOCAL_MACHINE\Comm\PCI\NE20001\Parms]
        "ProtocolsToBindTo"=multi_sz:"MBRIDGE"
    
    [HKEY_LOCAL_MACHINE\Comm\ConnectionSharing]
       "PublicInterface"="VMINI1"
       "PrivateInterface"="MBRIDGE1"
       "EnableAddressTranslation"=dword:1
       "EnableDHCPAllocator"=dword:1
       "EnableDNSProxy"=dword:1
       "DHCPLeaseTime"=dword:60
       "EnablePacketFiltering"=dword:1
       "InternalExposedHost"=""
    
    [HKEY_LOCAL_MACHINE\Comm\MBRIDGE1\Parms\TcpIp]
       "EnableDHCP"=dword:0
       "AutoCfg"=dword:0
       "IpAddress"="192.168.0.1"
       "Subnetmask"="255.255.0.0"
    

    This example uses the VMINI adapter for the public interface, PCI\NE20001 for the private interface, and RTL8180_NWIFI for the wireless LAN interface. A static IP address of 192.168.0.1 is assigned to the private interface.

    This example bridges the wired and the wireless LAN into one subnet. This example uses an NE 2000 adapter for the wired LAN and an RTL 8180 Native Wi-Fi adapter for the wireless LAN. If you use a different adapter for your LAN interface, you must replace the PCI\NE20001 and RTL8180_NWIFI values in the above registry example with the appropriate adapter name. For information about the supported network cards and interface names, see the Driver Support section under Gateway Hardware Requirements.

  5. Save and close project.reg.

See Also

How to Build a Wireless Access Point Using Windows CE

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.