CENTOS ADDING VM TOOLS

By , November 24, 2013 2:44 PM

From the VM’s local console (not SSH, as the network changes will disconnect you):

yum install gcc kernel-devel
yum -y upgrade kernel kernel-devel
reboot

(In your VMware console, select VM -> Install VMware tools):
(Log back into the local console of your Centos VM and continue):

mount /dev/cdrom /mnt
ls /mnt

(make note of the name of the vmware tools tgz file you see in the listing, and replace [name of vmware tools file], below, with it.):

tar -C /tmp -zxvf /mnt/[name of vmware tools file]
cd /tmp/vmware-tools-distrib
./vmware-install.pl

“Y” on the first prompt, then defaults (just press enter) on the rest should be fine.
./vmware-install.pl  # add -d to auto accept defaults
Important:
Follow the instructions that vmware-install.pl will give you at the very end of its run for updating your network card to the vmxnet3 driver. It will be a short list of commands to type in.

CENTOS MINIMAL Configuring the Network

By , November 24, 2013 2:26 PM

The command ip a s is used to display our current interfaces . The one we are interested in is “eth0”. Currently their is no IP address assigned and the interface is indicating that it is in a DOWN state.

To configure “eth0” to obtain an IP address automatically, we need to check that it is using “dhcp” and that the interface should be started automatically at boot”. We can check the current configuration by navigating to “/etc/sysconfig/network-scripts”. Our interface configuration is stored in a file called “ifcfg-eth0”.

 

DEVICE=eth0
HWADDR=08:00:27:C3:1F:C8
TYPE=Ethernet
UUID=399e364f-e278-4969-9dc7-3481618ede62
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=dhcp

Once you have made your changes and saved these. You will need to restart your network services with the command:

 service network restart
Now if we issue the command ip a s we should see that our interface has now been assigned an IP address.

APC network card

By , November 12, 2013 6:46 PM

We deploy a lot of uninterruptible power supply units throughout our network. The deployment of VoIP has made those units even more important as we plan for power failure contingencies. Occasionally we find one or two that are miss-configured. Here are the steps to resetting the username and password of the APC network management cards. You’ll need to use a serial cable (2400,8,N,1) to attach to the UPS in order to reconfigure the management card.

Press ENTER, repeatedly if necessary, to display the User Name prompt. Press the Reset button on the back of the card. The Status LED will flash alternately orange and green. Press the Reset button a second time immediately while the LED is flashing to reset the user name and password to their defaults temporarily.

Then press ENTER as many times as necessary to redisplay the User Name prompt, then use the default, apc, for the user name and password. (If you take longer than 30 seconds to log on after the User Name prompt is redisplayed, you must repeat step 5 and log on again.)

You should immediately reconfigure the appropriate username and password (select System, then User Manager, select Administrator).

 

 

To add some helpful tips, make sure that the serial port is not being used by any application such as PCBE if there’s any. If you can see multiple COM ports on HyperTerminal please do try all those as well.

Another thing would be, removing the network management card on the UPS and then connect to your UPS using the cable that kulotz gave you before. Using HyperTerminal set it to 2400, 8, None, 1, None, XOn/XOff. Once you are connected kindly press Shift+Y and then Shift+A. Pressing Shift+Y, it should respond back with an “SM” message while Shift+A should make your UPS flash the LEDs and produce a beep sound.

Hope this helps.

NTP

By , November 2, 2013 12:28 AM

TO do it, i have to stop this two services

Hyper-V Time Synchronization Service Windows Time

 

temporarely stopping the service: net stop w32time

unregistering the service: W32tm /unregister

Thomas Challenger Thomas Challenger