Failed to query TCP/IP Settings

I had a user with a “network problem”.  When I went to his PC and tried the command prompt “ipconfig /all” the result read:-

Windows IP Configuration

but that was it no more lines of information after that.

 I tried repairing a network connection and got the “Failed to query TCP/IP settings” message.  I was quite surprised that TCP/IP couldn’t be uninstalled/re-installed natively.  The steps listed down allowed me to do this and fixed my problem. Continue reading

Advertisements

Dealing with vi Editor

Modes

vi has two modes insertion mode and command mode. The editor begins in command mode, where the cursor movement and text deletion and pasting occur. Insertion mode begins upon entering an insertion or change command. [ESC] returns the editor to command mode (where you can quit, for example by typing :q!). Most commands execute as soon as you type them except for “colon” commands which execute when you press the ruturn key Continue reading

Howto: Add a new yum repository to install software under CentOS / Redhat Linux

CentOS / Fedora Core / RHEL 5 uses yum for software management. Yum allows you to add a new repository as a source to install binary software.

Understanding yum repository

yum repository configured using /etc/yum.conf file. Additional configuration files are also read from the directories set by the reposdir option (default is /etc/yum.repos.d and /etc/yum/repos.d.

Continue reading