Setting IP address

  • Thread starter Thread starter Todd H
  • Start date Start date
T

Todd H

Hello,

What is the recommended way of:

1) Seeing which Network Interfaces are on my XPe target (I want to make sure
the NIC drivers are in my image).

2) Setting the IP address of each of the NIC ports? How is this done?

Also, is there anything speciial I need to have in my image to perform
these 2 functions?

Thanks,
Todd
 
Todd,

Beside some useful and easy to use 3rd party tools (like ipchange), you can change IP settings directly in registry (some related
info can be found here: http://km-dev.blogspot.com/search?q=ipchange)

You can also use Netsh utility to work with the NICs on at run time. You will have to include NetShell components. Read though the
docs on what components are required. Here is the appropriate sections and articles:
http://msdn2.microsoft.com/en-us/library/ms838602.aspx, http://msdn2.microsoft.com/en-us/library/aa940055.aspx
 
Device Manager and the network control panel are good to spot if the drivers
are loaded or not. Netshell or the Control Panel can be used to set the IP.

Components:

Netshell
Device Manager
TCP/IP Utilities

--
Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit
 
Be sure that you will include NIC drivers on your image. If your NIC Drivers isn't available in the driver database, you can simply add it using Component Designer.

1. Open Component Designer.
2. File>Import...
3. Browse through your NIC drivers folder in your Drivers CD-ROM, and look for the appropriate version of your OS, and look for the .inf file in it.
4. Then after Importing, save your SLD file as NIC.sld
5. Open Component Database Manager
6. Import the SLD file you've just created.
7. Then refresh/reopen Target Designer.
 
Back
Top