Hello all
I am using USB sony ericsson z530i cellphone on my FC6
machine as modem. When I start kannel with following configuration the
bearerbox goes into while loop.
In logs I found these errors ...
What might be going wrong?
When I tried with
# wvdialconf newconffile
My modem was there on /ttyS10. (Which I verified with minicom as well)
Here is the output of # wvdialconf newconffile
........................................................................
........................................................................
........................................................................
........................................................................
..........................................
[EMAIL PROTECTED] ~]# wvdialconf newconffile
Scanning your serial ports for a modem.
ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Port Scan<*1>: S1 S2 S3
WvModem<*1>: Cannot get information for serial port.
ttyS10<*1>: ATQ0 V1 E1 -- OK
ttyS10<*1>: ATQ0 V1 E1 Z -- OK
ttyS10<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyS10<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyS10<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyS10<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyS10<*1>: Modem Identifier: ATI -- Sony Ericsson Z530
ttyS10<*1>: Speed 4800: AT -- OK
ttyS10<*1>: Speed 9600: AT -- OK
ttyS10<*1>: Speed 19200: AT -- OK
ttyS10<*1>: Speed 38400: AT -- OK
ttyS10<*1>: Speed 57600: AT -- OK
ttyS10<*1>: Speed 115200: AT -- OK
ttyS10<*1>: Speed 230400: AT -- OK
ttyS10<*1>: Speed 460800: AT -- OK
ttyS10<*1>: Max speed is 460800; that should be safe.
ttyS10<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
WvModem<*1>: Cannot get information for serial port.
ttyACM0<*1>: ATQ0 V1 E1 -- OK
ttyACM0<*1>: ATQ0 V1 E1 Z -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyACM0<*1>: Modem Identifier: ATI -- Sony Ericsson Z530
ttyACM0<*1>: Speed 4800: AT -- OK
ttyACM0<*1>: Speed 9600: AT -- OK
ttyACM0<*1>: Speed 19200: AT -- OK
ttyACM0<*1>: Speed 38400: AT -- OK
ttyACM0<*1>: Speed 57600: AT -- OK
ttyACM0<*1>: Speed 115200: AT -- OK
ttyACM0<*1>: Speed 230400: AT -- OK
ttyACM0<*1>: Speed 460800: AT -- OK
ttyACM0<*1>: Max speed is 460800; that should be safe.
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
WvModem<*1>: Cannot get information for serial port.
ttyACM1<*1>: ATQ0 V1 E1 -- OK
ttyACM1<*1>: ATQ0 V1 E1 Z -- OK
ttyACM1<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyACM1<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyACM1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyACM1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyACM1<*1>: Modem Identifier: ATI -- Sony Ericsson Z530
ttyACM1<*1>: Speed 4800: AT -- OK
ttyACM1<*1>: Speed 9600: AT -- OK
ttyACM1<*1>: Speed 19200: AT -- OK
ttyACM1<*1>: Speed 38400: AT -- OK
ttyACM1<*1>: Speed 57600: AT -- OK
ttyACM1<*1>: Speed 115200: AT -- OK
ttyACM1<*1>: Speed 230400: AT -- OK
ttyACM1<*1>: Speed 460800: AT -- OK
ttyACM1<*1>: Max speed is 460800; that should be safe.
ttyACM1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
Found a modem on /dev/ttyS10.
Modem configuration written to newconffile.
ttyS10<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
ttyACM0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
ttyACM1<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
[EMAIL PROTECTED] ~]#
[EMAIL PROTECTED] ~]# cat newconffile
[Dialer Defaults]
Modem = /dev/ttyS10
Baud = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
; Phone = <Target Phone Number>
; Username = <Your Login Name>
; Password = <Your Password>
[EMAIL PROTECTED] ~]#
........................................................................
........................................................................
........................................................................
........................................................................
..........................................
The kannel logs .....
2008-11-14 19:04:56 [4736] [0] INFO: AT2[/dev/ttyS10]: configuration
doesn't show modemtype. will autodetect
2008-11-14 19:04:56 [4736] [0] DEBUG: Started thread 6
(gw/smsc/smsc_at.c:at2_device_thread)
2008-11-14 19:04:56 [4736] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
maps to pid 4736.
2008-11-14 19:04:56 [4736] [2] DEBUG: Thread 2
(gwlib/http.c:server_thread) maps to pid 4736.
2008-11-14 19:04:56 [4736] [3] DEBUG: Thread 3
(gw/bb_http.c:httpadmin_run) maps to pid 4736.
2008-11-14 19:04:56 [4736] [4] DEBUG: Thread 4
(gw/bb_boxc.c:sms_to_smsboxes) maps to pid 4736.
2008-11-14 19:04:56 [4736] [5] DEBUG: Thread 5
(gw/bb_boxc.c:smsboxc_run) maps to pid 4736.
2008-11-14 19:04:56 [4736] [0] DEBUG: Started thread 7
(gw/bb_smscconn.c:sms_router)
2008-11-14 19:04:56 [4736] [0] INFO:
----------------------------------------
2008-11-14 19:04:56 [4736] [0] INFO: Kannel bearerbox II version 1.4.1
starting
2008-11-14 19:04:56 [4736] [0] ERROR: fopen failed: couldn't open
`/tmp/kannel/kannel.store'
2008-11-14 19:04:56 [4736] [0] ERROR: System error 2: No such file or
directory
2008-11-14 19:04:56 [4736] [0] ERROR: fopen failed: couldn't open
`/tmp/kannel/kannel.store.new'
2008-11-14 19:04:56 [4736] [0] ERROR: System error 2: No such file or
directory
2008-11-14 19:04:56 [4736] [0] ERROR: fopen failed: couldn't open
`/tmp/kannel/kannel.store.bak'
2008-11-14 19:04:56 [4736] [0] ERROR: System error 2: No such file or
directory
2008-11-14 19:04:56 [4736] [0] INFO: Cannot open any store file,
starting a new one
2008-11-14 19:04:56 [4736] [0] DEBUG: Started thread 8
(gw/bb_store.c:store_dumper)
2008-11-14 19:04:56 [4736] [0] INFO: MAIN: Start-up done, entering
mainloop
2008-11-14 19:04:56 [4736] [0] DEBUG: AT2[/dev/ttyS10]: start called
2008-11-14 19:04:56 [4736] [6] DEBUG: Thread 6
(gw/smsc/smsc_at.c:at2_device_thread) maps to pid 4736.
2008-11-14 19:04:56 [4736] [6] DEBUG: AT2[/dev/ttyS10]: detecting modem
speed.
2008-11-14 19:04:56 [4736] [6] INFO: AT2[/dev/ttyS10]: opening device
2008-11-14 19:04:56 [4736] [7] DEBUG: Thread 7
(gw/bb_smscconn.c:sms_router) maps to pid 4736.
2008-11-14 19:04:56 [4736] [7] DEBUG: sms_router: time to sleep 30.00
secs.
2008-11-14 19:04:56 [4736] [7] DEBUG: sms_router: gwlist_len = 0
2008-11-14 19:04:56 [4736] [8] DEBUG: Thread 8
(gw/bb_store.c:store_dumper) maps to pid 4736.
2008-11-14 19:04:56 [4736] [8] DEBUG: Dumping 0 messages to store
2008-11-14 19:04:56 [4736] [6] DEBUG: AT2[/dev/ttyS10]: device opened
2008-11-14 19:04:57 [4736] [6] DEBUG: AT2[/dev/ttyS10]: device opened
2008-11-14 19:04:57 [4736] [6] INFO: AT2[/dev/ttyS10]: speed set to
115200
2008-11-14 19:04:57 [4736] [6] DEBUG: AT2[/dev/ttyS10]: --> ^M
2008-11-14 19:04:59 [4736] [6] DEBUG: AT2[/dev/ttyS10]: --> AT^M
2008-11-14 19:04:59 [4736] [6] DEBUG: AT2[/dev/ttyS10]: <-- OK
2008-11-14 19:04:59 [4736] [6] INFO: AT2[/dev/ttyS10]: closing device
2008-11-14 19:04:59 [4736] [6] INFO: AT2[/dev/ttyS10]: detect speed is
115200
2008-11-14 19:04:59 [4736] [6] DEBUG: AT2[/dev/ttyS10]: detecting modem
type
2008-11-14 19:04:59 [4736] [6] INFO: AT2[/dev/ttyS10]: opening device
2008-11-14 19:04:59 [4736] [6] DEBUG: AT2[/dev/ttyS10]: device opened
2008-11-14 19:05:00 [4736] [6] DEBUG: AT2[/dev/ttyS10]: device opened
2008-11-14 19:05:00 [4736] [6] INFO: AT2[/dev/ttyS10]: speed set to
115200
2008-11-14 19:05:00 [4736] [6] DEBUG: AT2[/dev/ttyS10]: --> ^M
2008-11-14 19:05:02 [4736] [6] DEBUG: AT2[/dev/ttyS10]: --> AT^M
2008-11-14 19:05:02 [4736] [6] DEBUG: AT2[/dev/ttyS10]: <-- OK
2008-11-14 19:05:02 [4736] [6] DEBUG: AT2[/dev/ttyS10]: --> AT&F^M
2008-11-14 19:05:02 [4736] [6] DEBUG: AT2[/dev/ttyS10]: <-- OK
2008-11-14 19:05:02 [4736] [6] DEBUG: AT2[/dev/ttyS10]: --> ATE0^M
2008-11-14 19:05:02 [4736] [6] DEBUG: AT2[/dev/ttyS10]: <-- ATE0
2008-11-14 19:05:02 [4736] [6] DEBUG: AT2[/dev/ttyS10]: <-- OK
2008-11-14 19:05:02 [4736] [6] DEBUG: AT2[/dev/ttyS10]: --> ATI^M
2008-11-14 19:05:02 [4736] [6] DEBUG: AT2[/dev/ttyS10]: <-- Sony
Ericsson Z530
2008-11-14 19:05:02 [4736] [6] DEBUG: AT2[/dev/ttyS10]: <-- OK
2008-11-14 19:05:02 [4736] [6] DEBUG: Loading include file
`/etc/modems.conf' (on line 42 of file /etc/gsm-sms-kannel.conf).
2008-11-14 19:05:02 [4736] [6] DEBUG: Loading include file
`/etc/modems.conf' (on line 42 of file /etc/gsm-sms-kannel.conf).
2008-11-14 19:05:02 [4736] [6] DEBUG: Loading include file
`/etc/modems.conf' (on line 42 of file /etc/gsm-sms-kannel.conf).
2008-11-14 19:05:02 [4736] [6] DEBUG: Loading include file
`/etc/modems.conf' (on line 42 of file /etc/gsm-sms-kannel.conf).
2008-11-14 19:05:02 [4736] [6] DEBUG: Loading include file
`/etc/modems.conf' (on line 42 of file /etc/gsm-sms-kannel.conf).
2008-11-14 19:05:02 [4736] [6] DEBUG: Loading include file
`/etc/modems.conf' (on line 42 of file /etc/gsm-sms-kannel.conf).
2008-11-14 19:05:02 [4736] [6] DEBUG: Loading include file
`/etc/modems.conf' (on line 42 of file /etc/gsm-sms-kannel.conf).
2008-11-14 19:05:02 [4736] [6] DEBUG: Loading include file
`/etc/modems.conf' (on line 42 of file /etc/gsm-sms-kannel.conf).
2008-11-14 19:05:02 [4736] [6] DEBUG: Loading include file
`/etc/modems.conf' (on line 42 of file /etc/gsm-sms-kannel.conf).
2008-11-14 19:05:02 [4736] [6] DEBUG: Loading include file
`/etc/modems.conf' (on line 42 of file /etc/gsm-sms-kannel.conf).
2008-11-14 19:05:02 [4736] [6] DEBUG: Loading include file
`/etc/modems.conf' (on line 42 of file /etc/gsm-sms-kannel.conf).
2008-11-14 19:05:02 [4736] [6] DEBUG: Loading include file
`/etc/modems.conf' (on line 42 of file /etc/gsm-sms-kannel.conf).
2008-11-14 19:05:02 [4736] [6] DEBUG: Loading include file
`/etc/modems.conf' (on line 42 of file /etc/gsm-sms-kannel.conf).
2008-11-14 19:05:02 [4736] [6] DEBUG: Loading include file
`/etc/modems.conf' (on line 42 of file /etc/gsm-sms-kannel.conf).
2008-11-14 19:05:02 [4736] [6] DEBUG: AT2[/dev/ttyS10]: Cannot detect
modem, using generic
2008-11-14 19:05:02 [4736] [6] DEBUG: AT2[/dev/ttyS10]: Reading modem
definitions from </etc/gsm-sms-kannel.conf>
2008-11-14 19:05:02 [4736] [6] DEBUG: Loading include file
`/etc/modems.conf' (on line 42 of file /etc/gsm-sms-kannel.conf).
2008-11-14 19:05:02 [4736] [6] DEBUG: AT2[/dev/ttyS10]: Found <13>
modems in config
2008-11-14 19:05:02 [4736] [6] DEBUG: AT2[/dev/ttyS10]: --> AT+CSMS=?^M
2008-11-14 19:05:02 [4736] [6] DEBUG: AT2[/dev/ttyS10]: <-- +CSMS: (0)
2008-11-14 19:05:02 [4736] [6] DEBUG: AT2[/dev/ttyS10]: <-- OK
2008-11-14 19:05:02 [4736] [6] INFO: AT2[/dev/ttyS10]: closing device
2008-11-14 19:05:02 [4736] [6] INFO: AT2[/dev/ttyS10]: opening device
2008-11-14 19:05:02 [4736] [6] DEBUG: AT2[/dev/ttyS10]: device opened
2008-11-14 19:05:02 [4736] [6] DEBUG: AT2[/dev/ttyS10]: device opened
2008-11-14 19:05:02 [4736] [6] INFO: AT2[/dev/ttyS10]: init device
2008-11-14 19:05:02 [4736] [6] INFO: AT2[/dev/ttyS10]: speed set to
115200
2008-11-14 19:05:02 [4736] [6] DEBUG: AT2[/dev/ttyS10]: --> ATZ^M
2008-11-14 19:05:02 [4736] [6] DEBUG: AT2[/dev/ttyS10]: <-- OK
2008-11-14 19:05:02 [4736] [6] DEBUG: AT2[/dev/ttyS10]: --> AT^M
2008-11-14 19:05:02 [4736] [6] DEBUG: AT2[/dev/ttyS10]: <-- OK
2008-11-14 19:05:02 [4736] [6] DEBUG: AT2[/dev/ttyS10]: --> AT&F^M
2008-11-14 19:05:03 [4736] [6] DEBUG: AT2[/dev/ttyS10]: <-- OK
2008-11-14 19:05:03 [4736] [6] DEBUG: AT2[/dev/ttyS10]: --> ATE0^M
2008-11-14 19:05:03 [4736] [6] DEBUG: AT2[/dev/ttyS10]: <-- ATE0
2008-11-14 19:05:03 [4736] [6] DEBUG: AT2[/dev/ttyS10]: <-- OK
2008-11-14 19:05:03 [4736] [6] DEBUG: AT2[/dev/ttyS10]: --> AT+IFC=2,2^M
2008-11-14 19:05:03 [4736] [6] DEBUG: AT2[/dev/ttyS10]: <-- OK
2008-11-14 19:05:03 [4736] [6] DEBUG: AT2[/dev/ttyS10]: --> AT+CPIN?^M
2008-11-14 19:05:03 [4736] [6] DEBUG: AT2[/dev/ttyS10]: <-- +CPIN: READY
2008-11-14 19:05:03 [4736] [6] DEBUG: AT2[/dev/ttyS10]: <-- OK
2008-11-14 19:05:03 [4736] [6] DEBUG: AT2[/dev/ttyS10]: --> AT+CMGF=0^M
2008-11-14 19:05:03 [4736] [6] DEBUG: AT2[/dev/ttyS10]: <-- OK
2008-11-14 19:05:03 [4736] [6] DEBUG: AT2[/dev/ttyS10]: --> AT+CSMS=?^M
2008-11-14 19:05:03 [4736] [6] DEBUG: AT2[/dev/ttyS10]: <-- +CSMS: (0)
2008-11-14 19:05:03 [4736] [6] DEBUG: AT2[/dev/ttyS10]: <-- OK
2008-11-14 19:05:03 [4736] [6] DEBUG: AT2[/dev/ttyS10]: -->
AT+CNMI=1,2,0,1,0^M
2008-11-14 19:05:03 [4736] [6] DEBUG: AT2[/dev/ttyS10]: <-- +CMS ERROR:
303
2008-11-14 19:05:03 [4736] [6] ERROR: AT2[/dev/ttyS10]: CMS ERROR: +CMS
ERROR: 303
2008-11-14 19:05:03 [4736] [6] ERROR: AT2[/dev/ttyS10]: CMS ERROR:
Operation not supported (303)
2008-11-14 19:05:03 [4736] [6] ERROR: AT2[/dev/ttyS10]: Opening failed.
Terminating
2008-11-14 19:05:03 [4736] [6] INFO: AT2[/dev/ttyS10]: closing device
2008-11-14 19:05:03 [4736] [6] INFO: AT2[/dev/ttyS10]: opening device
2008-11-14 19:05:03 [4736] [6] DEBUG: AT2[/dev/ttyS10]: device opened
2008-11-14 19:05:03 [4736] [6] DEBUG: AT2[/dev/ttyS10]: device opened
2008-11-14 19:05:03 [4736] [6] INFO: AT2[/dev/ttyS10]: init device
2008-11-14 19:05:03 [4736] [6] INFO: AT2[/dev/ttyS10]: speed set to
115200
2008-11-14 19:05:03 [4736] [6] DEBUG: AT2[/dev/ttyS10]: --> ATZ^M
2008-11-14 19:05:03 [4736] [6] DEBUG: AT2[/dev/ttyS10]: <-- OK
2008-11-14 19:05:03 [4736] [6] DEBUG: AT2[/dev/ttyS10]: --> AT^M
2008-11-14 19:05:04 [4736] [6] DEBUG: AT2[/dev/ttyS10]: <-- OK
2008-11-14 19:05:04 [4736] [6] DEBUG: AT2[/dev/ttyS10]: --> AT&F^M
........................................................................
........................................................................
........................................................................
........................................................................
..........................................