NO Ip Address

Discussion in 'Hardware' started by pace, Jul 21, 2005.

  1. pace

    pace Private First Class

    --------------------------------------------------------------------------------
    My computer will not get an IP address no matter what I have tried.
    I have tried two cables and get the same results, and they are the same cables I have been using on my laptop. I have also tried connecting with the USB cable and still no luck. I am using a DSL with a modem, there isn't any additional routers or anything connected. I checked the device manager and no red X's and everthing seems to be performing correctly. If I go to Control Panel and Network Connections the area connection shows enabled and connected, but if I right click and check the address I get IP address 0.0.0.0. If I hit repair I get an error message saying it cannot be repaired. I am using the same modem for this laptop, I just keep switching back and forth, so I know the modem is also good. The system is WIndows XP on a Sony Vaio PC.

    If I go to the command prompt in run and type in ipconfig I get IP address 0.0.0.0. When I type in ipconfig/renew I get an error message saying an ip address couldn't be obtained.

    Thanks.
     
  2. cat5e

    cat5e MajorGeek

  3. pace

    pace Private First Class

    Sorry for the slow response, I had to go out of town. Everything appears to be working correctly, I did try uninstalling the NIC card, reboot and install but I still have the same issue. The device manage says the card is still working correctly. The card is a realtek RTL 8139/810X.

    Also, I went to My Computer and went to Services and Applications/services/ and checked both my DHCP Client and my DNS Client and both are stopped. I tried to restart but I get an error message. Also, in Path to Executable the field is empty. When I click on Dependencies on the DHCP Client I both fields are empty and I get an error message saying it is dependent on other programs and a reference to WIN32.

    Any ideas?

    Thanks.
     
  4. pace

    pace Private First Class

    I am still having the same issues as above with this computer, except I was able to get online once last night and everthing worked correctly, but when I rebooted the system it quit working again and I continue to have the same problems. I also tried a MSN fix for the Cryptogenics problems when trying to download windows updates and it didn't seem to work. I have also noticed that when I go to Device manager and check my Realtek driver it says the device is working properly, but also says the device in not digitally signed. Would installing another NIC card get me around any of these problems? Also, if I tried the System Restore function that is supposed to restore the computer back to factory functions would it fix these problems? I am really ready to get this thing fixed.

    Thanks.
     
  5. Press2Esc

    Press2Esc Private E-2

    DHCP and DNS should always be running... I suspect a dload'd app, popup, spyware, trogen, etc shut it down. Think back when the last time it was running ok and consider a system restore to that point in time..

    Check your internet connection for proxy server being enabled.

    P2E

     
  6. Adrynalyne

    Adrynalyne Guest

    Path to executable for DNS client service should be:

    C:\WINDOWS\system32\svchost.exe -k NetworkService

    For DHCP client:

    C:\WINDOWS\system32\svchost.exe -k netsvcs

    Correct those entries, thens ee if they will start. If they don't, give us the word for word error message.
     
  7. half_mad

    half_mad Private E-2

    you can manually input an ip address, even though i don't know what numbers you would want,
    go to network connections on the control panel and find the connection you want to give an ip address, right click on it and choose the properties option.
    go to the networking tab, and highlight "internet protocol" (tcp/ip), click the properties button and on the new window that pops up, click the bullet for "use the following ip address" then type in the ip you need (i don't know what numbers you need to punch in, but you sound like you do)
     
  8. Mada_Milty

    Mada_Milty MajorGeek

    I doubt a system restore would help w/ a problem of this sort. They almost always infect your restore files.
     
  9. pace

    pace Private First Class

    I tried typing in the path to executable targets but the box is grayed out and it will net let me type them in. I also tried the System Restore just in case, but I received a message saying the system hasn't changed so the it wouldn't let me restore to a previous point. Would it help to post a HJT thread just in case I do have a virus or Trojan getting me. Also, I have not tried the System Recovery yet which is supposed to restore everthing to factory settings, would that help anything?

    Thanks, this is really getting frustrating.
     
  10. theefool

    theefool Geekified

    You more than likely can't change it there, BUT.....

    You should be able to change it here: (If and only if you do a backup to the registry)

    Within the registry:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache

    There should be a key named ImagePath

    That path should be:

    %SystemRoot%\system32\svchost.exe -k NetworkService

    Also:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dhcp

    ImagePath = %SystemRoot%\system32\svchost.exe -k netsvcs

    As far as I know, this is the only place to truly change this. I recommend doing this in safe mode, also, only recommend doing this as a last resort.

    Reboot your computer, and double check to make sure these keys were updated properly.....
     
  11. pace

    pace Private First Class


    Where do I check to make sure the keys were updated properly?

    I am nearing the last resort here, will this be a permanent fix or will it just work once?

    Thanks.
     
  12. theefool

    theefool Geekified

    Should be a permanent fix.

    Click START, then RUN, then type in: Regedit (press enter) and follow my instructions above.

    I only posted the above when you said you couldn't change what was in service manager.
     
  13. pace

    pace Private First Class


    When I go to this Registry Editor and follow the path above I cannot find a key for ImagePath in either the Dhcp or the DNSCache files. I do have the following in there:

    ab (Default)
    ab DependOnGroup
    ab DependOnService
    ab Description
    ab DisplayName
    Error Control
    ab Group
    ab ObjectName
    Start
    Type

    Both folders have the same items listed.

    Thanks.
     
  14. theefool

    theefool Geekified

    Ignore the (ab)'s. Those are Strings, while the "weird" ones are Dwords.

    Anyway, from service manager, I assume these were blank entries?

    Migrate to:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache

    Highlight the above key. Then click on Edit, New, String Value.

    On the right side, you should see a highlighted word with a blinking curson that has "New Value #1" Simply type in ImagePath (press enter). Then double click ImagePath

    Next type in: %SystemRoot%\system32\svchost.exe -k NetworkService (press enter)

    Then migrate to:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dhcp

    Same situation as above:

    Highlight the KEY. Then click on Edit, New, String Value.

    On the right side, you should see a highlighted word with a blinking curson that has "New Value #1" Simply type in ImagePath (press enter). Then double click ImagePath

    Next type in: %SystemRoot%\system32\svchost.exe -k netsvcs (press enter)

    Exit regedit. Reboot.

    Cross fingers... :)
     
  15. pace

    pace Private First Class

    Thanks, I will try it when I get home. What is the best way to back up the Registry? Should all of the instructions you have given me be done in Safe Mode?

    Thanks.
     
  16. theefool

    theefool Geekified

    Actually, try safe mode if normal mode doesn't work.
     
  17. theefool

    theefool Geekified

    Okay, yesterday at work I had a computer with near the same symptoms. Both the DNS client and DHCP service was set for automatic, but, neither would start. I have checked my registry entries that I noted above, but it didn't help, though, I have recently learned that if norton was previously installed, it can cause dependency issues. A simple registry fix for this.

    But, anyway, with the particular nothing seemed to work, my co-worker even tried a repair installation, I've tried new nic drivers, and quite a few other things.

    Google and copernic was useless in this situation.

    Just now, I found out that on both services in question, by going into their respective properties, and clicking on the "LOG ON" tab, check to make sure that hardware profile (typcially profile 1) is ENABLED. Note: Mine were set on disabled.

    Well, in this situation, I did this on both DHCP service and DNS Client service, and BAM both services started right up, and received a successful IP. No reboot required.

    I hope this helps someone.
     
    Last edited: Aug 18, 2005
  18. pace

    pace Private First Class

    I will look into this, I did have Norton installed on this computer at one time and uninstalled it due to another issue I had last year, but I know I still have Norton Residue on it. I am pretty sure the Hardware profile is Enabled but I will check it out when I get home.

    Thanks.
     
  19. theefool

    theefool Geekified

    Also, post what the following registry entry has....

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\DependOnService

    Also

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DHCP\DependOnService
     
  20. pace

    pace Private First Class

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\DependOnService
    Has the Following:
    Tcpip

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DHCP\DependOnService

    Has the following:
    Tcpip
    Afc
    NetBT

    Thanks.
     
  21. theefool

    theefool Geekified

    Okay, those are correct entries. I'd still try some of the stuff above and see if they help. I'm signing off right now. Going to bed (2317 my time).
     
  22. pace

    pace Private First Class

    I got it fixed. Thanks for the input guys.

    BTW, I have a Firewall that came with my DSL modem, are these effective firewalls or would I be better off with something like Macafee or Zone Alarm?

    Thanks.
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds