Windows ipconfig does not show anything
Mon Jan 05 18:32:50 -0800 2009
I had a Windows XP system (service pack 2) that would only return “Windows IP configuration” and then nothing, no indication of network disconnection nothing, well, there’s a good fix for it.
The system wouldn’t pickup an IP address from DHCP, it was like it was just confused.
You can do the following at a CMD prompt to reset the network configurations:
1 2 |
C:\> netsh winsock reset catalog C:\> netsh int ip reset reset.log |
The first line resets all the WINSOCK entries to their defaults, the second line resets all the TCP/IP entries to their defaults.
The first one will ask you to reboot, don’t. Do both commands and then reboot your system.
Once I did this, the computer got it’s DHCP address again quite happily.
blogLater
Mikel
Leave a Reply
Latest posts
- rake RSpec & Cucumber uninitialized constant Rails::Boot::Bundler
- This Relationship is Worth Nothing
- Thank YOU...
- Inline Attachments for ActionMailer
- Upgrading RailsPlugins.org to Rails 3 - Part 1
- Stripping dollar signs and commas from a string
- Getting Rails 3 Edge with jQuery, RSpec and Cucumber using RVM
- Action Mailer, go Proc thyself
- The Real News Donation Drive
- ActionMailer ScreenCast and Article
- Installing RSpec for Rails 3
- I am speaking at RailsConf 2010
- Rails 3 Session Secret and Session Store
- If you're lazy and you know it write your specs!
- Bundler - uninitialized constant ActionController
- Bundle Me Some Sanity
- How to use Mail / ActionMailer 3 with GMail SMTP
- Put your mailer where the action is!
- Why Force a Choice?
- How to make an RSS feed in Rails
- Rails 3 Routing with Rack
- Bundle me some Rails
- Helping out in Haiti
- Watch your self
- Is Rails 3.0 a Game Changer?
- Where did the scripts go?
- validates :rails_3, :awesome => true
- New Rails Version 3.0 Guides Online
- New ActionMailer API in Rails 3.0
- Mail gem version 2 released
- How to rename a Rails 3 Application
- Rails 3.0 Examples
- DECCA Driving Day
- Mail now merged into ActionMailer
- Tip #29 - Stop a Mongrel (or any) Service in Windows
- Ruby on Rails Tips Page
- Monitoring a DAHDI or Zaptel Channel
- Mail gets some compliments!
- Rails Unit Tests: uninitialized constant error
- New Mail gem released
- Mail and Bounced Emails
- Mail, TMail, The Future of Ruby Email Handling
- Custom Music on Hold for Asterisk
- Always getting an invalid authenticity token error
- FreeBSD rc scripts
- How to monitor a logged in professional
- TMail Moves to GIT
- Funny...
- How to reset a sequence with PostgreSQL
Latest comments
- Ian Alexander Wood
Just a quick update on this exc...
- Daze
The command is "rails new app_n...
- Michael T
Well done - this worked perfect...
- Kevin
I'm having the same issue as Ja...
- Linda K
Thank you! This really helped o...
Categories
Tag Cloud
AJAX ARGH! ActiveRecord Ajax Apache Apple Asterisk Australia Copy Database Development Feedburner Gem server Google Human Rights Javascript L. Ron Hubbard MS SQL Server MacOSX Mail Mephisto Not Programming OpenBSD Opensource Performance Personal Integrity PostgreSQL Programming Prototype Puzzle RDoc REST RESTful Rails RSPec RSpec Rails Rails Tips Rspec Ruby Ruby on Rails Ruby on Rails Tips Ruby on rails Tips SQL SQLServer SVN Scientologist Scientology Site Stats Soekris Soekris net5501 TMail Textmate Tips Windows World about mikel anti drug apache contributing daemon documentation drugs illustrator javascript lambda mail mephisto newspapers nitro open source opensource photoshop productivity programming railscasts rspec ruby ruby on rails rubyforge scientology seo sitemap sqlserver tips tmail tom cruise unix tricks vector graphicsArchives
- November 2009 (1)
- October 2009 (2)
- September 2009 (2)
- August 2009 (0)
- July 2009 (1)
- June 2009 (0)
- May 2009 (1)
- April 2009 (0)
- March 2009 (0)
- February 2009 (0)
- January 2009 (2)
- December 2008 (0)
- November 2008 (5)
- October 2008 (0)
- September 2008 (1)
- August 2008 (0)
- July 2008 (2)
- June 2008 (13)
- May 2008 (7)
- April 2008 (18)
- March 2008 (8)
- February 2008 (5)
- January 2008 (7)
- December 2007 (20)
- November 2007 (22)



