Naming Network Interfaces on a Run-Time Image
5/10/2007
Before you can use the Net Shell (Netsh) utility, you must assign names to the network interfaces you want to configure.
If you are using the Explorer shell, these interfaces are automatically named when the system start. For example, "Local Area Connection" or "Wireless Network Connection".
However, if you are running a shell other than Explorer, you must manually register the names of each network interface on the system.
To name a network interface on your run-time image
Display the current network interfaces names using the following Netsh command:
netsh interface ip show address
If the network connections are not named, you must call the HrRenameConnection function.
Call the HrRenameConnection function to name the network interface by using the following command:
rundll32 netshell.dll HrRenameConnection
If your device has more than one network card, each network card is assigned a unique name.
Verify the networking interface has been named by running the following command:
netsh interface ip show address
The networking interface should default to a generic name, such as "Local Networking Connection".
After your network interface is named, use the Netsh utility to configure it. For more information, see Configuring a Static IP Address on a Run-Time Image or Configuring a Dynamic IP Address on a Run-Time Image.
Display the current network interfaces names using the following Netsh command:
netsh interface ip show address
If the network connections are not named, you must call the HrRenameConnection function.
Call the HrRenameConnection function to name the network interface by using the following command:
rundll32 netshell.dll HrRenameConnection
If your device has more than one network card, each network card is assigned a unique name.
Verify the networking interface has been named by running the following command:
netsh interface ip show address
The networking interface should default to a generic name, such as "Local Networking Connection".
After your network interface is named, use the Netsh utility to configure it. For more information, see Configuring a Static IP Address on a Run-Time Image or Configuring a Dynamic IP Address on a Run-Time Image.
See Also
Tasks
Adding Netsh Support to a Run-Time Image
Concepts
How to Configure a Static IP Address on a Run-Time Image