Our love affair with the future of food and drink

IBM's Watson will control an automated system, delivering unique meals from start to finish without our assistance

ASUS VivoWatch review

a fitness watch with style and shortcomingsa fitness watch with style and shortcomings

Microsoft HoloLens review

Very high build quality Hologram resolution is impressive Spatial sound is excellent

Jabra's wireless Coach headset

The headphones will be hitting stores in just a couple of weeks time for the price of $149

Faktor-faktor penting sistem Server

Detail arsitektur dan teknologi yang membangun sebuah server

Thursday, 25 June 2015

INSTALL GAMMU on CENTOS 6.5 (FINAL)





This is tutorial about how to install gammu software. Gammu its an add on software for run GSM modem. so you can send TEXT with blasting methods. Of course in this tutorial i don't explain how to integrate from gammu log file into php script. I hope everyone can understand. Okay, this is the step by step


PLEASE MAKE SURE you already install GAMMU with basic server option, and you can add an "Development Tools" from yum also, for this i can explain in third step.

1. Install cmake – for compile gammu software
# yum install cmake

2. Download file Cmake
# wget http://pkgs.fedoraproject.org/repo/pkgs/cmake/cmake-2.8.7.tar.gz/e1b237aeaed880f65dec9c20602452f6/cmake-2.8.7.tar.gz


3. Install groupinstall “Development tools”
# yum groupinstall “Development Tools”
# yum install alsa-lib mesa-libGLU-devel freetype-devel libmng-devel libpng-devel
# yum install libXt-devel libXft-devel libXrandr-devel libXcirsor-devel libXi-devel libXinerama-devel
# yum install mysql mysql-bench mysql-connector-java mysql-connector-java mysql-connector-odbc mysql-devel mysql-embedded mysql-embedded-devel mysql-libs mysql-server mod_auth_mysql php-mysql qt-mysql

4. Extract and Install Cmake
[root@server ] # tar –zxvf cmake-2.8.7.tar.gz
[root@server cmake-2.8.7] # ./configure

after finished
[root@server cmake-2.8.7] # gmake

ps: make sure last two command run in [cmake-2.8.7] folder

5. Download gammu files 1.33
#wget http://sourceforge.net/projects/gammu/files/gammu/1.33.0/gammu-1.33.0.tar.gz

6. Extract gammu files 1.33

# rpm –Uvh gammu-1.33.0.tar.gz
# ./configure
# make test
# make install

The file gammu will be in directory: /usr/local/bin/gammu
see list program with ls command
# ls /usr/local/bin/

gammu gammu-config gammu-smsd
gammu-smsd-inject gammu-smsd-monitor jadmaker

please make sure you have all the file in that directory

7. Run gammu-config
# /usr/local/bin/gammu-config

add gammurc in folder :::
# touch /usr/local/bin/gammurc
edit file gammurc

[gammu]
port = /dev/ttyUSB0
#model =
connection = at115200
#synchronizetime = yes
logfile = /usr/local/bin/gammu
#logformat = textall
#use_locking = no
#gammuloc =
commtimeout=30
sendtimeout=30
send=1
receive=1
checksecurity=0
deliveryreport=sms
deliveryreportdelay=30
# Database backends congfiguration
#user =
#password =
#pc =
# pc can also contain port or socket path after colon (eg. localhost:/path/to/socket)
#database =
multiparttimeout=3000
To find the device port, please connect your GSM modem and find port with command ::
# dmesg |grep tty

8. ADD this link file for gammu work properly
# ln -s /usr/local/lib64/libGammu.so /usr/lib64/libGammu.so.7
# ln -s /usr/local/lib64/libgsmsd.so /usr/lib64/libgsmsd.so.7

9. Testing
# /usr/local/bin/gammu –identify

Device : /dev/ttyUSB0
Manufacturer : Wavecom
Model : MULTIBAND 900E 1800 (MULTIBAND 900E 1800)
Firmware : 651b09gg.Q2406B 244 041410 13:45
IMEI : 350965720019130
SIM IMSI : 510891574215039


If you see the device, manufacturer etc... your gammu software is working properly, the next step is configure your gammurc file with mysql, i'm sorry i can't explain the step by step for that.


10. Create shortcut gammu
# nano /root/.bashrc
add this line

# Alias gammu command
alias gammu='/usr/local/bin/gammu

Little Tips When your network icon is Missing

This morning i have a little shock when opening my laptop, and i can't see the network icon in my bottom right screen. Ussualy it's show when connected or disconnected then i figure out that maybe the checklist in network properties are not selected. BUMP !! after i open the network properties, it doesn't have check box like windows 7 or windows xp.



Then i more little dizzy, after that i remembered to open the taskbar properties, maybe it's selected hide.
hide inactive icons -- customize
All icon behavior in bottom right taskbar


Then, upss.... it doesn't look any network icon there... the funny is.. i had missed the check box  under the customize, what a silly this morning...  this is it. where you have to thick the check box


 note: if the check box cannot selected, you may restart your laptop / PC