IPwatchD an IP conflict detection tool for Linux

IPwatchD an IP conflict detection tool for Linux

IPwatchD an IP conflict detection tool for Linux

Project name: IPwatchD – IP conflict detection tool
Author: Jaroslav Imrich
Project’s Home Page: IPwatchD

 

Introduction

When using a GNU/Linux operating system, from time to time you may come across a situation where network connectivity was interrupted due to the IP conflict. An IP conflict event occurs when two or more hosts on the same network are configured with identical IP addresses. At the present, there appears to be no code in the Linux kernel to take care of this situation by means of appropriate Gratuitous ARP response . Very often a network administrator is left in the complete ignorance by the Linux kernel and needs to troubleshoot IP conflict the hard way. An IP Address Conflict GUI dialog triggered by IPwatchD Daemon Fortunately, there is a simple daemon called IPwatchD which main purpose is to catch and evaluate packets on the network and this way is able to prevent an IP conflict occurrence. This is done by help of libpcap library. IPwatchD daemon is written in C language and can run in passive or active modes. The difference between a passive and active mode is that in the passive mode IPwatchD only logs every IP conflict event by engaging syslog daemon, and in active mode IPwatchD takes one step further and responds to Gratuitous ARP request which is the main construction block when it comes to the IP conflict prevention. This article will explore this simple daemon in terms of installation, configuration and usage.

Prerequisites

Before we can install IPwatchD under the GNU/Linux operating system it is recommended to confirm that all prerequisites needed by IPwatchD are installed on the system. Here is a list of packages you would need to install on Ubuntu 8.10.

 * build-essential - C compiler and other development tools
* libpcap-dev - Network packet capture library
* libnet1-dev - Network packet construction library
* libnotify-dev - sends desktop notifications to a notification daemon

On ubuntu or debian linux you can install those packages with a following linux command:

# apt-get install build-essential libpcap-dev libnet1-dev libnotify-dev 

Read more

Drupal how to install guide

How To install Drupal 7 on Fedora Linux

Drupal how to guideThis installation guide provides step-by-step instructions on how to install Drupal 7 on a Fedora Linux system. The guide consists of 6 easy to follow steps to conclude whole installation. If you are just little bit curious about the new Drupal 7 release it is time to see what it is about. Be aware that installation of web applications on Linux systems using SELinux such as Fedora or RedHat is now little bit more complicated since changing permissions with chmod command may not always solve the problem. This guide could also be used by RedHat and CentOS Linux users.

Ubuntu users visit: Drupal 7 Installation guide for Ubuntu

Read more

Enable Ubuntu's extra visual effects

Enabling Ubuntu compiz 3D cube Desktop Effect

If you ever get bored of your ordinary default Ubuntu desktop or you feel that you do not utilize your Graphic card the way you should, you can try to enable Ubuntu compiz 3D cube Desktop Effect the give your desktop an extra spark. This article will provide you with a step-by-step configuration on how to enable Ubuntu compiz 3D cube Desktop Effect.

Step 1: Installation of VGA driver

You may skip this step if you have already installed restricted display drivers from Ubuntu’s PPA repository. This step is optional even with a default Ubuntu installation. I recommend to proceed with Step 2 and let Ubuntu system will attempt to detect your VGA card and install appropriate VGA drivers for your card automatically. If that fails come back to Step 1 and do it manually as described below.

Installation of nVidia restricted driver

First add ubuntu PPA repository:

$ sudo add-apt-repository \
ppa:ubuntu-x-swat/x-updates
$ sudo apt-get update

Read more

IceCat 5 installation on Debian 6 Squeeze

This guide describes step-by-step installation of GNU/IceCat web browser on Debian 6.0 “Squeeze”. At the moment there are no pre-compiled packages for a Debian so we are going to do this nicely from command line by compiling GNU IceCat 5 from a sources code.

Step 1: Pre-requisites installation

First we need to install all pre-requisites. As a root use apt-get to fetch and install all required packages:

# apt-get install libgnomevfs2-dev bzip2 python zip \
pkg-config libgtk2.0-dev libnotify-dev libgl1-mesa-dev \
libasound2-dev libidl-dev libgl1-mesa-dev libiw-dev \
libxt-dev build-essential

Step 2: Yasm ( Modular Assembler ) compilation

Although yasm is part of the Debian repository and it is available as a pre-compiled package GNU IceCat requires yasm >= 1.1.0. From this reason we will need to compile yasm from source.

Read more

How to dual boot Windows XP and Ubuntu Linux

How to dual boot Windows XP and Ubuntu Linux

Introduction

My restless effort to promote a Linux operating system and encourage its usage among other “PC” users made me this time to tackle a core topic of this effort and that is dual boot Linux Operating System and MS Windows XP Pro. I really do not expect windows users to switch from MS Windows to the Linux from one day to another, but I rather expect a slower and gradual transition with less headaches and without productivity losses.

There are already plenty of excellent articles in regard to this topic. However, I do still see Linux forums flooded with simple basic questions on how to dual boot these two operating systems. I see users coming from a MS Windows environment completely lost when it comes to a UNIX File System Hierarchy Standard (FHS), partitioning using EXT3 file system and navigation with simple “cd” command. It is very hard for them to let go of an idea of C: and D: drives. In recent 2 or 3 years Linux operating systems and its installation has improved in such a manner that I do not see a problem for a NON-IT person to install its own fully functional and productive version of the LINUX on his “Designed for Microsoft Windows XP” notebook.

Despite my believe I have decided to write this Linux-Windows dual boot “howto” for new Linux enthusiasts. In fact, I have had a friend who has no IT background to helping me by following my steps in this tutorial and believe it or not, he could install his own dual booting system without any problems.

Be aware that we are not going to describe all installation steps for both Linux and Windows installations in this article, only those steps which are necessary to accomplish this task.

Read more