Hi
You should look at the mail archive before asking the list. There is a
solution for your issue.
The problem is that the user running bearerbox does not have permission to
write to the /dev/tty device
Regards
Alvaro
-Mensaje original-
De: mohammed ali [mailto:[EMAIL PROTECTED]
Enviado el: MiƩrcoles, 22 de Noviembre de 2006 07:29
Para: users@kannel.org
Asunto: Re: Problem in Kannel connecting to a phone-not a solution,a doubt
Ashwin Urs ashwin.urs at asg.bellsouth.net writes:
I have kannel running on Cygwin 1.5.21 with a Nokia VI-3155i
phone-as-smsc. Upon start-up the bearer box fails to get an OK for
ATE0 and starts to check all over again.
However I have tried to check for the ATE0 from a
hyperterminal and I get an OK.
Could someone please tell me what could be the problem here.
2006-11-17 15:24:46 [7132] [0] INFO: Added logfile
`/cygdrive/c/temp/kannel.log' with level `0'.
2006-11-17 15:24:46 [7132] [0] INFO: HTTP: Opening server at
port 13000.
2006-11-17 15:24:46 [7132] [1] DEBUG: Thread 1
(gwlib/fdset.c:poller) maps to pid 7132.
2006-11-17 15:24:46 [7132] [0] DEBUG: Started thread 1
(gwlib/fdset.c:poller)
2006-11-17 15:24:46 [7132] [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)
opened
2006-11-17 15:25:59 [7132] [6] ERROR: AT2[COM7]:
at_data_link: fail to set termios attribute
2006-11-17 15:25:59 [7132] [6] ERROR: System error 25:
Inappropriate ioctl for device
2006-11-17 15:25:59 [7132] [6] DEBUG: AT2[COM7]: device
opened
2006-11-17 15:25:59 [7132] [6] INFO: AT2[COM7]: init device
2006-11-17 15:25:59 [7132] [6] ERROR: AT2[COM7]:
at_data_link: fail to set termios attribute
2006-11-17 15:25:59 [7132] [6] ERROR: System error 25:
Inappropriate ioctl for device
2006-11-17 15:25:59 [7132] [6] INFO: AT2[COM7]: speed set to
460800
2006-11-17 15:25:59 [7132] [6] DEBUG: AT2[COM7]: --
ATZ^M
2006-11-17 15:26:04 [7132] [6] ERROR: AT2[COM7]: Wrong or no
answer to ATZ, ignoring
2006-11-17 15:26:04 [7132] [6] DEBUG: AT2[COM7]: -- AT^M
The config file is attached.
Thanks,
Ashwin
Attachment (smskannel.conf): application/octet-stream, 3654 bytes
Hi,
I saw your thread online and thought will mail you for some help.
I am configuring kannel 1.4 for my windows xp
machine. I have installed cygwin and have configured
my kannel.conf file. I am using a nokia series 30 GSM
modem connected to com1.
my problem is when the modem is turned off and i
start my bearerbox, it starts up and runs normally,
but when the modem is turned on i get the following
error message ...
[2820] [6] INFO: AT2[/dev/ttyS0]: opening device
[2820] [6] ERROR: AT2[/dev/ttyS0]: open failed!
ERRNO=13
[2820] [6] ERROR: System error 13: Permission denied
The following is my kannel.conf file...
group = core
admin-port = 13000
admin-password = bar
admin-allow-ip = *.*.*.*
smsbox-port = 13001
box-allow-ip = *.*.*.*
http-proxy-host = localhost
group = smsc
smsc = at
modemtype = auto
device = /dev/ttyS0
speed = 115200
my-number = +919840867117
sms-center = +919840011003
group = smsbox
bearerbox-host = localhost
it would be nice if you could please help me out.
ali.