WAP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreWAP 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:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #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: 30 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 11 m 20 sec
Reputation Power: 9
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: 8 mckay User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 54 m 30 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: 30 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 11 m 20 sec
Reputation Power: 9
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: 8 mckay User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 54 m 30 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: 8 mckay User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 54 m 30 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: 8 mckay User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 54 m 30 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: 30 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 11 m 20 sec
Reputation Power: 9
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
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreWAP Programming > Tutorial for kannel newbies in SUSE 10.0 do this....


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

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

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





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway