DHCP client



Johannes
07-10-2005, 02:51 AM
Hi all

I have a problem with the services called DHCP-client and TCP/Ip NetBIOS
helper. I cant get them started and am therefor not able to get an IP adresse
from my router.

I have tried to repair winsock, reinstall nic, reinstall protocols and
nothing has helped.

I get an error message in the system log everytime I turn on the PC. It says
that a unit connected to the PC is not working. But all my hardware is good.
There is no malfunctioning hardware...

I'm pretty lost here. Anyone got a suggestion?

Chuck
07-10-2005, 02:51 AM
On Thu, 12 May 2005 20:14:04 -0700, "Johannes"
<Johannes@discussions.microsoft.com> wrote:

>Hi all
>
>I have a problem with the services called DHCP-client and TCP/Ip NetBIOS
>helper. I cant get them started and am therefor not able to get an IP adresse
>from my router.
>
>I have tried to repair winsock, reinstall nic, reinstall protocols and
>nothing has helped.
>
>I get an error message in the system log everytime I turn on the PC. It says
>that a unit connected to the PC is not working. But all my hardware is good.
>There is no malfunctioning hardware...
>
>I'm pretty lost here. Anyone got a suggestion?

Johannes,

Under Services, look at Properties for each of those services, on the
Dependencies tab. Make sure that all services listed there, and the services
that they depend upon, are started.

On my computer, TCP/IP NetBIOS Helper depends upon AFD Networking and NetBIOS
Over TCP/IP. DHCP Client depends upon both of those, plus TCP/IP Protocol
Driver. Those services depend upon other services, too.

Is TCP/IP, and NetBIOS Over TCP/IP, installed on this computer?

Did you actually test the network card (Device Properties - Troubleshoot)?

Can you copy the exact error from the Event Log, and paste here? That would
help a bit.

--
Cheers,
Chuck
http://nitecruzr.blogspot.com/
Paranoia is not necessarily a bad thing - it comes from experience.
My email is AT DOT
actual address pchuck sonic net.

Johannes
07-10-2005, 02:51 AM
"Chuck" wrote:

> On Thu, 12 May 2005 20:14:04 -0700, "Johannes"
> <Johannes@discussions.microsoft.com> wrote:
>
> >Hi all
> >
> >I have a problem with the services called DHCP-client and TCP/Ip NetBIOS
> >helper. I cant get them started and am therefor not able to get an IP adresse
> >from my router.
> >
> >I have tried to repair winsock, reinstall nic, reinstall protocols and
> >nothing has helped.
> >
> >I get an error message in the system log everytime I turn on the PC. It says
> >that a unit connected to the PC is not working. But all my hardware is good.
> >There is no malfunctioning hardware...
> >
> >I'm pretty lost here. Anyone got a suggestion?
>
> Johannes,
>
> Under Services, look at Properties for each of those services, on the
> Dependencies tab. Make sure that all services listed there, and the services
> that they depend upon, are started.
>
> On my computer, TCP/IP NetBIOS Helper depends upon AFD Networking and NetBIOS
> Over TCP/IP. DHCP Client depends upon both of those, plus TCP/IP Protocol
> Driver. Those services depend upon other services, too.
>
> Is TCP/IP, and NetBIOS Over TCP/IP, installed on this computer?
>
> Did you actually test the network card (Device Properties - Troubleshoot)?
>
> Can you copy the exact error from the Event Log, and paste here? That would
> help a bit.
>
> --
> Cheers,
> Chuck
> http://nitecruzr.blogspot.com/
> Paranoia is not necessarily a bad thing - it comes from experience.
> My email is AT DOT
> actual address pchuck sonic net.
>

I checked the services that they depend on. IPSEC is started and running but
I cant find AFD. I ran Everest and the report said that AFD is up and running

AFD AFD afd.sys 5.1.2600.2180 Kernel Driver Running

I have TCP/IP and NetBIOS over TCP/IP installed. I should say that when I
give the NIC a static IP adresse I can connect to my network and the router.

I've tried to troubleshoot the NIC. No problems found.

I'll try to copy the error msg. Only problem is that I'm running a danish
version of XP, so I have translated it the best I could.

The service DHCP-clientprogram is depending on the service NetBIOS over
TCP/IP, that couldnt be started due to the following error:
A unit connected to the system doesnt work.

The event ID is 7001

Then there is a similar error, but for the TCP/IP NetBIOS helper. Same event
ID.

The third error has ID 7026 and is:

The following boot-start- or system-driver could not be read: NetBT

Hope this can help find the problem. And thanks for the fast reply :-)

/Johannes

Johannes
07-10-2005, 02:51 AM
"Chuck" wrote:

