Hello everyone been configuring some more and I'm now running Gentoo Linux instead of cyqwin...
however before I switched I did manage to Recieve a message and send an automated reply back, however now that I'm gentoo with the same configuration file I get this:
(config at the end)
I'm woundering if it could be because it doesn't comunicate correctly with the modem:
device = /dev/ttyS0
// would this line be correct in Gentto Linux by default....? can't find the directory in my directory tree....
//modem is connected to the com1 port.... well I'm sure I've got some other errors as well... any help is much appreciated.
Thank you all very much, Jarl
This is what happens when I start the bearerbox:
[EMAIL PROTECTED] gateway-1.3.1 $ gw/bearerbox gw/jarl.conf
2003-10-15 14:52:02 [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0
2003-10-15 14:52:03 [0] WARNING: DLR: using default 'internal' for storage type.
2003-10-15 14:52:03 [0] DEBUG: Kannel bearerbox version `1.3.1'.
System Linux, release 2.4.20-gentoo-r6, version #1 Fri Sep 26 23:43:56 BST 2003, machine i686.
Hostname jarlco, IP 192.168.0.10.
Libxml version 20508.
Using OpenSSL 0.9.6j 10 Apr 2003.
Using native malloc.
2003-10-15 14:52:03 [0] DEBUG: HTTP: Opening server at port 13000.
2003-10-15 14:52:03 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2003-10-15 14:52:03 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2003-10-15 14:52:03 [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run)
2003-10-15 14:52:03 [0] DEBUG: starting smsbox connection module
2003-10-15 14:52:03 [0] DEBUG: Started thread 4 (gw/bb_boxc.c:smsboxc_run)
2003-10-15 14:52:03 [0] INFO: AT2[wavecom_1]: configuration shows modemtype <wavecom>
2003-10-15 14:52:03 [0] DEBUG: AT2[wavecom_1]: Reading modem definitions from <gw/jarl.conf>
2003-10-15 14:52:03 [0] DEBUG: AT2[wavecom_1]: Found <1> modems in config
2003-10-15 14:52:03 [0] INFO: AT2[wavecom_1]: read modem definition for <Wavecom>
2003-10-15 14:52:03 [0] DEBUG: Started thread 5 (gw/smsc/smsc_at2.c:at2_device_thread)
2003-10-15 14:52:03 [0] DEBUG: Started thread 6 (gw/bb_smscconn.c:sms_router)
2003-10-15 14:52:03 [0] INFO: ----------------------------------------
2003-10-15 14:52:03 [0] INFO: Kannel bearerbox II version 1.3.1 starting
2003-10-15 14:52:03 [5] INFO: AT2[wavecom_1]: opening device
2003-10-15 14:52:03 [5] ERROR: AT2[wavecom_1]: open failed! ERRNO=13
2003-10-15 14:52:03 [5] ERROR: System error 13: Permission denied
2003-10-15 14:52:03 [5] ERROR: AT2[wavecom_1]: at2_device_thread: open_at2_device failed. Terminating
2003-10-15 14:52:03 [5] ERROR: System error 13: Permission denied
2003-10-15 14:52:03 [0] INFO: MAIN: Start-up done, entering mainloop
2003-10-15 14:52:03 [5] DEBUG: Thread 5 (gw/smsc/smsc_at2.c:at2_device_thread) terminates.
2003-10-15 14:52:03 [0] DEBUG: AT2[wavecom_1]: start called
2003-10-15 14:52:03 [6] DEBUG: sms_router: time to sleep
2003-10-15 14:52:03 [6] DEBUG: sms_router: list_len = 0
2003-10-15 14:52:31 [0] WARNING: Killing signal received, shutting down...
2003-10-15 14:52:31 [0] DEBUG: Shutting down Kannel...
2003-10-15 14:52:31 [0] DEBUG: shutting down smsc
2003-10-15 14:52:31 [0] DEBUG: AT2[wavecom_1]: Shutting down SMSCConn, slow
2003-10-15 14:52:31 [0] DEBUG: shutting down udp
------------------------------------------- jarl.conf -------------------------------------------- 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 = "/tmp/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 = "kannel.conf"
# SMSC CONNECTIONS
group = smsc smsc = at2 smsc-id = wavecom_1 allowed-smsc-id = wavecom_1 modemtype = wavecom device = /dev/ttyS0 speed = 9600 #pin = <your pin code>
group = modems id = wavecom name = Wavecom detect-string = "WAVECOM"
# 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!"
# there should be default always
group = sms-service keyword = default text = "No service specified"
_________________________________________________________________
Want to check if your PC is virus-infected? Get a FREE computer virus scan online from McAfee. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
