I still have problems using Nokias card phone as an smsc. The situation is as follows (and this is a long mail..).
1) I can not start Kannel gateway "normally" If I just try to start the bearerbox, it says: 2002-06-10 09:44:42 [0] INFO: Added logfile `kannel.log' with level `0'. 2002-06-10 09:44:42 [0] INFO: ---------------------------------------- 2002-06-10 09:44:42 [0] INFO: Kannel bearerbox II version 1.1.6 starting 2002-06-10 09:44:42 [0] INFO: SSL not supported, no SSL initialization done. 2002-06-10 09:44:42 [0] DEBUG: HTTP: Opening server at port 13000. 2002-06-10 09:44:42 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2002-06-10 09:44:42 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2002-06-10 09:44:42 [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run) 2002-06-10 09:44:42 [0] DEBUG: starting smsbox connection module 2002-06-10 09:44:42 [0] DEBUG: Started thread 4 (gw/bb_boxc.c:smsboxc_run) 2002-06-10 09:44:43 [0] DEBUG: AT: Command: AT 2002-06-10 09:44:53 [0] DEBUG: Read from modem: '' 2002-06-10 09:44:53 [0] DEBUG: AT: Command: AT&F 2002-06-10 09:44:53 [0] DEBUG: Read from modem: 'AT&F OK' 2002-06-10 09:44:53 [0] DEBUG: AT: Command: AT 2002-06-10 09:44:53 [0] DEBUG: Read from modem: 'AT OK' 2002-06-10 09:44:53 [0] DEBUG: AT: Command: ATE0 2002-06-10 09:44:53 [0] DEBUG: Read from modem: 'ATE0 OK' 2002-06-10 09:44:53 [0] DEBUG: AT: Command: ATI 2002-06-10 09:44:53 [0] DEBUG: Read from modem: 'Nokia Mobile Phones OK' 2002-06-10 09:44:54 [0] DEBUG: AT: Command: ATI1 2002-06-10 09:44:54 [0] DEBUG: Read from modem: '449144920745515 OK' 2002-06-10 09:44:55 [0] DEBUG: AT: Command: ATI2 2002-06-10 09:44:55 [0] DEBUG: Read from modem: 'OK' 2002-06-10 09:44:56 [0] DEBUG: AT: Command: ATI3 2002-06-10 09:45:06 [0] DEBUG: Read from modem: '' 2002-06-10 09:45:06 [0] ERROR: Failed to create Smsc wrapper 2002-06-10 09:45:06 [0] PANIC: Cannot start with SMSC connection failing OR it can say: 2002-06-07 15:22:05 [0] DEBUG: AT: Command: ATE0 2002-06-07 15:22:05 [0] ERROR: read device file 2002-06-07 15:22:05 [0] ERROR: System error 11: Resource temporarily unavailable 2002-06-07 15:22:05 [0] DEBUG: Read from modem: '' 2002-06-07 15:22:05 [0] ERROR: Failed to create Smsc wrapper 2002-06-07 15:22:05 [0] PANIC: Cannot start with SMSC connection failing But when I do a following trick it starts: - run Minicom and give following AT commands to Card Phone: ATI1, ATI2, ATI3, ATI4 -Then run bearerbox and smbox normally. 2) When I get the bearerbox and smsbox running after few tricks, I can send a message from Kannel to mobile phone ( by using sendsms facility ). But I can't send an SMS to Kannel. The message I send gets stored to the SIM card in Card Phone. 3) Few minutes after starting the boxes I get a message: [1] ERROR: Error reading from fd 22: [1] ERROR: System error 104: Connection reset by peer I'm running Linux Mandrake 8.0 on Industrial Automated Computer's SBC. It has an 266 MHz NS Geode processor on it ( = Slow ). Here are the config file s for Kannel. I'm using version 1.1.6 of Kannel gateway. --Kannel.conf-- group = core admin-port = 13000 wapbox-port = 13002 smsbox-port = 13004 admin-password = bus wdp-interface-name = "*" log-file = "kannel.log" log-level = 0 box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1;192.168.*.*" group = wapbox bearerbox-host = "192.168.123.180" group = smsc smsc-id = nokiaphone smsc = at modemtype = nokiaphone device = /dev/ttyS16 include = "modems.conf" group = smsbox bearerbox-host = "192.168.123.180" sendsms-port = 13014 log-file = "smsbox.log" group = sms-service keyword = keyword text = "sms-service" group = sendsms-user username = username password = password --Modems.conf-- group = modems id = nokiaphone name = "Nokia Phone" detect-string = "Nokia Mobile Phone" need-sleep = true speed = 38400 keepalive-cmd = "AT+CBC;+CSQ"
