Page 2 of 2 First 12
  • Jump to page:
    #16
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2009
    Posts
    18
    Rep Power
    0
    Thanks for so much informations~~!
  2. #17
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2007
    Posts
    45
    Rep Power
    38
    hi everyone,
    i have tried kannel on opensuse,its working ok, now the only problem i m left with is making bearerbox and smsbox to run when the system starts, i.e like a daemon service, i have a vague idea that it will require some shell script to be put into the /etc/init.d but i dont know anything else,

    what the script will contain?
    how to activate it?

    Please help me set it up for opensuse 11

    Any Help would be highly appreciable...
    Thanks
  4. #18
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2010
    Posts
    1
    Rep Power
    0

    Great job


    Originally Posted by royashoya
    hi guyz,
    u must have really seen me suffering n askin all sorts of quizes about kannel in this forum.....
    now i decided to write this tutorial just to help all the others like me but are afraid to ask.
    if ur new n would like to get kannel running on Suse 10.0 then pliz try these. they r the steps i used n got kannel running.

    1. cd to the dir that has the gateway after u have unzipped it
    2. then type ./configure -enable assertions -with-malloc=native -enable-start-stop-daemon -enable-pam
    2. this should go on very well
    3. then type make
    4. then type make bindir=/local/usr/bin install
    5. this should succesfullly install the kannel.
    to start the kannel boxes after installation,
    6. cd /usr/local/bin and u shud be able to see all the sms, bearer, wap boxes...etc by typing ls -a
    7. then u can copy the smskannel.conf script from the kannel installation folder in the test dir. paste it in /usr/local dir
    before u start the boxes make sure ur localhost is running if not type rcapache2 start n this will start it
    8. ./bearerbox /usr/local/smskannel.conf should succesfully start the bearerbox
    then on a different terminal window from the one running the bbox, enter as below
    9. ./smsbox /usr/local/smskannel.conf should start the smsbox.
    after all the boxes are running well, u can try testing it out using the fakesmsc feature.
    now again on a different terminal window,(make sure u have lynx installed, if not install it 4rm ur cd packs)
    10. type lynx -dump "http://localhost:13000/status?password=bar"and this should show u the status of ur running kannel.

    now as at this point u can b sure at least ur bbox and smsbox are running ok if u dont get any errors.
    now to test the fakesmsc i copied the test dir from the installation dir of kannel into /usr/local
    for good practise in a new terminal window
    11. type /usr/local/test/fakesmsc -i 0.1 -m "100 200 text nop" "100 300 echo this"
    this should simulate 4 u the text msgs n if it is successful u can at least know that for testing purposes ur kannel i up and running well.

    from here am yet to proceed n go to the other tough parts of now connecting with a real gsm phone.....from here any of the experienced kannel users can help us....newbies!!!!

    now i know this is not so much of benefit to the hardcores but any newbie out there...i dont want u to suffer the way i did...incase of anything or any quizes pliz i'll b glad to answer (only regarding this reading).

    thanks a lot jabba_29 and andymoo for ur help.

    i'd be very glad if someone extended this small tutorial and also produce another tutorial to help "us" implement the other many services kannel has to offer....its an open world!!!!

    hope it helps someone out there!!!!! gdluck

    hi,
    after weeks of browsing for a solution i finally found someone that was able to get Kannel going, you think you might be able to help me out?

    i know it sounds tedious but can you set up Kannel for me remotely, I'm developing a website but i will like to receive a notification to my cell every time someone signs up
    please help!
  6. #19
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2010
    Posts
    1
    Rep Power
    0
    that's im looking for
    thx !
  8. #20
  9. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2010
    Posts
    2
    Rep Power
    0
    thanks this thread is very informative.
  10. #21
  11. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2011
    Posts
    1
    Rep Power
    0

    Generic error


    Hello

    I have a problem i use a wavecom fastrack modem to create a gateway sms on kannel i configure file.

    kannel.conf like that

    #
    # Sample configuration file for Kannel bearerbox on Debian.
    # See the documentation for explanations of fields.
    #

    # HTTP administration is disabled by default. Make sure you set the
    # password if you enable it.

    group = core
    admin-port = 13000
    admin-password = 123456
    admin-deny-ip = "*.*.*.*"
    admin-allow-ip = ""
    smsbox-port = 91
    #wdp-interface-name = "*"
    #log-file = "/var/log/kannel/bearerbox.log"
    box-deny-ip = "*.*.*.*"
    box-allow-ip = "127.0.0.1"


    # SMSC MODEM GSM
    group = smsc
    smsc = at
    host = localhost
    port = 92
    #smsc-id = modem
    modemtype = wavecom
    device = /dev/ttyS0
    speed = 9600
    sms-center = 18
    #pin= 010177
    keepalive = 50
    my-number = 50946330967

    group = modems
    id = wavecom
    name = wavecom
    detect-string = WAVECOM
    reset-string = “ATZ”
    init-string = “ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0″

    # SMSBOX SETUP
    group = smsbox
    bearerbox-host = localhost
    sendsms-port = 93
    sendsms-chars = “0123456789+”
    log-file = “/var/log/kannel/smsbox.log”
    log-level = 0
    access-log = “/var/log/kannel/access.log”

    # SEND-SMS USERS
    group = sendsms-user
    username = 123456
    password = 123456


    # SMS SERVICE ‘Default’
    # there should be default always
    group = sms-service
    keyword = default
    max-messages = 0
    exec = /var/www/playsms/installer/bin/kannel_incoming %t %q %a
    #get-url = “http://localhost/~playsms/plugin/gateway/kannel/geturl.php?t=%t&q=%q&a=%a”


    and i get this error when lance this command: bearerbox -v 1 kannel.conf
    i get this error:

    2011-12-23 14:10:36 [6461] [0] INFO: Kannel bearerbox II version 1.4.3 starting
    2011-12-23 14:10:36 [6461] [0] INFO: MAIN: Start-up done, entering mainloop
    2011-12-23 14:10:36 [6461] [6] INFO: AT2[/dev/ttyS0]: opening device
    2011-12-23 14:10:36 [6461] [6] INFO: AT2[/dev/ttyS0]: Logging in
    2011-12-23 14:10:36 [6461] [6] INFO: AT2[/dev/ttyS0]: init device
    2011-12-23 14:10:36 [6461] [6] INFO: AT2[/dev/ttyS0]: speed set to 9600
    2011-12-23 14:10:37 [6461] [6] ERROR: AT2[/dev/ttyS0]: Generic error: ERROR
    2011-12-23 14:10:37 [6461] [6] ERROR: AT2[/dev/ttyS0]: Initialization of device failed.
    2011-12-23 14:10:37 [6461] [6] INFO: AT2[/dev/ttyS0]: Closing device
    2011-12-23 14:10:37 [6461] [6] ERROR: AT2[/dev/ttyS0]: Couldn't connect (retrying in 10 seconds).
    ^C2011-12-23 14:10:39 [6461] [0] WARNING: Killing signal or HTTP admin command received, shutting down...
    2011-12-23 14:10:39 [6461] [6] INFO: AT2[/dev/ttyS0]: opening device
    2011-12-23 14:10:39 [6461] [6] INFO: AT2[/dev/ttyS0]: Logging in
    2011-12-23 14:10:40 [6461] [6] INFO: AT2[/dev/ttyS0]: init device
    2011-12-23 14:10:40 [6461] [6] INFO: AT2[/dev/ttyS0]: speed set to 9600
    ^C2011-12-23 14:10:43 [6461] [6] ERROR: AT2[/dev/ttyS0]: Generic error: ERROR
    2011-12-23 14:10:43 [6461] [6] ERROR: AT2[/dev/ttyS0]: Initialization of device failed.

    please help me
  12. #22
  13. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2014
    Location
    USA
    Posts
    1
    Rep Power
    0
    Thank You Freind
Page 2 of 2 First 12
  • Jump to page:

IMN logo majestic logo threadwatch logo seochat tools logo