Article ID: 924785 - Last Review: October 20, 2006 - Revision: 1.2 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 requestOn This PageSYMPTOMSWhen 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.
CAUSEThis problem occurs because the time-out value that is defined in the DHCP_TIMEOUT_AUTOCFG environment variable is too short for some DHCP servers to reply to a DHCP discovery request. RESOLUTIONSoftware update informationA 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
(http://support.microsoft.com/kb/837392/
)
How to locate core operating system fixes for Microsoft Windows CE Platform Builder products PrerequisitesThis software update is supported only if all previously issued software updates for this product have also been applied.Restart requirementAfter 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 informationThis software update does not replace any other software updates.File informationThe English version of this software update package has the file attributes or the later file attributes that are listed in the following table.Collapse this table
Collapse this table
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. MORE INFORMATIONThis 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 To help troubleshoot the various times, add the following debug code. Open the <WINCE500>\PRIVATE\WINCEOS\COMM\DHCP\PACKET.C file, and then replace line 966 with the following two lines.
| Article Translations
|
Back to the top
