What is requiered for a valid DHCP client?

S

Santiago Allen

Hi all,

Im having some troubles getting my XPE image to connect to my network
via dhcp. I added the following components to my image

Core Networking
TCP/IP utilities
DHCP Client Service

When I run IPconfig it says I have no IP address. IPconfing /renew
reports a missing interface. What component is missing?

Thanks in advance

Santiago Allen
 
K

KM

Santiago,

Is it Winlogon or Minlogon image?

Add these components:
- IP Router Monitor Library
- Network Command Shell
- Network Command Shell Interface Context
 
S

Santiago Allen

Hi KM,

Thanks for the help, this is a minlogon image.

Ive added the components you describe and tried the following command:
netsh interface ip set address "Local Area Connection" dhcp

but it returns the following

Class not Registered
DHCP is already enabled on this interface.


and Ipconfig continues to report I have no IP address.

Thanks in advance
 
K

KM

Santiago,

Since it is Minlogon image (no Explorer Shell), you will have to name the "Local Area Connection" to be able to use it with, say,
netsh.
Please run the following command: "rundll32 netshell.dll HrRenameConnection".

Also, add the following components:
Remote Access Monitory
Network Diagnostics
Home Networking Monitory Library
TCP/IP Version 6 Utilities

--
Regards,
KM, BSquare Corp.

Hi KM,

Thanks for the help, this is a minlogon image.

Ive added the components you describe and tried the following command:
netsh interface ip set address "Local Area Connection" dhcp

but it returns the following

Class not Registered
DHCP is already enabled on this interface.


and Ipconfig continues to report I have no IP address.

Thanks in advance
 
S

Santiago Allen

Thanks Km,

I cant seem to find the Remote access monitory ....I find a Remote
Access Monitor...is this just a typo? Im afraid to assume that Because
I found Home Networking Monitory Library just fine. I dont know if its
important but im using SP2

Thanks again
 
K

KM

Santiago,

This is a good catch. I never bothered to pay attention to that "y" at the end.

You certainly need "Remote Access Monitor" component for using with Netsh.

The "Remote Access Monitory" is also there in the database (old, XPE RTM revision only) but we are not able to see it with TD
Component Browser. I am not sure why, since the component visibility=1000, but this is the fact.
 
S

Santiago Allen

Hi Km,

Thanks again, Im still running into some error though. When I use
netsh commands, the first line returned is always "The following helper
DLL cannot be loaded: IPV6MON.DLL." However this dll is in
windows\system32. Running IPconfig now returns some strange results


IP Address : 0.0.0.0
Subnet Mask : 0.0.0.0
IP Address : fe80::203::2dff:fe03:b97a%4
Default Gateway : (blank)
DHCP Server : fec0:0:0:ffff::1%1
DNS Servers : fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1

Does any of this make sense?

Thanks again,

Santiago
 
K

KM

Santiago,

Well.. The IPConfig output does make sense - it just shows you the IPv6 addresses.
Btw, this means you are getting an IP (IPv6) :)

For the netsh problem I'd either:
- add "TCP/IP Version 6 Service" component
- remove "TCP/IP Version 6 Utilities" component (and all IPv6 related components)
 
K

KM

Santiago,

I didn't notice earlier but where is the "Dhcp Enabled. . . . . . . . . . . : XX" line in your ipconfig output?
Please launch "ipconfig /all" command instead to se if DHCP was enabled (most likely it was).

--
Regards,
KM, BSquare Corp.

PS. When you deal with network issues and unless you just want to see the IP on default NIC, I'd suggest you to always use "ipconfig
/all" command.
 
S

Santiago Allen

Hi KM,

Yes DHCP enabled was yes. I think I need a no V6 address because our
network isnt TCP/IP version 6. What can I do to get a standard IP
address?

Thanks again

Santiago Allen
 
K

KM

Santiago,

As I mentioned in previous message - you can remove all IPv6 related components you added with TCP/IP IPv6 components.

When you remove it, let us know the output from "ipconfig /all" and how netsh works on your image.
 
S

Santiago Allen

Hi KM,

Here are my results after removeing the V6 components.


Pre-netsh IPconfig /all

DHCP enabled: Yes
Autoconfiguration Enabled : Yes
IP Address : 0.0.0.0
Subnet Mask : 0.0.0.0
Default Gateway : (Blank)
DHCP Server: 255.255.255.255

Next Step run "rundll32 netshell.dll HrRenameConnection"
No Change in IPconfig - connection name is "Local Area Connection"

Next "netsh interface ip set address "Local Area Connection" dhcp"
Output: Warning: Could not Obtain host information from maching...
Provider Type Not Defined
DHCP is already enabled on this
interface

ipconfig /all

DHCP Enabled : Yes
Autoconfiguration Enabled : Yes
IP address : 0.0.0.0
Subnet Mask : 0.0.0.0
Default Gateway : 0.0.0.0
DHCP Server : 255.255.255.255


Im starting to wonder about something. I noticed that the TCP/IP V6
components added a miniport to my image configuration. Is it possible
that I need a miniport of some kind?
 
S

Santiago Allen

I notice a difference between my development station and my XPE image
both are on the same network.

The Windows IP Configuration Section of IPconfig /all shows:

Development PC:
Node Type: Hybrid
DNS Suffix Search List :

XPE Image:
Node Type: Broadcast
No Dns Suffix Search List

Networking is definately not my forte so im not sure if this is a sign
of the actual problem or not.

Thanks in advanced
 
K

KM

Santiago,

As an experiment, can you add the following reg.entry to your runtime and see if it helps:
[HKLM\SYSTEM\CurrentControlSet\Services\NetBT\Parameters], "DhcpNodeType"=dword:8 (is it current set to "2" on your image?)
 
S

Santiago Allen

Hi KM,

Thanks for all your help, I finally got DHCP working. The fix was
adding "Client for Microsoft Networks". I assume that I simply didnt
understand the network I was trying to connect to. It would have been
nice to not need this component for footprint reasons.

Thanks again,

Santiago
 
K

KM

Santiago,

I am glad you fixed it.
Well... You may not need the "Client for Microsoft Networks" macro with all its dependencies. But you definitely need "Netmscli Inf"
component. You can try to add only this one and see if it works. If it doesn't, SetupApi.log will show you where it failed and
what's missing.

--
Regards,
KM, BSquare Corp.

PS. I was certainly under impression you've got the MS network client in your image, otherwise I wouldn't ask about NetBT
reg.entries :)
 
S

Santiago Allen

Thanks KM,

Ill try your suggestion of just adding the one inf file. I never added
client for microsoft networks because I was under the impression that
Core networking was all I needed for the network my image will connect
to. I was told by the local network gurus that all I needed was TCP
and raw UDP. So I figured that the core networking component and the
DHCP client component were good enough. Thanks again.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top