Archive

Archive for August, 2009

Kalkun 0.1.3beta on Ubuntu 8.04

August 31, 2009 105 comments

Ok, after kalkun review, now i want to show you how to install kalkun 0.1.3beta on Ubuntu 8.04 (my favorite distro). This tutorial including how to install and configure all software that is required for kalkun to work like apache, php, mysql, gammu, etc.

OK, let’s start it.

  1. Install all required software, you can get it from repository. You might want to edit your repository source first.
    $ sudo vim /etc/apt/sources.list

    Add the following line (this is PPA for Michal Cihar, you will get latest gammu version from this) :
    deb http://ppa.launchpad.net/nijel/ppa/ubuntu hardy main
    deb-src http://ppa.launchpad.net/nijel/ppa/ubuntu hardy main

    Update (23-11-2009):
    I’ve been check up this PPA today, and looks like hardy is no longer listed, you can move on intrepid instead, and the line become :
    deb http://ppa.launchpad.net/nijel/ppa/ubuntu intrepid main
    deb-src http://ppa.launchpad.net/nijel/ppa/ubuntu intrepid main

    Next, add key server for this PPA.
    $ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 06ED541C
    .
    Update repository :
    $ sudo apt-get update

    OK, now you’re ready to install all required software :
    $ sudo apt-get install apache2 php5 libapache2-mod-php5 php5-mysql mysql-server-5.0 mysql-client-5.0 libmysqlclient15-dev libmysqlclient15off gammu gammu-smsd

  2. Now, we will configure gammu and gammu-smsd
    FYI, i’m using Samsung SGH-E590 as my GSM modem.
    Connect phone to PC, check with dmesg ot tail -f /var/log/messages to see in what port phone connected, in my case it’s /dev/ttyACM0.
    .
    Next create gammu config to check the phone supported or not (you might want to use sample config of gammurc located in /usr/share/doc/gammu/examples/config/).
    .
    $ sudo vim /root/.gammurc

    [gammu]
    port = /dev/ttyACM0
    connection = at115200
    logfile = gammulog
    logformat = textall
    use_locking = yes

    .
    Identify the phone :
    $ sudo su
    $ gammu identify

    .
    If your phone supported and your config is correct, you will see phone information like Manufacture, Model, Firmware, IMEI, SIM IMSI, etc.
    .
    If error appeared, you phone might currently not supported or your config is incorrect, check gammu phone database to see list of supported phone.
    .
    Next, let’s configure gammu-smsd.
    $ sudo vim /etc/gammu-smsdrc

    # This is same as gammurc config
    [gammu]
    port = /dev/ttyACM0
    connection = at115200

    [smsd]
    PIN = 1234
    service = mysql
    DeliveryReport = sms
    logfile = /etc/smsdlog
    debuglevel = 255

    # Change this to your mysql config
    User = root
    Password = password
    PC = localhost
    Database = kalkun

  3. Get kalkun 0.1.3beta source code here, extract it to /var/www/html (this is default www-root for Ubuntu).
    .
    Now, we will configure kalkun.
    Create database named kalkun :
    $ mysql -u root -p
    mysql> CREATE DATABASE kalkun;
    mysql> quit
    .
    Edit kalkun database config in system/application/config/database.php, change database value to ‘kalkun’, username and password is depend on your mysql config.Now, let’s install it, open up your browser and go to http://localhost/kalkun/index.php/install, you will get installation window and kalkun will check the requirement before you install.

    installation

    Kalkun 0.1.3beta installation

    That’s it, now kalkun is already installed. Don’t forget to run the smsd daemon :
    $ sudo /etc/init.d/gammu-smsd start

  4. There you have a simple (really simple) web based SMS management, hope it usefull for someone out there…:)
Categories: kalkun Tags: ,

Kalkun review

August 30, 2009 2 comments

So, this is my first post about kalkun. My first open source project. I called it “just for fun” project, because i enjoyed it very much. It’s start when i’m using gammu for a while to build sms-gateway application, i’m really interested on it but i can’t find user interface for smsd in MySQL mode, so i decided to make my own and share it to other gammu user to make this software better.

This project start on July 2009 and the first release is 0.1.1beta on 09 July 2009. The latest release is o.1.3beta on today, 31 August 2009. Still many bugs on this software but i’m working on it, please support it…:)

OK, let me review it, just copy-paste from the project homepage…:)

What is Kalkun ?

Kalkun is a simple web-based SMS (Short Message Service) management, it use gammu as SMS gateway engine to deliver and retrieve messages from your phone/modem. Kalkun and gammu is two different things. you have to install and configure gammu at yourself. Kalkun only manage database that given by gammu.

What is the advantages ?

Since it web-based, you just need to put this software on one computer, let say it as your server. And other computer on your network (or even on the internet, if you need so), just need a browser to use it. Another advantages is you don’t need to worry about phone memory capacity, because your message is stored in database.

License

Kalkun is built from two open source software, CodeIgniter (PHP Framework) and jQuery (JavaScript Library), so it will use their licenses.

Features

Currently support basic function :

  • Manage SMS (Inbox, Outbox, Sent Items)
  • Sending SMS, by personal or group
  • Scheduled SMS, by datetime or delay
  • Manage Phonebook, by personal or group
  • Create signature on your message
  • Create and manage private folder
  • Quick reply, reply, forward message
  • Flash SMS
  • Plugin : sms bomber
  • Since 0.1.3beta version, message is threaded per person/conversation-like

And looks like it’s not complete without screenshot, here it is, the latest kalkun release, 0.1.3beta

Kalkun 0.1.3beta - Conversation

Categories: kalkun Tags:

WordPress 2.8.4 Security Upgrade Release

August 19, 2009 1 comment

WordPress Logo

WordPress adalah suatu blog tool dan CMS yang ringan yang digunakan untuk mempermudah user dalam membuat dan me-manage suatu blog. Bagi anda yang ingin mempunyai blog, WordPress menyediakan layanan gratis di situs resminya.

Pada beberapa hari yang lalu, WordPress merilis versi 2.8.4 yang merupakan security upgrade release. Versi ini dibuat untuk menutup celah keamanan yang terdapat pada versi 2.8.3 dan sebelumnya. Dengan memanfaatkan celah keamanan ini, setiap orang dapat me-reset password admin blog anda. Penjelasan detail mengenai security bug ini bisa dilihat disini.

Read more…

Categories: Open Source Tags: ,