Mon Jan 19 23:52:48 -0800 2009
This worked perfectly! Thanks for the solution.
Sat Jan 24 21:28:18 -0800 2009
I could only get to the internet in safe mode with networking. Even running msconfig and disabling all non microsoft services didn’t work. I spent 4 hours on the problem with no luck. 3 minutes after finding your website the problem was solved. Thanks, thanks and more thanks
Mon Feb 02 04:20:15 -0800 2009
Thanks a lot!
After many many attepts to solve this problem and reading many forums, this is the only one working solution!
thanks again
Fri Feb 06 13:56:37 -0800 2009
I have discovered that a reboot is not always required.
I suggest adding a 3rd command like: netsh winsock reset catalog netsh int ip reset reset.log ipconfig /renew
Also, future researchers might those 3 commands useful in resolving these related error messages on an XP Pro service pack 3 machine: “connection failed” and “there was a problem connecting to the TPM (security device) on this computer” I also suspect the problem might originate from Trend Worry Free anti virus, but I have not pinned it down.
Thu Mar 12 15:20:58 -0700 2009
only two words… thank you.
Thu Jun 04 10:01:35 -0700 2009
awesome man.. this actually solved my problem. thanks man!
Mon Jun 08 07:34:10 -0700 2009
I had tried just aboiut everything and was ready to give up. Then I found your resolutiuon. Thanks I haven’t run it yet because I’m at work but as soon as I get home I’ll run it.
Fri Jul 17 12:10:59 -0700 2009
Wow! This worked like a charm! I changed the keyboard on my dell laptop and I was afraid I fried the network adapter in the process. But, the steps outlined here had me up and running in a couple minutes. Thanks so much!!!
Thu Aug 27 07:22:12 -0700 2009
Really pleased that this worked for me! These simple steps helped get me back online. Thanks!
Mon Sep 07 15:15:14 -0700 2009
Thanks for the tip, worked like a charm.
Thu Oct 01 10:24:55 -0700 2009
That was great. Thanks for the fix.
Thu Oct 15 10:26:50 -0700 2009
Thank you very much!!!!!!!! Tried everything the whole day and you solve this in 10 Minutes!!!!!!
You save the world!!!
Sat Oct 17 14:13:54 -0700 2009
Thanks. After10 minutes of panic I did a search and found this solution and problem resolved in 5 min. This happened after apply Oct. round of windows patches.
Mon Feb 01 07:28:43 -0800 2010
It works great!
Thank you!
Sat Mar 27 23:44:56 -0700 2010
I have vista.
First command returns this.
“The requested operation requires elevation.”
Still facing the same problem.
Sun May 02 14:22:31 -0700 2010
Thanks! This worked perfectly and quickly! McAfee installed a new version on my desktop yesterday and upon rebooting, I could no longer connect to the internet. McAfee was absolutely no help. They told me it was my internet provider’s issue even though I had a laptop (with the new McAfee) working without issue.
This was a godsend! Thanks again!
Wed May 26 11:33:42 -0700 2010
This was the only solution that really worked.
THANK YOU
Sun Jun 06 06:58:38 -0700 2010
Magic…thank you
Sat Jun 26 20:35:32 -0700 2010
Thanks man.
I have tried a lot of things and nothing help me
I was thinking about format my pc and u save me ;)
Thanks a lot.
Mon Aug 16 04:50:33 -0700 2010
Thank you! This really helped one of my colleagues today.
Mon Aug 23 22:41:13 -0700 2010
Well done – this worked perfectly. Fixed my issues immediately after an hour or so of frustration. Thanks again