Archive for the ‘Linux’ Category

Install Gammu

Installing gammu is surprisingly easy (once again thanks to the wonders of apt-get), just use the following command:

sudo apt-get install gammu

Hard wasn’t it? 😉

OK now it’s time to plug your phone in and see if we can get things talking. With the phone connected, type the following command:


you should now see your phone listed as a device – for example:

Bus 001 Device 002: ID 0421:0802 Nokia Mobile Phones

if not – make sure your cables and power are all good and try again.

The gammu installation comes with some example configuration files which are worth using as a starting point – if nothing else they help you to understand how gammu can be configured so that you can tailor a solution for your needs. These are located in
/usr/share/doc/gammu/examples (in gZip archives).

Copy the gammurc file to /etc/gammurc :

sudo cp /usr/share/doc/gammu/examples/config/gammurc /etc/gammurc

Now edit /etc/gammurc to specify your port and connection type (this will vary based upon where/how you have things plugged in and what sort of cable/interface your phone is using). The settings for mine are:

port = /dev/ttyACM0
connection = dku5

Save this config and from the shell type:

gammu –identify

you should now be presented with some information regaqrding your phone such as:

Manufacturer : Nokia
Model : 7200 (RH-23)
Firmware : 3.110 T (18-03-04)
Hardware : 0903
IMEI : 353363000813894
Original IMEI : 353363/00/081389/4
Manufactured : 04/2004
Product code : 0514143
UEM : 16

If this is the case then you have got gammu up and running and can send yourself a test message with the following command:

echo “boo” | gammu –sendsms TEXT [recipient mobile number]

Thanks to rforge.wordpress.com

Read Full Post »

I tried to run a corporate client on centos the following error occured

[root@localhost crclient]# ./crclient -u xxx
-bash: ./crclient: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

Problem :

This error occured due to excuting a 32 bit application which does not find the library /lib/ld-linux.so.2.

This is because the 64-bit operating system have excluded the 32-bit packages during installaion process, when try to excute the third party binaries you get above error.

Solution :

Install glibc.i686 using yum.

[root@localhost centos6]# yum install glibc.i686
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: centos.aol.in
* extras: centos.aol.in
* updates: centos.aol.in
base | 3.7 kB 00:00
base/primary_db | 4.4 MB 00:14
extras | 3.4 kB 00:00
extras/primary_db | 19 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 1.4 MB 00:06
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package glibc.i686 0:2.12-1.132.el6 will be installed
–> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.132.el6.i686
–> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.132.el6.i686
–> Running transaction check
—> Package nss-softokn-freebl.i686 0:3.14.3-9.el6 will be installed
–> Finished Dependency Resolution

Dependencies Resolved

Package Arch Version Repository Size
glibc i686 2.12-1.132.el6 base 4.3 M
Installing for dependencies:
nss-softokn-freebl i686 3.14.3-9.el6 base 147 k

Transaction Summary
Install 2 Package(s)

Total download size: 4.5 M
Installed size: 14 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): glibc-2.12-1.132.el6.i686.rpm | 4.3 MB 00:12
(2/2): nss-softokn-freebl-3.14.3-9.el6.i686.rpm | 147 kB 00:00
Total 361 kB/s | 4.5 MB 00:12
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : nss-softokn-freebl-3.14.3-9.el6.i686 1/2
Installing : glibc-2.12-1.132.el6.i686 2/2
Verifying : glibc-2.12-1.132.el6.i686 1/2
Verifying : nss-softokn-freebl-3.14.3-9.el6.i686 2/2

glibc.i686 0:2.12-1.132.el6

Dependency Installed:
nss-softokn-freebl.i686 0:3.14.3-9.el6


Thus the problem solved after this installation and able to work on my corporate client without any issue.

Read Full Post »

1. Download the pam_auth source from http://svn.php.net/viewvc/pecl/pam/trunk/ (or for convenience a zipped latest files, available click here)

2. Change into the directory you’ve downloaded/unzipped/etc the files into, and run the following commands:

