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:
  #1  
Old September 20th, 2006, 02:01 AM
royashoya royashoya is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Posts: 31 royashoya User rank is Sergeant (500 - 2000 Reputation Level)royashoya User rank is Sergeant (500 - 2000 Reputation Level)royashoya User rank is Sergeant (500 - 2000 Reputation Level)royashoya User rank is Sergeant (500 - 2000 Reputation Level)royashoya User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 17 h 46 m 46 sec
Reputation Power: 14
Tutorial for kannel newbies in SUSE 10.0 do this....

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
Comments on this post
andymoo agrees: You've been stickied!
jabba_29 agrees: Persistence paid off: good work
ryon420 agrees: Very helpful!

Reply With Quote
  #2  
Old September 27th, 2006, 02:11 AM
Nelly1005 Nelly1005 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2006
Posts: 3 Nelly1005 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 34 m
Reputation Power: 0
Talking U guy

Why did it take you that long to generate the solution??by the way check on your English!!You come from Jamaica??
Anyway nice work Whiz

Reply With Quote
  #3  
Old October 2nd, 2006, 02:55 PM
mckay mckay is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2006
Posts: 9 mckay User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 21 m 49 sec
Reputation Power: 0
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!

I am also quite new to kannel and Linux. I need to use it for my project. I am using Fedora Core 4 and I'm wondering if the same steps apply for fc4. When I follow the second step on fc4 I get this error:

configure: error: -enable: invalid option; use --help to show usage

but when I type
./configure
it works, will that not give any problems with the rest of the steps? Please help!

Reply With Quote
  #4  
Old October 4th, 2006, 02:42 PM
royashoya royashoya is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Posts: 31 royashoya User rank is Sergeant (500 - 2000 Reputation Level)royashoya User rank is Sergeant (500 - 2000 Reputation Level)royashoya User rank is Sergeant (500 - 2000 Reputation Level)royashoya User rank is Sergeant (500 - 2000 Reputation Level)royashoya User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 17 h 46 m 46 sec
Reputation Power: 14
Quote:
Originally Posted by mckay
HI!

I am also quite new to kannel and Linux. I need to use it for my project. I am using Fedora Core 4 and I'm wondering if the same steps apply for fc4. When I follow the second step on fc4 I get this error:

configure: error: -enable: invalid option; use --help to show usage

but when I type
./configure
it works, will that not give any problems with the rest of the steps? Please help!


hi mckay,
am not sure with fc4 but i believe u r using the fc4 packages. but the ./configure alone should work since there are default values that will be set automatically:
and please try ./configure --enable........etc and see if it works.
and yes the other steps will proceed well without any other problems.

try it out n let me know. and please make the user guide your companion.
gdluck.

Reply With Quote
  #5  
Old October 11th, 2006, 02:19 PM
mckay mckay is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2006
Posts: 9 mckay User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 21 m 49 sec
Reputation Power: 0
Quote:
Originally Posted by royashoya
hi mckay,
am not sure with fc4 but i believe u r using the fc4 packages. but the ./configure alone should work since there are default values that will be set automatically:
and please try ./configure --enable........etc and see if it works.
and yes the other steps will proceed well without any other problems.

try it out n let me know. and please make the user guide your companion.
gdluck.


Hi royashoya

Thank you for your help. The ./configure command worked. I used the command:

./configure --enable-assertions -with-malloc=native --enable-start-stop-daemon --enable-pam

the other steps also worked well.

I see from the user guide that there is a section for installing rpm package. Does it mean that I have to install akannel rpm package after following the given steps? There seems to be a mismatch of directories given in the user guide compared to the ones on my system. For example:
I can't find the kannel dir in /usr/share/doc dir hence no examples/kannel.conf file as stated on page 11 of the guide, thus why I wonder whether I should install an additional rpm package.

Thanx a million for your help!

Reply With Quote
  #6  
Old October 12th, 2006, 04:34 PM
mckay mckay is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2006
Posts: 9 mckay User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 21 m 49 sec
Reputation Power: 0
Helo!

