Feeds:
Posts
Comments

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:

lsusb

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

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
==================================================================================================
Installing:
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

Installed:
glibc.i686 0:2.12-1.132.el6

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

conclusion:

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

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:

phpize
./configure
make
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

The ARM architecture offers impressive processing per watt of power. Because of this lean power draw, ARM is widely used in mobile phones and tablets. Recently ARM-based machines have been making a splash as low-power servers and desktop machines as well, with offerings such as the Raspberry Pi.

Continue reading Run Linux on ODROID-U2: A Monster of an ARM Machine

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

Today I tried to install fonts for GNome desktop and unable to install due yum lock in my server that is load with centos

Error :

[root@localhost ~]# yum install xorg-x11-font*
Loaded plugins: fastestmirror, refresh-packagekit, security
Existing lock /var/run/yum.pid: another copy is running as pid 2600.
Another app is currently holding the yum lock; waiting for it to exit…
The other application is: yum
Memory : 21 M RSS (1.2 GB VSZ)
Started: Mon Oct 14 12:19:29 2013 – 08:47 ago
State : Sleeping, pid: 2600

First i attempt to kill the process

# kill -9 2600

the process could not be stopped

Second i attempt to kill all yum process

# killall -9 yum

still the process could not be stopped

then i shutdown my server and switched on again and still the same result.

finally i remove the yum.pid 2600

after this yum started working fine.

Final solution if you fail to stop the process :

#rm -f /var/run/yum.pid 2600

 

then update your yum

# yum -y update

 

Make sure that yum-updatesd is started :

#/etc/init.d/yum-updatesd status

# /etc/init.d/yum-updatesd start

This tutorial shows you how you can take screenshots of an Android smartphone with the help of a computer where the Android SDK is installed.

Refer :www.howtoforge.com/how-to-take-screenshots-of-your-android-smartphone

Follow

Get every new post delivered to your Inbox.