make install

3. Add extension=pam.so to your php.ini

4. Restart Apache; use phpinfo() to ensure the PAM module is running.

verify via phpinfo() .


Above information taken from serverfault.com

Read Full Post »

open source software seemed like a gift as programmers would put in a lot of effort and give away the fruits of their labour for everyone’s benefit. However, with time companies have become aware of the fact that they can make money at the same time as doing charity.

Continue reading : Tips To Make Money Using Open Source

Read Full Post »

Installing Ubuntu 9.10 Step-by-step installation
tutorial with screenshots

Ubuntu 9.10, also known as the Karmic Koala, arrived exactly on October 29, 2009 and is the eleventh release of Ubuntu OS. We’ve created the following tutorial to teach Linux newcomers how to install the Ubuntu 9.10 operating system on their personal
computer. Therefore, it is addressed to people who have just heard about Ubuntu, those who have never installed Ubuntu before and want to test it, but don’t know how.

The tutorial will make things very simple for you, but if you get stuck somewhere in the middle of the installation and you need help, do not hesitate to use our commenting system at the end of the article!


You will need the Ubuntu 9.10 Desktop ISO image that corresponds to your hardware architecture (i386 or amd64), and which can be downloaded from here. When the download is over, burn the ISO image with your favorite CD/DVD burning application (Nero, CDBurnerXP, Roxio) on a blank CD at 8x speed.

Reinsert or leave the CD in your CD/DVD-ROM device and reboot the computer in order to boot from the CD. Hit the F8, F11 or F12 key (depending on your BIOS) to select the CD/DVD-ROM as the boot device.

Continue Reading  …………

Read Full Post »

Today I got a copy of Ubuntu 9.10 and installed one of my friends PC.

Then he asked me to install compiz & compiz fusion plugins in his pc.

I check the network ( Internet )and it was working fine.

first I updated.

$sudo apt-get update

the update worked fine.

then install ccsm

$sudo aptitude install simple-ccsm

He had a Nvidia AGP graphics card, so installed Nvidia drivers

$sudo aptitude install nvidia-glx-173 nvidia-173-kernel-source nvidia-glx-173-dev nvidia-settings

After installation went to System/Administration/Hardware Drivers

Then the system searched for available drivers and i choosed the recommended Nvidia accelerated graphics driver (version 173) option from the list and then activated the driver by clicking Activate button.

Restart the system, so that the new nVidia graphic display driver will be ready for use.

Then enabled the desktop effects by clicking System/Preferences/Appearance and on the Visual Effects tab, selected Normal .

Run Compiz :

To run Compiz for the current session, hold Alt, then press F2, then enter the command

compiz –replace

Configure :

To configure Compiz and associated plugins, hold Alt, then press F2, then enter the command


My friend become very happy after using Desktop Effects in Ubuntu 9.10.

After reading this you too will be enjoy using Desktop Effects in Ubuntu 9.10 (Karmic Koala).

Read Full Post »

There are a lot of tutorials out on “t3h 1nt3rw3bZ” that show various different filter effects in GIMP and specifically how to do cartoon-like effects. That said, none of the ones that I came across on my search, nay trek, bore visually pleasing fruit … at least not for me.

So, as I usually do when I’m waisting time when I should be marking student assignments or more importantly, spending time with my wife and new daughter, I decided to start playing in GIMP and after many failed attempts I came across what I deemed to be a sort of graphic art-like effect; it’s not necessarily cartoon-like, but it is cartoony and I liked the effect and decided to write it down.

Of course I realized that I would probably lose the sheet of paper I wrote these set of steps down onto and so decided that I would use Linus Torvalds’ philosophy which is:

“Only wimps use tape backup: real men just upload their important stuff on ftp, and let the rest of the world mirror it ;)”

This isn’t FTP, but it’s the same idea no doubt. 🙂

Keep Reading …………………

Thanks to arron-ferguson

Read Full Post »

Older Posts »