I have realised that the rpm package is an altenative to the tar package. There is not need to install the rpm package if the tar is successfully installed.

Reply With Quote
  #7  
Old October 12th, 2006, 04:40 PM
mckay mckay is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2006
Posts: 9 mckay User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 21 m 49 sec
Reputation Power: 0
Quote:
Originally Posted by mckay
Helo!

I have realised that the rpm package is an altenative to the tar package. There is not need to install the rpm package if the tar is successfully installed.


I am using a wavecom Fastrack M1306B modem. It is said to be compatible to linux. How do I get my fc4 to recognise it? The manual is for windows users.

Reply With Quote
  #8  
Old October 14th, 2006, 12:17 AM
royashoya royashoya is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Posts: 31 royashoya User rank is Sergeant (500 - 2000 Reputation Level)royashoya User rank is Sergeant (500 - 2000 Reputation Level)royashoya User rank is Sergeant (500 - 2000 Reputation Level)royashoya User rank is Sergeant (500 - 2000 Reputation Level)royashoya User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 17 h 46 m 46 sec
Reputation Power: 14
hi mckay,
about the packages in the tutorial, there is no need to install the rpm if u've put the zipped packages. all u need to do is just like go to /test dirctory of the original folder u installed from and copy whichever files u need to use into an appropriate location in ur machine where u have installed kannel. it really does not matter coz u will be just referncing the files.

i can see u have gone a step further than me in adding a modem,am still trying to pull resources for that so i really cant say much on that. but i'll try figure out how to do that.

Quote:
Originally Posted by mckay
I am using a wavecom Fastrack M1306B modem. It is said to be compatible to linux. How do I get my fc4 to recognise it? The manual is for windows users.

Reply With Quote
  #9  
Old January 9th, 2007, 07:25 AM
rodrigo_lessa rodrigo_lessa is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2007
Posts: 1 rodrigo_lessa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 54 sec
Reputation Power: 0
Hi mckay,
Try to use the minicom to connect to your Wavecom Fastrack M1306B modem.
It's important to have all configurations correctly in minicom, such as port, Bits per second, Data bits, Parity, etc...

Reply With Quote
  #10  
Old April 30th, 2007, 11:07 AM
Helping Helping is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 1 Helping User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 42 m 33 sec
Reputation Power: 0
Guide on using Wavecom Fastrack M1306B with Linux

Hi All!

A brief guide on using Wavecom Fastrack M1306B with Linux:
  • no driver is required
  • a SIM card (use your mobile phone to disable the SIM lock first before inserting into the modem)
  • PC with serial port
  • you need serial port control such as "minicom", "RXTX" (rxtx.org) or javax.comm (java.sun.com/products/javacomm/)
  • baud rate set to 119200
  • M1306B user guide and latest AT command that you can download from:mobitek-system.com/Download/Fastrack_M1306B_Guide.zip

For those who are using Wavecom Fastrack M1306B with Windows, this may be helpful: mobitek-system.com/SMS_Gateway/SMS_API_version3_Manual/index.html

Hope the brief guide helps. Best of luck!

Reply With Quote
  #11  
Old July 5th, 2009, 07:36 AM
abidtrand abidtrand is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2009
Posts: 3 abidtrand User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 48 m 56 sec
Reputation Power: 0
Quote:
Originally Posted by Helping
Hi All!

A brief guide on using Wavecom Fastrack M1306B with Linux:
  • no driver is required
  • a SIM card (use your mobile phone to disable the SIM lock first before inserting into the modem)
  • PC with serial port
  • you need serial port control such as "minicom", "RXTX" (rxtx.org) or javax.comm (java.sun.com/products/javacomm/)
  • baud rate set to 119200
  • M1306B user guide and latest AT command that you can download from:mobitek-system.com/Download/Fastrack_M1306B_Guide.zip

