Main My profile Registration Log out Login
Thursday
2.5.2024
9:18:39 PM
Welcome Guest | RSS LoginRegistrationMain
Site menu
Our poll
Rate my site
Total of answers: 5
Statistics

Total online: 1
Guests: 1
Users: 0
About You
IP
Counter
Free Hit Counter
Main » 2011 » March » 18 » INSTALLING KALKUN
INSTALLING KALKUN
5:00:45 PM
Kalkun is open source web-based SMS (Short Message Service) management, it use gammu-smsd as SMS gateway engine to deliver and retrieve messages from your phone/modem. Kalkun and gammu is two different things. you have to install and configure gammu at yourself. Kalkun only manage database that given by gammu.

Now we will install kalkun 0.2.1

Before install kalkun, we must install web server.
First, you have to add my PPA (Personal Packages Archive) to your repository list (/etc/apt/source.list).
deb http://ppa.launchpad.net/back2arie/ppa/ubuntu lucid main
deb-src http://ppa.launchpad.net/back2arie/ppa/ubuntu lucid main
Next, add my key to verify the packages and then, update your repository:

$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B3830FF1
$ sudo apt-get update
Let's we install kalkun
$ sudo apt-get install kalkun
This will install kalkun will all required packages, like apache2, php5, mysql-client, and gammu-smsd. mysql-server is not installed by default, because you might want to use external database, but if you want to use local database, you must install mysql-server package.

$ sudo apt-get install mysql-server
Now, we have kalkun and all required packages installed.

Next is configuration.
=========================================
Database configuration
=========================================
Connect to mysql server and create database named kalkun

$ mysql -u root -p
mysql> CREATE DATABASE kalkun;
It’s highly recommended to create specific database user for kalkun database, so other user will not get interrupted, it’s security issue.


mysql > GRANT ALL PRIVILEGES ON kalkun.* TO 'username'@'localhost' IDENTIFIED BY 'password'
Change username and password as you want.
Then, flush privileges to activate your changes

mysql> FLUSH PRIVILEGES;

==========================================
Gammu-SMSD
==========================================
Connect your phone, and see where it’s attached to.

$ tail -f /var/log/messages

Create log file

$ sudo touch /etc/smsdlog

Edit /etc/gammu-smsdrc.

[gammu]
port = /dev/ttyUSB0 # change this
connection = at115200 #chage this

[smsd]
PIN = 1234
service = mysql
DeliveryReport = sms
logfile = /etc/smsdlog
debuglevel = 1 # change to 255 if you want to debug

User = username # change this
Password = password # change this
PC = localhost
Database = kalkun

Option for connection
; This is a sample ~/.gammurc file.
; In Unix/Linux copy it into your home directory and name it .gammurc
; or into /etc and name it gammurc
; In Win32 copy it into directory with Gammu.exe and name gammurc
; More about parameters later
; Anything behind ; or # is comment.
; -----------------------------------------------------------------------------

[gammu]

device = com8:
connection = irdaphonet
; Do not use model configuration unless you really need it
;model = 6110
;synchronizetime = yes
;logfile = gammulog
;logformat = textall
;use_locking = yes
;gammuloc = locfile
;startinfo = yes
;gammucoding = utf8
;usephonedb = yes

[gammu1]

device = com8:
;model = 6110
connection = fbusblue
;synchronizetime = yes
;logfile = gammulog
;logformat = textall
;use_locking = yes
;gammuloc = locfile
;startinfo = yes
;gammucoding = utf8

; Step 1. Please find required Connection parameter and look into assigned
; with it device type. With some Connection you must set concrete model

