FIX: A Windows CE 5.0 based device is automatically assigned a linklocal IP address when a Dynamic Host Configuration Protocol (DHCP) server does not respond in 1000 ms to a device DHCP client discovery request (924785)



The information in this article applies to:

  • Microsoft Windows CE 5.0

SYMPTOMS

When a Dynamic Host Configuration Protocol (DHCP) server does not respond in 1000 ms to a Microsoft Windows CE 5.0-based device DHCP client discovery request, the Windows CE 5.0-based device is automatically assigned an IP address. This automatic IP addressing process is known as Auto-IP. Additionally, Auto-IP assigns a linklocal IP address of 169.254.0.0 with a subnet mask address of 255.255.0.0.

CAUSE

This problem occurs because the time-out value that is defined in the DHCP_TIMEOUT_AUTOCFG environment variable is too low for some DHCP servers to reply to a DHCP discovery request.

RESOLUTION

Software update information

A supported software update is now available from Microsoft as Windows CE 5.0 Platform Builder Monthly Update (September 2006). You can confirm this by scrolling to the "File information" section of this article. The package file name contains the product version, date, Knowledge Base article number, and processor type. The package file name format is:

Product version-yymmdd-kbnnnnnn-processor type

For example: Wincepb50-060503-kb917590-armv4i.msi is the ARMV4i Windows CE 5.0 Platform Builder fix that is documented in KB article 917590 and that is contained in the May 2006 monthly update. To resolve this problem immediately, click the following article number for information about obtaining Windows CE Platform Builder and core operating system software updates:

837392 How to locate core operating system fixes for Microsoft Windows CE Platform Builder products

Prerequisites

This software update is supported only if all previously issued software updates for this product have also been applied.

Restart requirement

After you apply this software update, you must perform a clean build of the whole operating system. To clean the operating system, click Clean on the Build menu. To build the operating system, click Build Platform on the Build menu. You do not have to restart the computer after you apply this software update.

Software update replacement information

This software update does not replace any other software updates.

File information

The English version of this software update package has the file attributes or the later file attributes that are listed in the following table.
File nameFile sizeDateTime
Wincepb50-060920-kb924785-armv4i.msi642,04820-Sep-200621:52
Wincepb50-060920-kb924785-mipsii.msi651,26420-Sep-200621:52
Wincepb50-060920-kb924785-mipsii_fp.msi651,26420-Sep-200621:52
Wincepb50-060920-kb924785-mipsiv.msi653,31220-Sep-200621:52
Wincepb50-060920-kb924785-mipsiv_fp.msi653,31220-Sep-200621:52
Wincepb50-060920-kb924785-sh4.msi638,97620-Sep-200621:52
Wincepb50-060920-kb924785-x86.msi625,15220-Sep-200621:52
The English version of this software update has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
File nameFile sizeDateTimePath
Dhcp.c84,70408-Sep-200601:01Private\Winceos\Comm\Dhcp
Dhcpp.h9,55008-Sep-200601:01Private\Winceos\Comm\Dhcp
Packet.c32,63308-Sep-200601:01Private\Winceos\Comm\Dhcp
Dhcp.lib312,27608-Sep-200601:00Public\Common\Oak\Lib\Armv4i\Debug
Dhcp.lib166,34808-Sep-200601:00Public\Common\Oak\Lib\Armv4i\Retail
Dhcp.lib317,26608-Sep-200601:00Public\Common\Oak\Lib\Mipsii\Debug
Dhcp.lib171,31208-Sep-200601:00Public\Common\Oak\Lib\Mipsii\Retail
Dhcp.lib317,30408-Sep-200601:01Public\Common\Oak\Lib\Mipsii_fp\Debug
Dhcp.lib171,33208-Sep-200601:01Public\Common\Oak\Lib\Mipsii_fp\Retail
Dhcp.lib321,62808-Sep-200601:01Public\Common\Oak\Lib\Mipsiv\Debug
Dhcp.lib172,42608-Sep-200601:01Public\Common\Oak\Lib\Mipsiv\Retail
Dhcp.lib321,67008-Sep-200601:01Public\Common\Oak\Lib\Mipsiv_fp\Debug
Dhcp.lib172,44808-Sep-200601:01Public\Common\Oak\Lib\Mipsiv_fp\Retail
Dhcp.lib281,33808-Sep-200601:00Public\Common\Oak\Lib\Sh4\Debug
Dhcp.lib154,97208-Sep-200601:00Public\Common\Oak\Lib\Sh4\Retail
Dhcp.lib276,55408-Sep-200601:00Public\Common\Oak\Lib\X86\Debug
Dhcp.lib149,66808-Sep-200601:00Public\Common\Oak\Lib\X86\Retail

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

This hotfix added a new registry subkey that lets you configure a custom default time-out value. The following registry subkey indicates a default value of 1000 ms (3E8 hexadecimal):

HKEY_LOCAL_MACHINE\Comm\<AdaptorName>\Parms\TCPIP

"AutoTimeout"=dword:3E8


Modification Type:MajorLast Reviewed:10/6/2006
Keywords:kbQFE kbfix kbBug kbpubtypekc KB924785 kbAudDeveloper kbAudITPRO