Tuesday, July 16, 2013

Fixing 192.168.1.254 by Clearing Cache

Sometimes you might have need to flush dns cache to access 192.168.1.254. That might happen if you tried opening 192.168.1.254 while it was offline. Once you fixed connection to the IP it is still not working. That's because your DNS cache remembered it is down.

To fix it you need to clear cache and force the connection retry. Luckily it is very easy to do it. Here we will explain how to clear cache in Windows, Linux and Mac OS X.

Clearing the DNS Cache in Windows


All you need to do it is to execute ipconfig /flushdns command from your windows command prompt or from run section from start menu. So do this commands and it will clear your cache.

  1. Click on the "Start" button.
  2. Click "Run".
  3. Type in the "ipconfig /flushdns" without quotes.
  4. Hit "Enter" on your keyboard.
Done. Try now opening your router by typing its IP. 

You can also open windows command prompt as we said Start -> All Programs -> Command Prompt (that thing with c:\) and type there ipconfig /flushdns then hit enter).

Clearing the DNS Cache in Linux


Cache clearing in Linux is done by restarting the NSCD daemon. Do it in the following way.
  1. Open Terminal
  2. "Type /etc/rc.d/init.d/nscd restart"
  3. Wait until it say it is done.

Clearing the DNS Cache in MacOS X


Cache clearing in Mac OS X is done by running tool dscacheutil with a flushcach parameter in the terminal.

  1. Open Terminal
  2. Type dscacheutil -flushcache
    ex: bash-2.05a$ dscacheutil -flushcache
  3. Wait until it say it is done.
If your 192.168.1.254 is not responding then error is on some other place.

No comments:

Post a Comment