---------- Forwarded message ----------
From: Kudzai Gadzira <[EMAIL PROTECTED]>
Date: Nov 7, 2007 9:00 AM
Subject: Cannot start smsc. ERROR: System error 2: No such file or directory
To: users@kannel.org

Hi all,

i'm using a Motorola C261 as a gsm modem for an sms gateway but I cant start
my smsc.  When I start the bearer box i get the following error:

2007-03-07 17:48:28 [6895] [6] ERROR: System error 2: No such file or
directory
2007-03-07 17:48:28 [6895] [6] DEBUG: AT2[VSMSC]: detecting modem type
2007-03-07 17:48:28 [6895] [6] INFO: AT2[VSMSC]: opening device
2007-03-07 17:48:28 [6895] [6] ERROR: AT2[VSMSC]: open failed! ERRNO=2
2007-03-07 17:48:28 [6895] [6] ERROR System error 2: No such file or
directory


Please help.


Below is my .conf file


group = core

admin-port = 13000

admin-password = bar

smsbox-port = 13001

log-file = "/tmp/mobile_companion.log"

#log-level = 0

box-deny-ip = "*.*.*.*"

box-allow-ip = "127.0.0.1"



# This is the SMSC group(s). This routes sms requests to/from users to
Kannel



# Fake smsc

#group = smsc

#smsc = fake

#smsc-id = FAKE

#preferred-smsc-id = HTTP

#port = 10000

#sms-center = 125

#connect-allow-ip = 127.0.0.1



# GSM SMSC

group = smsc

smsc = at

modemtype = auto

device = /dev/ttyUSB0

speed = 9600

include = "/usr/tmp/kannel/modems.conf"



group = smsc

smsc = at

smsc-id = my_smsc

modemtype = Motorola

device = /dev/ttyUSB0

speed = 115200



#modems

group = modems

id = Motorola

name = "Motorola"

init-string = "AT+CGDCONT=1"

init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

need-sleep = true

enable-mms = true

speed = 115200



# This is the SMSbox group configuration

group = smsbox

bearerbox-host = localhost

sendsms-port = 13013

global-sender = 13013

log-level = 0



# SERVICES

group = sms-service

keyword = nop

post-url = "http://localhost/%S.wml <http://localhost/%25S.wml>"

accept-x-kannel-headers = true

max-messages = 5

concatenation = true

#text = "You asked nothing and I did it!"

# there should be default always

group = sms-service

keyword = default

text = "No service specified"



# SEND SMS USER FOR SMS PUSH

group = sendsms-user

username = foo

password = bar

max-messages = 5

concatenation = true

Reply via email to