How to Configure the Web Server

How to Configure the Web Server (Windows Embedded CE 6.0)

1/6/2010

You can create a Windows Embedded CE–powered device that functions as a Web Server and enables clients to retrieve Web-based files, and also makes use of the Internet for communication between client devices, network printers, scanners, and other shared equipment.

Setting up a Web Server requires special security considerations. This document shows how to use the registry to optimize security when you configure your Web Server. This document also shows how to connect a client computer to the Web Server and configure the Web Server by using the Web-based network configuration utility included with Windows Embedded CE.

This document makes the following assumptions:

  • Your Platform Builder installation includes CEPC x86 and Emulator x86 board support packages.
  • You have a CEPC already configured. For more information, see How to Set Up a CEPC.
  • The computers that you are using for this scenario are connected to an existing public network through a hub.

The following table shows the devices that are required for this network.

Device name and function Software Configured as

Development workstation and client computer.

Windows 2000 Professional Edition or later with Platform Builder installed.

Development workstation for CEPC and Web Server client.

Windows Embedded CE–powered device functioning as a Web Server.

Windows CE 5.0 or later.

An Enterprise Web Pad with applications. See Creating an OS Design for a Web Server Device for a list of required components.

The following table shows the additional hardware you will need to use the Web Server.

Item Amount

Network adapter for CEPC, compatible with Windows CE 5.0 or later.

1

Ethernet cables

2

Hub

1

Step Topic

1. Create an OS design for your Web Server device.

Creating an OS Design for a Web Server Device

2. Configure your Web Server using the registry and then build the run-time image for your Web Server device.

Configuring the Web Server Registry

3. Choose a Debug or Release configuration to target when Platform Builder builds the OS design into a run-time image.

To use the kernel debugger, make sure that support for the kernel debugger is enabled.

Levels of Debugging Support

Building a Run-Time Image From a Debug Configuration

Building a Run-Time Image From a Release Configuration

4. If you expect the size of either the debug or the release run-time image to exceed 32 MB, enable support for a large run-time image in the settings for the OS design.

Ee500872.note(en-US,WinEmbedded.60).gifNote:
Debug run-time images are typically larger than release run-time images. If you choose a debug configuration and the OS design contains many features, it is likely that the size of the run-time image will exceed 32 MB.

Enabling a Run-Time Image Size Larger Than 32 MB

5. Build the OS design into a run-time image.

Building a Run-Time Image

6. In the Output window, on the Output tab, verify that the build contains no errors.

Build Error Debugging Process

7. Choose a download service appropriate for the connection hardware. The download service will download a run-time image to the CEPC.

Download Service Selection

8. Set up and configure the connection hardware required for the download service. That hardware connects the CEPC to the development workstation, on which Platform Builder is installed. Examples of connection hardware include cables, a hub, or Ethernet network adapters.

Hardware Configuration

9. If you selected Serial Download Service in step 7, configure the HyperTerminal terminal emulation application to display the serial debug output from the serial port on the target device.

This configuration requires a null-modem cable connected to a serial port, such as COM1.

Configuring HyperTerminal for BSPs

10. Turn on the CEPC so that it becomes active on the Ethernet network or over the serial connection, and Platform Builder can discover it.

Not applicable

11. Configure the connection to the CEPC.

Choose the appropriate topic based on whether the development workstation and the CEPC are connected by an Ethernet network or a serial port connection.

Configuring an Ethernet Remote Connection

Configuring a Serial Remote Connection

12. Download the run-time image to the CEPC through the configured connection.

Downloading a Run-Time Image

13. Configure user and group permissions for the Web Server.

Configuring User Permissions for the Web Server

14. Test the Web Server.

Testing the Web Server

Ee500872.note(en-US,WinEmbedded.60).gifNote:
You can create users programmatically by calling the NTLMSetUserInfo function. Windows Embedded CE also exposes the NTLMDeleteUser function, which is used to delete a user name from the local database, and the NTLMEnumUser function, which is used to enumerate a user in a local database.

Community Additions

ADD
Show:
© 2016 Microsoft