Kannel WAP and SMS gateway User Manual page 18

Open source wap and sms gateway
Table of Contents

Advertisement

3. Install or upgrade the DEB package:
dpkg -i kannel-
VERSION
Removing Kannel
1. Log in as root:
2. Remove the package keeping configuration files:
dpkg --remove kannel
3. Remove the package completely:
dpkg --purge kannel
After you have installed Kannel from the DEB packages you should now be able to run the Kannel init.d
script that will start Kannel as a WAP gateway. Run the script as root.
/etc/init.d/kannel start
To stop the gateway just run the same script with the stop parameter.
/etc/init.d/kannel stop
If Kannel is already running and you just want to quickly stop and start the gateway,e.g.to set a new
configuration option, run the script with the restart parameter.
/etc/init.d/kannel restart
If you don't want Kannel to run as a daemon, run:
update-rc.d -f kannel remove
If you want to restore Kannel runing as a daemon, you need to add a symbolic link to the Kannel script
from the runlevel you want Kannel to run in. E.g. to run Kannel in default runlevel, just run:
update-rc.d kannel defaults
Kannel package starts by default with a wapbox daemon. To activate smsbox or select which box you
want to start, edit /etc/default/kannel and comment/uncomment START_xxxBOX.
To run Kannel as a SMS gateway you need to edit the configuration file which is at
/etc/kannel/kannel.conf. In /usr/share/docs/kannel/examples/ there are example files. They have some
basic examples of the configuration groups needed to run Kannel as a SMS gateway. For more detailed
information please read the section "SMS gateway configuration" later in this same document.
.deb
Chapter 2. Installing the gateway
11

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

1.3.1

Table of Contents