; ================================================================ cables =====
; New Nokia protocol for FBUS/DAU9P
; Connection "fbus", device type serial
; New Nokia protocol for DLR3/DLR3P
; Connection "fbusdlr3"/"dlr3", device type serial
; New Nokia protocol for DKU2 (and phone with USB converter on phone mainboard
; like 6230)
; Connection "dku2phonet"/"dku2", device type dku2 on Windows
; Connection "fbususb" on Linux
; New Nokia protocol for DKU5 (and phone without USB converter on phone
; mainboard like 5100)
; Connection "dku5fbus"/"dku5", device type dku5
; New Nokia protocol for PL2303 USB cable (and phone without USB converter
; on phone mainboard like 5100)
; Connection "fbuspl2303", device type usb
; Old Nokia protocol for MBUS/DAU9P
; Connection "mbus", device type serial
; Variants:
; You can modify a bit behaviour of connection using additional flags
; specified just after connection name like connection-variant.
; If you're using ARK3116 cable (or any other which does not like dtr
; handling), you might need -nodtr variant of connection, eg. dlr3-nodtr.
; If cable you use is not powered over DTR/RTS, try using -nopower variant of
; connection, eg. fbus-nopower.
; -----------------------------------------------------------------------------
; AT commands for DLR3, DKU5 or other AT compatible cable (8 bits, None
; parity, no flow control, 1 stop bit). Used with Nokia, Alcatel, Siemens, etc.
; Connection "at19200"/"at115200"/.., device type serial
; AT commands for DKU2 cable
; Connection "dku2at", device type dku2
; ============================================================== infrared =====
; Nokia protocol for infrared with Nokia 6110/6130/6150
; Connection "fbusirda"/"infrared", device type serial
; Nokia protocol for infrared with other Nokia models
; Connection "irdaphonet"/"irda", device type irda
; -----------------------------------------------------------------------------
; AT commands for infrared. Used with Nokia, Alcatel, Siemens, etc.
; Connection "irdaat", device type irda
; -----------------------------------------------------------------------------
; OBEX for infrared
; Connection "irdaobex", device type irda.
; ============================================================= Bluetooth =====
; Nokia protocol with serial device set in BT stack (WidComm, other) from
; adequate service and Nokia 6210
; Connection "fbusblue", device type serial
; Nokia protocol with serial device set in BT stack (WidComm, other) from
; adequate service and other Nokia models
; Connection "phonetblue", device type serial
; -----------------------------------------------------------------------------
; Nokia protocol for Bluetooth stack with Nokia 6210
; Connection "bluerffbus", device type BT
; Nokia protocol for Bluetooth stack with DCT4 Nokia models, which don't inform
; about services correctly (6310, 6310i with firmware lower than 5.50, 8910,..)
; Connection "bluerfphonet", device type BT
; Nokia protocol for Bluetooth stack with other DCT4 Nokia models
; Connection "bluephonet", device type BT
; -----------------------------------------------------------------------------
; AT commands for Bluetooth stack and 6210 / DCT4 Nokia models, which don't
; inform about BT services correctly (6310, 6310i with firmware lower
; than 5.50, 8910,..)
; Connection "bluerfat", device type BT
; AT commands for Bluetooth stack with other phones (Siemens, other Nokia,etc.)
; Connection "blueat", device type BT
; -----------------------------------------------------------------------------
; OBEX for Bluetooth stack with DCT4 Nokia models, which don't inform about
; BT services correctly (6310, 6310i with firmware lower than 5.50, 8910,...)
; Connection "bluerfobex", device type BT
; OBEX for Bluetooth stack with other phones (Siemens, other Nokia, etc.)
; Connection "blueobex", device type BT.
; -----------------------------------------------------------------------------
; Connection "bluerfgnapbus", device type BT, model "gnap"
; Connection "irdagnapbus", device type irda, model "gnap"

; Step2. According to device type from Step1 and used OS set Port parameter

; -----------------------------------------------------------------------------
; Port type | "Port" parameter in Windows/DOS | "Port" parameter in Linux/Unix
; ----------|---------------------------------|--------------------------------
; serial | "com*:" | "/dev/ttyS*"
; | (example "com1:") | (example "/dev/ttyS1")
; | | or "/dev/tts/**" (with DevFS)
; | | virtual serial ports like
; | | "/dev/ircomm*" or "/dev/rfcomm*"
; ----------|---------------------------------|--------------------------------
; irda | ignored (can be empty) | ignored (can be empty)
; ----------|---------------------------------|--------------------------------
; BT | Bluetooth device address (example "00:11:22:33:44:55").
; | Optionally you can also include channel after slash
; | (example "00:11:22:33:44:55/12"). Can be also empty.
; ----------|---------------------------------|--------------------------------
; dku2 | ignored (can be empty) | /dev/ttyUSB* or /dev/ttyACM*
; ----------|---------------------------------|--------------------------------
; dku5 | ignored (can be empty) | connection with it not possible
; ----------|---------------------------------|--------------------------------
; usb | connection with it not possible | "/dev/ttyUSB*"