> On Thu, 12 May 2005 20:14:04 -0700, "Johannes"
> <Johannes@discussions.microsoft.com> wrote:
>
> >Hi all
> >
> >I have a problem with the services called DHCP-client and TCP/Ip NetBIOS
> >helper. I cant get them started and am therefor not able to get an IP adresse
> >from my router.
> >
> >I have tried to repair winsock, reinstall nic, reinstall protocols and
> >nothing has helped.
> >
> >I get an error message in the system log everytime I turn on the PC. It says
> >that a unit connected to the PC is not working. But all my hardware is good.
> >There is no malfunctioning hardware...
> >
> >I'm pretty lost here. Anyone got a suggestion?
>
> Johannes,
>
> Under Services, look at Properties for each of those services, on the
> Dependencies tab. Make sure that all services listed there, and the services
> that they depend upon, are started.
>
> On my computer, TCP/IP NetBIOS Helper depends upon AFD Networking and NetBIOS
> Over TCP/IP. DHCP Client depends upon both of those, plus TCP/IP Protocol
> Driver. Those services depend upon other services, too.
>
> Is TCP/IP, and NetBIOS Over TCP/IP, installed on this computer?
>
> Did you actually test the network card (Device Properties - Troubleshoot)?
>
> Can you copy the exact error from the Event Log, and paste here? That would
> help a bit.
>
> --
> Cheers,
> Chuck
> http://nitecruzr.blogspot.com/
> Paranoia is not necessarily a bad thing - it comes from experience.
> My email is AT DOT
> actual address pchuck sonic net.
>

Just a small thing. I noticed in the Everest report that the NetBT kernel
service isnt started. How can I start it? Could that explain the problem?

Regards
Johannes

Chuck
07-10-2005, 02:51 AM
On Fri, 13 May 2005 06:34:03 -0700, "Johannes"
<Johannes@discussions.microsoft.com> wrote:

>
>
>"Chuck" wrote:
>
>> On Thu, 12 May 2005 20:14:04 -0700, "Johannes"
>> <Johannes@discussions.microsoft.com> wrote:
>>
>> >Hi all
>> >
>> >I have a problem with the services called DHCP-client and TCP/Ip NetBIOS
>> >helper. I cant get them started and am therefor not able to get an IP adresse
>> >from my router.
>> >
>> >I have tried to repair winsock, reinstall nic, reinstall protocols and
>> >nothing has helped.
>> >
>> >I get an error message in the system log everytime I turn on the PC. It says
>> >that a unit connected to the PC is not working. But all my hardware is good.
>> >There is no malfunctioning hardware...
>> >
>> >I'm pretty lost here. Anyone got a suggestion?
>>
>> Johannes,
>>
>> Under Services, look at Properties for each of those services, on the
>> Dependencies tab. Make sure that all services listed there, and the services
>> that they depend upon, are started.
>>
>> On my computer, TCP/IP NetBIOS Helper depends upon AFD Networking and NetBIOS
>> Over TCP/IP. DHCP Client depends upon both of those, plus TCP/IP Protocol
>> Driver. Those services depend upon other services, too.
>>
>> Is TCP/IP, and NetBIOS Over TCP/IP, installed on this computer?
>>
>> Did you actually test the network card (Device Properties - Troubleshoot)?
>>
>> Can you copy the exact error from the Event Log, and paste here? That would
>> help a bit.

>Just a small thing. I noticed in the Everest report that the NetBT kernel
>service isnt started. How can I start it? Could that explain the problem?
>
>Regards
>Johannes

Johannes,

Can you look at the Properties for the NetBT kernel service (Control Panel -
Administrative Tools - Services). What is the complete Path to executable for
that service? Is that one of the services that DHCP-client and TCP/Ip NetBIOS
helper depend upon?

Try and be specific here - you said previously that you reinstalled protocols.
What protocols did you re install? Did you reset TCP/IP?
http://support.microsoft.com/?id=299357

Start - Run - "cmd". Type "netsh int ip reset c:\netsh.txt" into the command
window.

--
Cheers,
Chuck
http://nitecruzr.blogspot.com/
Paranoia is not necessarily a bad thing - it comes from experience.
My email is AT DOT
actual address pchuck sonic net.

Johannes
07-10-2005, 02:51 AM
Well, dont know how but I got the PC fixed :-)

It was the notice you made about the AFD that got me on the track. Since
both AFD and NetBT isnt in the service list, I checked the regestry for
enteries and found that NetBT had its own entry. I deleted it and hope that
it would be rebuilt if I did a Winsock repair. Sadly, it didnt...

So I borrowed my roommates PC and exportet the NetBT entry to imported it on
my PC, deleted the entries under
HKLM/system/CCS/services/netbt/parameters/interface as I figures that those
interfaces was the ones on his PC and not on mine. Then I removed my NICs and
reinstalled them and tadaa, there was new entries under interfaces. A restart
and the NetBT kernelservice could be started by TCP/IP NetBIOS helper and
DHCP-client. And my wireless NIC got an IP adress from the DHCP-server again
:-)

So, I figure that the error was some bad entries in the Regestry under
NetBT. Either that or some corrupt file that was fixed when I used the sfc
/scannow command.

