(Basically it's my same previous problem that I posted earlier)

I have here a Nokia Phone GSM Modem running on Fedora Linux 3.
I try to run ./bearerbox using root and this I get...
____________________________________________________________________
[EMAIL PROTECTED] gw]# ./bearerbox -v 1 smskannel.conf
2006-02-18 13:41:32 [3284] [0] INFO: Debug_lvl = 1, log_file = <none>, log_lvl = 0
2006-02-18 13:41:32 [3284] [0] WARNING: DLR: using default 'internal' for storage type.
2006-02-18 13:41:32 [3284] [0] INFO: DLR using storage type: internal
2006-02-18 13:41:32 [3284] [0] INFO: HTTP: Opening server at port 13000.
2006-02-18 13:41:32 [3284] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100).
2006-02-18 13:41:32 [3284] [0] INFO: DLR rerouting for smsc id <(null)> disabled.
2006-02-18 13:41:32 [3284] [0] INFO: AT2[/dev/ttyS0]: configuration shows modemtype <nokiaphone>
2006-02-18 13:41:32 [3284] [0] INFO: AT2[/dev/ttyS0]: read modem definition for <Nokia Phone>
2006-02-18 13:41:32 [3284] [0] INFO: ----------------------------------------
2006-02-18 13:41:32 [3284] [0] INFO: Kannel bearerbox II version 1.4.0 starting
2006-02-18 13:41:32 [3284] [0] INFO: MAIN: Start-up done, entering mainloop
2006-02-18 13:41:32 [3284] [6] INFO: AT2[/dev/ttyS0]: opening device
2006-02-18 13:41:33 [3284] [6] INFO: AT2[/dev/ttyS0]: init device
2006-02-18 13:41:33 [3284] [6] INFO: AT2[/dev/ttyS0]: speed set to 19200
2006-02-18 13:41:37 [3284] [6] ERROR: AT2[/dev/ttyS0]: Opening failed. Terminating
2006-02-18 13:41:37 [3284] [6] INFO: AT2[/dev/ttyS0]: closing device
2006-02-18 13:41:37 [3284] [6] INFO: AT2[/dev/ttyS0]: opening device
2006-02-18 13:41:38 [3284] [6] INFO: AT2[/dev/ttyS0]: init device
2006-02-18 13:41:38 [3284] [6] INFO: AT2[/dev/ttyS0]: speed set to 19200
2006-02-18 13:41:42 [3284] [6] ERROR: AT2[/dev/ttyS0]: Opening failed. Terminating
2006-02-18 13:41:42 [3284] [6] INFO: AT2[/dev/ttyS0]: closing device
2006-02-18 13:41:42 [3284] [6] INFO: AT2[/dev/ttyS0]: opening device
2006-02-18 13:41:43 [3284] [6] INFO: AT2[/dev/ttyS0]: init device
2006-02-18 13:41:43 [3284] [6] INFO: AT2[/dev/ttyS0]: speed set to 19200
2006-02-18 13:41:47 [3284] [6] ERROR: AT2[/dev/ttyS0]: Opening failed. Terminating
2006-02-18 13:41:37 [3284] [6] INFO: AT2[/dev/ttyS0]: closing device

(The last 5 lines just repeating)
_____________________________________________________________________

Here's my config file smskannel.conf.
Someone suggested that I should uncomment include in modems.conf and to set the speed to 19200 instead of 9600. I've already done that and the result was just the same.
_____________________________________________________________________
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
#status-password = foo
#admin-deny-ip = ""
#admin-allow-ip = ""
#log-file = "/tmp/kannel.log"
#log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
#unified-prefix = "+358,00358,0;+,00"
#access-log = "/temp/access.log"
#store-file = "/tmp/kannel.store"
#ssl-server-cert-file = "cert.pem"
#ssl-server-key-file = "key.pem"
#ssl-certkey-file = "mycertandprivkeyfile.pem"

include = "modems.conf"

# SMSC CONNECTIONS

group = smsc
smsc = at
modemtype = nokiaphone
device = /dev/ttyS0
speed = 19200
pin = 1234

# SMSBOX SETUP

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = 13013
#sendsms-chars = "0123456789 +-"
#log-file = "/tmp/smsbox.log"
#log-level = 0
#access-log = "/tmp/access.log"

# SEND-SMS USERS

group = sendsms-user
username = tester
password = foobar
#user-deny-ip = ""
#user-allow-ip = ""

# SERVICES

group = sms-service
keyword = nop
text = "You asked nothing and I did it!"
catch-all = true

group = sms-service
keyword = command
exec = "./parser %r"

# there should be default always

group = sms-service
keyword = default
text = "No service specified"

group = sms-service
keyword = help
text = "To enter a request type: command <request>. Text request to see list of requests "

group = sms-service
keyword = request
text = "make directory: mkdir <path>; reboot: reboot; shutdown: halt; view memory: view mem; help: help "
______________________________________________________________________

A fellow student used the same configuration for Mandrake and whenever he inputs ./bearerbox -v 1 smskanne.conf, it works just fine to him.
I'm just wondering what could be wrong. Please help. Thanks.



What are the most popular cars? Find out at Yahoo! Autos

Reply via email to