Enable static IP
To facilitate Wi-Fi certification tests, OEMs can enable a screen from the Wi-Fi settings screen that provides UI elements that allow you to specify a static IP address, gateway address, and DNS server address.
To enable the Static IP UI, set the value of the
EnableStaticIP setting to 1. If the setting is not set, or is set to any value other than 1, the static IP UI is not enabled. When enabled, the Wi-Fi Static IP UI button appears directly below the Advanced button in the Wi-Fi settings screen.
The static IP UI must only be used for certification purposes and not for production or retail devices.
Create a customization answer file using the contents shown in the following code sample.
<?xml version="1.0" encoding="utf-8" ?> <ImageCustomizations xmlns="http://schemas.microsoft.com/embedded/2004/10/ImageUpdate" Name="EnableStaticIP" Description="Use to show the static IP settings in the advanced Wi-Fi settings screen. This customization is for testing purposes only and should not be set in production or retail images." Owner="" OwnerType="OEM"> <Static> <Settings Path="WiFi/Config"> <Setting Name="EnableStaticIP" Value="" /> </Settings> </Static> </ImageCustomizations>
Set the value of
EnableStaticIPto one of the following:
Use to show the Static IP settings under Settings > Wi-Fi > Static IP.
Use to disable the customization.
Flash a build containing this customization to a device.
Go to the Settings > Wi-Fi screen and connect to a Wi-Fi network.
From the Wi-Fi settings screen, verify that you can see the Static IP setting.
Tap Static IP and configure your IP settings.
Reboot the device.