May 28, 2012

Make Skype Icon Visible in Gnome Desktop Ubuntu 12.04

If you are using Ubuntu 12.04 with Gnome - Classic Desktop , you may experience a problem with not displaying SKYPE icon in the system tray. This can be solved in an easy method. You need to install Status NotifierItem plugin. If you are using 64Bit install of Ubuntu , you need to install i386 version of sni-qt.

sudo apt-get install sni-qt:i386

Thats it !!! login to skype and skype icon will be displayed in your system tray.

May 2, 2012

Reverse SSH Tunneling OR "Poor mans VPN"

In corporate networks , the servers will be placed behind a NAT for security reasons. Its not possible to access the server behind the NAT from outside network. And here comes a way to access servers behind NAT through SSH , its called Reverse SSH Tunneling OR Poor Mans VPN.


IP Address of the Server you need to access
IP Address of the Client from which you are trying

1. SSH from the destination to the source (with public ip) using command below:

ssh -R 2080:localhost:22 sourceuser@

2. Now you can SSH from source to destination through SSH tuneling:

ssh localhost -p 19999

May 1, 2012

KVM (Virtualization) Tips

KVM Tips.


1.You should have a working KVM Environment
2.You should have knowledge in Linux and little Networking.
3.You should have basic level knowledge in Virtualisation

1.To Check whether KVM has been installed

virsh -c qemu:///system list

You will see the following...

[root@server1 ~]# virsh -c qemu:///system list
 Id Name                 State

[root@server1 ~]#

Which means your KVM server is up and running.

2.To View all the running Guests

virsh --connect qemu:///system

virsh# list -all

Id Name                 State
  3 vm11                 running
  - vm10                 shut off

virsh #

3.Start a Virtual Machine
virsh# start vm10

4.Stop a Virtual Machine
virsh# shutdown vm10

5.Suspend a Virtual Machine

virsh# suspend vm10

6.Forcefully Shutdown a virtual Machine (ie remove power plug)

virsh# destroy vm10

7.Exit the Virtual shell
virsh# Exit

Static Route in Linux

Static Route is using for improving the overall performance of your network. Also you can use static route for implementing Sub Networks. Suppose you are having different branch office to be connected with a Head office who is linked with a T1 line , Static route will be use full.

1.To View the routes in your system

ip route show

route -n

2.Adding a route in the Linux Machine.

route add default gw eth0

This will create a ROUTE in the interface eth0 for a gateway to

This will be lose once you restart the network. For Adding a static route , you should follow the below steps.

vi /etc/sysconfig/network-scripts/route-eth0

Append the following via

This will byepass all the traffic to router through eth0