Mobile Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsMobile ProgrammingMobile Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #16  
Old August 17th, 2009, 08:49 PM
jasonbird jasonbird is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2009
Posts: 19 jasonbird Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 1 h 37 m 28 sec
Reputation Power: 0
Thanks for so much informations~~!

Reply With Quote
  #17  
Old September 20th, 2009, 01:58 AM
buggers buggers is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2007
Posts: 45 buggers User rank is Sergeant Major (2000 - 5000 Reputation Level)buggers User rank is Sergeant Major (2000 - 5000 Reputation Level)buggers User rank is Sergeant Major (2000 - 5000 Reputation Level)buggers User rank is Sergeant Major (2000 - 5000 Reputation Level)buggers User rank is Sergeant Major (2000 - 5000 Reputation Level)buggers User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 14 h 42 m 29 sec
Reputation Power: 36
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

Reply With Quote
  #18  
Old February 14th, 2010, 04:14 PM
revo_x241083 revo_x241083 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2010
Posts: 1 revo_x241083 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m 57 sec
Reputation Power: 0
Great job

Quote:
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!

Reply With Quote
  #19  
Old April 9th, 2010, 12:32 AM
l0rdknight l0rdknight is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2010
Posts: 1 l0rdknight User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 15 sec
Reputation Power: 0
that's im looking for
thx !

Reply With Quote
  #20  
Old May 26th, 2010, 09:00 AM
steveparkers steveparkers is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2010
Posts: 2 steveparkers User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 21 m 29 sec
Reputation Power: 0
thanks this thread is very informative.

Reply With Quote
  #21  
Old December 23rd, 2011, 01:21 PM
recent recent is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2011
Posts: 1 recent User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 25 m 31 sec
Reputation 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

Reply With Quote
Reply

Viewing: Dev Shed ForumsMobile ProgrammingMobile Programming > Tutorial for kannel newbies in SUSE 10.0 do this....

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap