|
Helping ordinary people create extraordinary websites! |
Build a WAP Gateway On LinuxBy Manas Ranjan Behera2005-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: 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 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. This completes the installation. The 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
|
|