Helping ordinary people create extraordinary websites!
GET OUR NEWSLETTER
Your Email:
 

Build a WAP Gateway On Linux

By Manas Ranjan Behera
2005-05-27


Setting up the gateway

There are two ways to build the gateway. The first way is to get the source code, compile it yourself, and install it. The second way is to have the precompiled binary RPM (RedHat Package Manager) and get it installed. The RPM is a program designed to build and manage packages of software, including the source and binaries. It is also portable and can be run on different platforms. See Resources for more information on RPM.

First, you need to install the Kannel source code by downloading it from Kannel's Web site (see Resources). Once the download is complete, compile the source code by entering the following commands from a command line:

./configure
make

Ideally, you should be able to compile the code without any problems. If all the libraries mentioned above are present, the code compiles easily. To install the gateway, enter the following command: make bindir=/usr/local/bin install.

You can substitute the /usr/local/bin directory with any other path where the gateway should be installed. The gateway is now installed on your system. The executables can now be found in the /gw directory named bearerbox, wapbox.

Installing the pre-compiled binaries
Check that you have the libxml2 XML library installed in your system by typing the following command: rpm -q libxml2.

This XML library is required to install and compile the gateway. Download the binary RPM file of Kannel from the site. Log in as root, and enter the following command to install it. If you have sufficient permission, you might not require the superuser mode.


rpm -ihv kannel_VERSION.i386.rpm

This completes the installation. The _VERSION attribute is the version number of the Kannel binaries.



Tutorial Pages:
» Basic steps for setting up a WAP gateway
» Kannel gateway architecture
» Basic software and hardware requirements
» Setting up the gateway
» Working with the gateway
» Starting the gateway
» Administering the gateway through an HTTP interface
» Testing with a WAP-enabled mobile phone simulator
» In conclusion
» Resources


First published by IBM DeveloperWorks


 | Bookmark
Related Tutorials:
» How to Install PHP 5 on Linux
» How to Install Apache 2 on Linux
» How to Install MySQL 5.0 on Linux
» SMB Caching
» Mound --Bind
» Tar Wild Card Interpretation

Advertise with Us!


Tutorials Scripts Web Hosting Developer Manuals
Resources