Wednesday, April 29, 2009

Fixing Wireless Networks and Ndiswrapper

Step 1: Check that the hardware drivers are loaded. It should be seen when you do ifconfig
# ifconfig -a

Step 2: If the above do not show up eth0 or wlan0, then
# lspci -v

Step 3: Install NdisWrapper from distro
# yum install ndiswapper

Step 4: For more information on cards supported by which drivers, go to
http://burnthesorbonne.com/?page_id=32

Step 4: Place the inf file in the /lib/firmware
# ndiswrapper -i /lib/firmware/xxx.inf

Step 5: Check it is working and will list the drivers available to
# ndiswapper -l

Step 6: Load the Module
# modprobe -v ndiswrapper

Step 7: Up the wlan
# ifconfig wlan0 up

Tuesday, April 28, 2009

Using Ganglia Status Client - gstat

Ganglia Status Client (gstat) connects with a Ganglia Monitoring Daemon (gmond) and output. It is a clean command line tool

To see all the gstat Options
# gstat --help

Shows CPU utilization for running jobs
# gstat -al1

For more inforamtion See Ganglia Toolkit

Monday, April 27, 2009

Fsniper

Fsniper is a tool that watches for new or modified files and executes commands on the basis of the file name critieria. The tools can also respond to MIME types (MP3, mpeg etc).

After downloading the source from the project homepage
# ./configure
# ./make
# ./make install

Create the configuration file at your home folder in .config folder
# ~/.config/fsniper/config file

Copy the example.conf from source folder and modify it.

For more information, see Fsniper Project Homepage

Thursday, April 23, 2009

Understanding ldconfig

ldconfig creates the necessary links and cache to the most recent shared libraries found in the directories specified on the command line, in the file /etc/ld.so.conf (Taken from man pages)

I was having issues having the latest changes to my pathing reflected after updating my .bashrc. The old variable path was still showing us. Until I added the path on to /etc/ld.so.conf and run /sbin/ldconfig. The new path was reflected.

Monday, April 20, 2009

Commands to find out who are logged on

Simple but useful command to know who logged on to your systems

Tool 1: w - Show who is logged on and what they are doing
# w

Tool 2: who - Show who is logged on
# who
# who -q (All login name and count number of user logged on)

Tool 3: last - show listing of last logged in users
# last

Tool 4: uptime - Tell how long the system has been running
# uptime