Thursday, October 15, 2015

Configuring Linux Server for NTP Client to External NTP Server

NTP is used to synchronize the time on your Linux system with a centralized NTP server.

You can Install NTP Service using

$ sudo yum install ntp  
or
$ sudo apt-get install ntpd

Monday, September 7, 2015

Reverting new network interface naming schemes to original in Ubuntu 14.04 Server

Gone are the days, where all network interfaces were called eth<N> in Ubuntu. Starting with Ubuntu 14.04, BIOS-given names are used in the LTS line of the distro.

So, it is possible your NIC isn't called eth0 anymore, but p2p1, or em0. According to biosdevname(1), the scheme for cards sitting in PCI slots is p<slot>p<port> and for embedded NICs, it is em<port>

Allow ssh root login on Ubuntu 14.04 Linux server

By default the root ssh login to Ubuntu 14.04 Linux server is disable. This is a security feature and even though you change the root password the root ssh login will be denied showing message similar to the one below:

$ ssh root@1.1.1.1
root@1.1.1.1's password:
Permission denied, please try again.
root@1.1.1.1's password:
Permission denied, please try again.
root@1.1.1.1's password:
Permission denied (publickey,password).



How to send emails using blat

Blat is a handy Win32 console utility that enables you to send emails via the command line, on Windows machines. This is especially useful within batch scripts.
Given below are some how-to’s on basic uses of blat. Refer the blat syntax page for more options with blat. The commands below have been tested on Windows Server 2003 with blat v2.6.2, unless otherwise stated.
You can download this from
http://sourceforge.net/projects/blat/files/latest/download?source=typ_redirect

HOW-TO 1: Configure the SMTP Relay for blat
The blat utility can perform functions of both an MUA and an MTA. Before using blat, you may configure certain options in the Windows Registry to avoid typing them repeatedly whenever sending emails (using overrides on the command line). An example configuration is given below:

Friday, March 20, 2015

HyperTerminal in Windows 7

HyperTerminal is an application that allows terminal emulation in Windows for some types of devices. HyperTerminal communicates over serial connections (such as RS-232), via a dial up modem, or via the Transmission Control Protocol (TCP) and Internet Protocol (IP). For TCP/IP connections and modem connections, the most common target is a telnet daemon set up on a Windows or Linux system in order to give access to a text based application or console.

If you’ve recently upgraded to Windows 7 and are wondering what happened to HyperTerminal, you’re not alone! HyperTerminal was a sweet little program that let you connect to other computers, Telnet sites, host computers, BBSs, etc using your modem or Ethernet connection.

In Windows 7 and Vista, you will no longer find the Hyper Terminal program. If you need HyperTerminal to control serial devices, So here is how to get HyperTerminal on to Windows 7 (32 or 64-bit).
So here is how to get HyperTerminal on to Windows 7 (32 or 64-bit).

Thursday, February 19, 2015

How to manage KVM virtual machines using virsh

virsh is a program which uses libvirt to manage KVM virtual machines (guests).

I’m going to show a summary of its main functions 

Show Hosts’ information:
  • Show a host’s info: virsh nodeinfo
  • Show KVM version installed: virsh version

Monday, February 9, 2015

Files displayed after ages on shared folders on win 7 desktops

File that a user adds to a remote folder is not displayed in Windows Explorer on a computer that is running Windows 7 or Windows Server 2008 R2

http://support.microsoft.com/hotfix/kbhotfix?kbnum=2769790&kbln=en-US

Consider the following scenario:
  • You open and then close a remote folder by using Windows Explorer on a computer that is running Windows 7 or Windows Server 2008 R2.
  • A user on a different computer adds a file to the remote folder.
  • You open the remote folder by using Windows Explorer again.