|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
Quote:
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! |
|
#4
|
|||
|
|||
|
Quote:
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. |
|
#5
|
|||
|
|||
|
Quote:
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! |
|
#6
|
|||
|
|||
|
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. |
|
#7
|
|||
|
|||
|
Quote:
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. |
|
#8
|
|||
|
|||
|
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:
|
|
#9
|
|||
|
|||
|
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... |
|
#10
|
|||
|
|||
|
Guide on using Wavecom Fastrack M1306B with Linux
Hi All!
A brief guide on using Wavecom Fastrack M1306B with Linux:
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! |
|
#11
|
|||
|
|||
|
Quote:
@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. |
|
#12
|
|||
|
|||
|
Quote:
somebody help me please....... |
|
#13
|
||||
|
||||
|
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 # mdb4u | mobile movie database | Currently being revamped # skiFFie | Jamie Burns [me] # guidelines | search | wap resources | not getting help | fold to cure __________________ 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 07:02 AM. Reason: Bottmom lin?? :rolleyes: |
|
#14
|
|||
|
|||
|
Quote:
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. |
|
#15
|
|||
|
|||
|
@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 |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Mobile Programming > Tutorial for kannel newbies in SUSE 10.0 do this.... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|