Archive

Archive for May, 2010

Setup Kannel SMS Gateway on Ubuntu

May 5th, 2010 9 comments

This are the required steps to setup Kannel as an SMS Gateway on Ubuntu. Here we use a simple GSM modem attached to USB port 0, using Enfora modem. You can use other standard AT command modems actually.

Enable the SMS Box

Edit file /etc/default/kannel , uncomment the START_SMSBOX line to enable the SMS Box

sudo vi /etc/default/kannel

START_WAPBOX=1
START_SMSBOX=1

 

Add kannel user to dialout group

This will enable kannel user (user who run kannel process as) to use the /dev/ttyUSB0 device that is necessary when we are using USB GMS modems.

Read more…

  • Share/Bookmark

CodeIgniter Tutorial: [Creating Accounting Application] Part 5 The Mainpage

May 4th, 2010 26 comments

Well I’m sorry, it’s been so long for this part to come.. I had been working very hard on some clients and don’t have enough time to write. Here’s what I had been done if you’re curious :) : http://maps.GpsTrackingIndonesia.com, www.SunberryCorp.com, www.mypushme.com, www.kulacak.com, www.web2trace.com, www.pushmeportal.com, … The fun is almost all of them was written with CodeIgniter :).

Ok, let’s start with the easiest one first. We will create a simple menu page that contains links to other modules on the system. We put it on the Mainpage controller class.

Look at the Mainpage.php controller file. There is a function on it named exactly the same with the filename: Mainpage(). This should be exactly the same including the case. This is the constructor or initialization function of the class. Each time the class is called or instantiate, this function is called automatically. We put some initialization lines inside it:

Read more…

  • Share/Bookmark
This site uses a Hackadelic PlugIn, Hackadelic SEO Table Of Contents 1.6.0.