Anyway, thanks a mill for youre reply! They got me on the right track :-)

/Johannes

"Chuck" wrote:

> On Fri, 13 May 2005 06:34:03 -0700, "Johannes"
> <Johannes@discussions.microsoft.com> wrote:
>
> >
> >
> >"Chuck" wrote:
> >
> >> On Thu, 12 May 2005 20:14:04 -0700, "Johannes"
> >> <Johannes@discussions.microsoft.com> wrote:
> >>
> >> >Hi all
> >> >
> >> >I have a problem with the services called DHCP-client and TCP/Ip NetBIOS
> >> >helper. I cant get them started and am therefor not able to get an IP adresse
> >> >from my router.
> >> >
> >> >I have tried to repair winsock, reinstall nic, reinstall protocols and
> >> >nothing has helped.
> >> >
> >> >I get an error message in the system log everytime I turn on the PC. It says
> >> >that a unit connected to the PC is not working. But all my hardware is good.
> >> >There is no malfunctioning hardware...
> >> >
> >> >I'm pretty lost here. Anyone got a suggestion?
> >>
> >> Johannes,
> >>
> >> Under Services, look at Properties for each of those services, on the
> >> Dependencies tab. Make sure that all services listed there, and the services
> >> that they depend upon, are started.
> >>
> >> On my computer, TCP/IP NetBIOS Helper depends upon AFD Networking and NetBIOS
> >> Over TCP/IP. DHCP Client depends upon both of those, plus TCP/IP Protocol
> >> Driver. Those services depend upon other services, too.
> >>
> >> Is TCP/IP, and NetBIOS Over TCP/IP, installed on this computer?
> >>
> >> Did you actually test the network card (Device Properties - Troubleshoot)?
> >>
> >> Can you copy the exact error from the Event Log, and paste here? That would
> >> help a bit.
>
> >Just a small thing. I noticed in the Everest report that the NetBT kernel
> >service isnt started. How can I start it? Could that explain the problem?
> >
> >Regards
> >Johannes
>
> Johannes,
>
> Can you look at the Properties for the NetBT kernel service (Control Panel -
> Administrative Tools - Services). What is the complete Path to executable for
> that service? Is that one of the services that DHCP-client and TCP/Ip NetBIOS
> helper depend upon?
>
> Try and be specific here - you said previously that you reinstalled protocols.
> What protocols did you re install? Did you reset TCP/IP?
> http://support.microsoft.com/?id=299357
>
> Start - Run - "cmd". Type "netsh int ip reset c:\netsh.txt" into the command
> window.
>
> --
> Cheers,
> Chuck
> http://nitecruzr.blogspot.com/
> Paranoia is not necessarily a bad thing - it comes from experience.
> My email is AT DOT
> actual address pchuck sonic net.
>

Chuck
07-10-2005, 02:51 AM
On Fri, 13 May 2005 11:18:02 -0700, "Johannes"
<Johannes@discussions.microsoft.com> wrote:

>Well, dont know how but I got the PC fixed :-)
>
>It was the notice you made about the AFD that got me on the track. Since
>both AFD and NetBT isnt in the service list, I checked the regestry for
>enteries and found that NetBT had its own entry. I deleted it and hope that
>it would be rebuilt if I did a Winsock repair. Sadly, it didnt...
>
>So I borrowed my roommates PC and exportet the NetBT entry to imported it on
>my PC, deleted the entries under
>HKLM/system/CCS/services/netbt/parameters/interface as I figures that those
>interfaces was the ones on his PC and not on mine. Then I removed my NICs and
>reinstalled them and tadaa, there was new entries under interfaces. A restart
>and the NetBT kernelservice could be started by TCP/IP NetBIOS helper and
>DHCP-client. And my wireless NIC got an IP adress from the DHCP-server again
>:-)
>
>So, I figure that the error was some bad entries in the Regestry under
>NetBT. Either that or some corrupt file that was fixed when I used the sfc
>/scannow command.
>
>Anyway, thanks a mill for youre reply! They got me on the right track :-)

Johannes,

That's great news. I think we can both learn a bit here.

Nether AFD nor NetBT are services. AFD is a protocol component (Under MSInfo32,
you can find it listed under Components - Network - Protocols. NetBT is a
program interface (provides a series of APIs to connect applications to TCP/IP).

Anyway, if resetting the LSP / Winsock didn't do it, nor resetting TCP/IP, the
solution was to reinstall the physical device drivers. So I'll remember that
for next time.

I'm still curious about NetBT Kernel Service. Where is that item listed on your
computer? It's not a service on mine. Can you identify it further, say by Path
to executable? What you found out here may help others like you or me in the
future.

--
Cheers,
Chuck
http://nitecruzr.blogspot.com/
Paranoia is not necessarily a bad thing - it comes from experience.
My email is AT DOT
actual address pchuck sonic net.


DHCP client