For those who are using Wavecom Fastrack M1306B with Windows, this may be helpful: mobitek-system.com/SMS_Gateway/SMS_API_version3_Manual/index.html

Hope the brief guide helps. Best of luck!


@royashoya :
dear sir, you have done a great job but i have some problems.
sir i couldn't find the smskannel.conf script in test folder.would you please help me what can i do now....im stuck at step 6.

Reply With Quote
  #12  
Old July 6th, 2009, 11:38 AM
abidtrand abidtrand is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2009
Posts: 3 abidtrand User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 48 m 56 sec
Reputation Power: 0
Quote:
Originally Posted by abidtrand
@royashoya :
dear sir, you have done a great job but i have some problems.
sir i couldn't find the smskannel.conf script in test folder.would you please help me what can i do now....im stuck at step 6.


somebody help me please.......

Reply With Quote
  #13  
Old July 7th, 2009, 03:21 PM
jabba_29's Avatar
jabba_29 jabba_29 is offline
Retired
Dev Shed God 9th Plane (9000 - 9499 posts)
 
Join Date: Feb 2002
Location: Finland
Posts: 9,139 jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)  Folding Points: 238337 Folding Title: Super Ultimate Folder - Level 1Folding Points: 238337 Folding Title: Super Ultimate Folder - Level 1Folding Points: 238337 Folding Title: Super Ultimate Folder - Level 1Folding Points: 238337 Folding Title: Super Ultimate Folder - Level 1Folding Points: 238337 Folding Title: Super Ultimate Folder - Level 1Folding Points: 238337 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 4 Months 6 Days 1 h 3 m 40 sec
Reputation Power: 2492
Send a message via AIM to jabba_29 Send a message via Google Talk to jabba_29 Send a message via Skype to jabba_29
Facebook
Hi,

You may have noticed that royashoya's post is from some time back.
Please state the operating system you are using.

Bottom line is to search the machine for the .conf file. Grep in unix I think should allow you to search or in windows it is quite straight forward to look for it.

How have you gone about the installation?
__________________

Cheers,
Jamie

>_ skiFFie ? | Twitter

__________________

Let the might of your compassion arise to bring a quick end
to the flowing stream of the blood and tears .....
Please hear my anguished words of truth.

__________________

Last edited by jabba_29 : July 9th, 2009 at 06:02 AM. Reason: Bottmom lin?? :rolleyes:

Reply With Quote
  #14  
Old July 8th, 2009, 02:08 AM
royashoya royashoya is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Posts: 31 royashoya User rank is Sergeant (500 - 2000 Reputation Level)royashoya User rank is Sergeant (500 - 2000 Reputation Level)royashoya User rank is Sergeant (500 - 2000 Reputation Level)royashoya User rank is Sergeant (500 - 2000 Reputation Level)royashoya User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 17 h 46 m 46 sec
Reputation Power: 14
Quote:
Originally Posted by abidtrand
@royashoya :
dear sir, you have done a great job but i have some problems.
sir i couldn't find the smskannel.conf script in test folder.would you please help me what can i do now....im stuck at step 6.


Hi abidtrand,

sorry been off the list for a while. I agree with jabba_29, let us know which OS and Kannel version you are using....before then you can try jabba_29's method or if you are using any "Redhat" based OS like fc, centos...etc u might want to try:

#updatedb
#locate smskannel.conf

the 1st step will update your indexing and the second will search through your files and locate the smskannel.conf file. Once you get its location....you can be able to proceed with the given steps...

hope this will be helpful.

Reply With Quote
  #15  
Old July 9th, 2009, 11:40 AM
abidtrand abidtrand is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2009
Posts: 3 abidtrand User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 48 m 56 sec
Reputation Power: 0
Smile

@jabba and royashoya :

thankyou very much for the reply .actually i found the script file by using egrep .found the script smskannel.conf in gw directory instead of test directory.and im using open-suse 11.1.
I am now trying to send sms using my mobile phone.I would b more than thankful if you can give me an idea as how to do that.
thanx alot

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