; Step3. Set other config parameters

; -----------------------------------------------------------------------------
; Parameter name | Description
; ----------------|------------------------------------------------------------
; Model | Should not be used unless you have a good reason to do so.
; | If Gammu doesn't recognize your phone model, put it here.
; | Example values: "6110", "6150", "6210", "8210"
; SynchronizeTime | if you want to set time from computer to phone during
; | starting connection. Do not rather use this option when
; | when to reset phone during connection (in some phones need
; | to set time again after restart)
; GammuLoc | name of localisation file
; StartInfo | this option allow to set, that you want (setting "yes")
; | to see message on the phone screen or phone should enable
; | light for a moment during starting connection. Phone
; | WON'T beep during starting connection with this option.
; GammuCoding | forces using specified codepage (in win32 - for example
; | "1250" will force CP1250) or UTF8 (in Linux - "utf8")
; ----------------|------------------------------------------------------------
; Logfile | Use, when want to have logfile from communication.
; Logformat | What debug info and format should be used:
; | "nothing" - no debug level (default)
; | "text" - transmission dump in text format
; | "textall" - all possible info in text format
; | "errors" - errors in text format
; | "binary" - transmission dump in binary format
; ----------------|------------------------------------------------------------
; Features | Custom features for phone. This can be used as override
; | when values coded in common/gsmphones.c are bad or
; | missing. Consult include/gammu-info.h for possible values
; | (all Feature values without leading F_ prefix).
; | Please report correct values to Gammu authors.
; ----------------|------------------------------------------------------------
; Use_Locking | under Unix/Linux use "yes", if want to lock used device
; | to prevent using it by other applications. In win32 ignored

; vim: et ts=4 sw=4 sts=4 tw=78 spell spelllang=en_us


==========================================
Install Kalkun
==========================================

Edit kalkun database settings on /var/www/kalkun/system/application/config/database.php

$db['default']['hostname'] = "localhost";
$db['default']['username'] = "username"; // change this
$db['default']['password'] = "password"; // change this
$db['default']['database'] = "kalkun";
$db['default']['dbdriver'] = "mysql";
Finally, launch up your browser and go to http://localhost/kalkun, you will see installation wizard there. That should be easy from here.

Now we try upgrade Kalkun 0.2.1 to Kalkun 0.2.9

1. Find and download the last update at http://kalkun.sourceforge.net/

2. Backup
Kalkun v0.2.1 in /var/www/

#mv kalkun kalkun_backup

3. Rename id_pbk colomn to be ID from pbk table, I'm using phpmyadmin

4. Rename GroupName colomn to be Name from pbk_groups table, I'm using phpmyadmin

5. Ekstrak and move Kalkun v0.2.9 to /var/www

6. Change the database configuration in
/application/config/database.php

7. Edit daemon.sh in scripts folder like this
#!/bin/sh
# Configure this (use absolute path)
PHP=/usr/bin/php # php cli path
DAEMON=/scripts/daemon.php # daemon.php path
# Execute
$PHP $DAEMON

8. Make sure the url Kalkun in the files /scripts/daemon.php
<?php
// Make sure it's run from CLI
if(php_sapi_name() != 'cli' && !empty($_SERVER['REMOTE_ADDR'])) exit("Access Denied.");
// Please configure this
$url = "http://localhost/kalkun";
fclose(fopen($url."/index.php/daemon/message_routine/", "r"));
?>

9.
Add runonreceive = /scripts/daemon.sh in file /etc/gammu-smsdrc part [smsd]

10. Restart gammu
#/etc/init.d/gammu-smsd restart

