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

Build a WAP Gateway On Linux

By Manas Ranjan Behera
2005-05-27


Starting the gateway

Once you have compiled Kannel and edited the configuration file to your specifications, it is time for the final step. For basic work, you can copy and paste the text shown in Listing 1, save it with any name, and use it as your configuration file. In order to start the gateway, you must first start the bearerbox, followed by the wapbox. Because the bearerbox is the essential part of the gateway, it must be started first.

Start the bearerbox with the following command: ./bearerbox -v 1 <conf_file>.

The -v 1 sets the logging level to INFO. In this option you won't see a large amount of debugging output (the default is DEBUG <conf_file>), where conf_file is the name of the configuration file you are using with Kannel. The basic distribution packet comes with the sample configuration file wapkannel.conf (in the /gw subdirectory), which is for setting up WAP Kannel. You can edit those configuration files to set up your own specialized system. After the bearer box, the wapbox must be started. Start it by typing the following command: ./wapbox -v 1 <conf_file> .

For more command-line options, you must review the Kannel User Guide.



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