Views: 78667 | Added by: 000jericho | Tags: gammu, linux, gammu-smsd, kalkun | Rating: 0.0/0 |
Total comments: 181 2 »
18 Purchase Communicate  
0
That pics generally there s at the same time without doubt one of Phelps from a three-piece accommodate, relaxing for a bed through Larisa Latynina, the actual gymnast in whose Olympic medal history they out of cash once Seventy two yrs commenced looking on the Internet upon August. Seven, and additionally quickly distribute to Longchamp outlet e rumor, designer and then competitive sports web pages.<br>Qu Longchamp le pliage estions followed related to no matter whether ones own un-attributed introduction constituted a violation of your much-talked-about Guideline 40, that avoids Olympians coming from being found in unapproved advertising to obtain a interval all around the flash games.<br>The World-wide Olympic Board carries though to touch upon the problem. A real spokeswoman to your group known as questions to the Oughout.S. Olympic Panel. USOC spokesperson Meat Sandusky suggested he considered the difficulty not to mention identified Phelps persists on deference because he don't approve earlier turmoil your portraits.<br>Phelps broker, Andrew d Carlisle, answered any sort of recommendation that will Phelps enjoyed broken that guideline an act that, as outlined by IOC certificate, can result in an athlete staying removed involving his or her medals.<br>Carlisle tweeted Saturday that Secret Forty five corresponds to sports stars who actually make it easy for by using his or her identify during the Matches; it won't connect with illegal applies (of which, the fact is that, are typical). Phelps retweeted your guy subsequently.<br>On From monday, Phelps instructor, William Bowman, mentioned the guy in learned nothing at all in terms of a conceivable challenge.<br>Calls in order to Lv s U . s . hq aren't come back Friday, but agents have got also told different media channels channels the provider hasn't been accountable for this trickle. Leibovitz s advisor said the same, depending on growing media research.<br>The After dark Boundaries plan legally launched Aug Of sixteen each and every day following your IOC s proh Longchamp Purses ibition stopped and after this is actually showcased noticeably about Louis Vuitton s blog, where exactly Phelps talks over his end goal of skyrocketing fishing by your partner's groundwork, together with books visitors with the interactive video.<br>Rule Forty five has become area of interest associated with social bookmarking ridicule while in the activities, a Longchamp bags s pro athletes reported regularly angrily a guide which often shunned these folks as a result of by way of thanking prevailing advertisers, and / or making profits out of a new.<br>IOC records in the tip proclaims the goal is considered the safeguard the Olympic games newbie plant's roots from controlling ambush promoting and advertising when suppliers endeavor to complete a link with all of the computer games without the need of sponsoring it.<br>Track and even niche sports athletes was particularly dismayed, with numerous tweeting their issues combined with the hash tickets #rule40 together with #wedemandchange.<br>Middle length jogger Capricorn Manzano told an individual's Myspace disciples they in really been compelled to pack up responses upon the trainers along with functioning due to the regulation. Manteo Mitchell, who exactly was a idol for the United kingdom adventures by means of generating this limb of one's 4X400 inform having a damaged fibula, mentioned his prevention through Myspace: We're Excited to help you present my very own State... nonetheless at the conclusion of the time... This is certainly My personal JOB!!!!!! Each Manzano together with Mitchell can be paid just by Nike. Adidas recruited a London games.<br>Athletes together with their real estate agents lead to blocking an organization provided by violating Regulation Twenty, as reported by IOC tips. Even when an enterprise in which recruited a strong Olympian could possibly guide this in it's website, it couldn't consider your relationship in its homepage and hadn't been permitted send expressly with the Game titles aside from to produce a balanced, truthful affirmation that patient will be an Olympian. <br>Phelps, that returned to Baltimore latter part of the yesterday and also has really been saw during Canton at Meadowbrook marine heart, where he has prolonged skilled, moved promptly to use in his / her support demo tape sticking with what precisely she has corresponding had been his or her final competing firms. Aside from the Lv cope, he / she s opted for appear in some Tennis Route puede Longchamp sale ries in addition to came to an understanding with Typical Generators to make sure you repeatedly display on the duvet with Wheaties breakfast cereal container.<br>chris.korman@baltsun.com<br>twitter.com/chriskorman

17 Ourrpajes  
0
Онлайн кредити . Як багато зламано списів . І Як багато ще зламають . Невелика стаття по темі Онлайн кредитування
Оформление кредита в режиме он-лайн очень прилично в том случае, если у Вас нет времени на походы по банкам. Конечно же, не все банки предлагают такую услугу, но все же на сайтах фаворитных банков Вы отроет подходящую Вам страничку.

Сразу уточним, что через интернет можно оформить покупательский кредит. На выдачу же более внушительных займов в режиме онлайн можно получить только единодушие кредитного комитета, после чего Вам никак не удастся исключить посещения банка, так как ему необходимо будет скурпулезно сверить Вашу платежеспособность. Впрочем, в банк потребуется идти даже и по поводу потребительского кредита, так как капитал(ы) на дом никто не препровождает.

Через интернет банки предлагают оформить заявку на обретение кредита в государственный строй онлайн. Однако, пока что именно это зовут онлайн-кредитованием. Для этого, зайдя на сайт нужно Вам банка и найдя раздел «онлайн-сервис» или «онлайн-заявка», необходимо охватить анкету. Если банк согласен отпустить заемщику кредит, то его оповещают об этом по телефону, после чего просят прийти в наиблежайшее участок банка, где и приступает окончательное решение о выдаче денег. разумеется, такое решение принимается после проверки всех необходимых документов. Таким образом, онлайн-кредитование помогает сохранить время на заполнение заявки на обретение кредита. В остальном вся процедура является стандартной.

Сейчас онлайн-кредиты не употребляются особенной известностью, так как не имеют совершенно никаких преимуществ перед рядовыми. Со слов банков, работа через интернет содействует планирование себестоимости операций, поэтому рождается вероятность поставить сетевым посетителям более симпатичные условия кредитования. Возможно, со временем это действительно осуществиться.
http://rusbanksite.ru/%D0%B1%D0%B0%D0%BD%D0%BA-%D0%BE%D0%BD%D0%BB%D0%B0%D0%B9%D0%BD-%D0%B7%D0%B0%D1%8F% D0%B2%D0%BA%D0%B0-%D0%BD%D0%B0-%D0%BA%D1%80%D0%B5%D0%B4%D0%B8%D1%82/

16 sykvxphx  
0
[url=http://www.swarovskisales.com/#40729]swarovski crystals for sale
[/url] are designed with various styles and designs, swarovski outlet philippines
to satisfy different requirements of global customers. These swarovski earrings buy
will definitely leave you a memorable impression for its stylish and unique design.
[url=http://www.swarovskisales.com/]swarovski sale optics
[/url] offers the discount with top quality. swarovski crystal earrings
sale. 70% OFF.

15 Jimmylq7ox  
0
hvviu<a href=> joe haden jersey </a>
wplwq<a href=> matt forte jersey </a>
pymye<a href=> joe haden jersey </a>
nfvld<a href=> drew brees jersey </a>
jvtdl<a href=> darren sproles jersey </a>

14 Jimmymf2tx  
0
lrcke<a href=> fred jackson jersey </a>
klogk<a href=> ray rice jersey </a>
ljclk<a href=> jason williams jersey </a>
eydgc<a href=> mark sanchez jersey </a>
remik<a href=> hakeem nicks jersey </a>

13 biggui  
0
quand je saisi gammu-smsd-inject; ça m'affiche not enough parameters;
en plus quand je saisi gammu-smsd-monitor j'ai ceci
gammu-smsd-monitor[29630]: Failed to allocate shared memory segment!, Error 2: Aucun fichier ou dossier de ce type
Que faire?

12 Bleadayallepe  
0
1931 prix viagra achat http://pharmaciefrancefr.com/#3864 prix viagra

11 Psyncpoosse  
0
8605 shi bars payday http://instantpaydayloansf.com/#2843 payday ptc scam

10 doxycycline side effects  
0
doxycycline hyclate used to treat http://doxycyclinehyclatepharm.com/#1300 order doxycycline without medical

9 CiyiaWed  
0
take advantage of the company could result in quite a few problems, plus health benefits wobenzym n Run into the divider.
Resources firmly via finding out the basic [b]plant enzymes & probiotics [/b]
[url=]enzymes supplements[/url]
carefully by just finding out an overview ,

1-10 11-18
Name *:
Email *:
Code *:
Login form
Search
Calendar
«  March 2011  »
SuMoTuWeThFrSa
  12345
6789101112
13141516171819
20212223242526
2728293031
Entries archive
Links
Forum  ========================== ..::Forum::..  ==========================
Firends
Friends  ========================== ..::Friends::..  ==========================

Copyright Jericho © 2024
Powered by uCoz