it seems that Kannel couldnot connect to the modem. try to open the
modem using minicom, and check speed 19200 does actually work with the
modem, and quit minicom w/o a reset and try again. and do increase the
debug level of the logs.
--
Oded Arbel
m-Wise Inc.
[EMAIL PROTECTED]
(972)-67-340014
(972)-9-9581711 (ext: 116)
::..
One thing about the past.
It's likely to last.
-- Ogden Nash
> -----Original Message-----
> From: Lars-Hendrik Schneider [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, November 11, 2001 12:34 AM
> To: [EMAIL PROTECTED]
> Subject: ...now it doesn't find the modem itself ;(
>
>
> hi dear kannel-users,
>
> after one day with a working sms-gateway with my siemens tc35
> I don't get
> it to work any more! (and this with linux!!) I reinstalled
> the computer
> because of wrong diskparameters to make a "clean"
> installation...with the
> same packages.
>
> ok, again some background information:
>
> -linux mandrake 8.1 with libxml 2.4.3
> - kannel 1.1.6 dev (downloaded via cvs and tar.gz)
> - installed with "./configure", "make", "make install"
>
>
> using the following settings in kannel.conf:
>
> group = smsc
> smsc = at2
> modemtype = siemens_tc35
> device = /dev/ttyS0
> pin = 14xx
> #my-number = 0162177xxx
> sms-center = +491722270xxx
> include = "/var/www/html/conf/modems.conf"
>
> note: when I use "modemtype = siemens-tc35" it doesn't find any
> definitions within modems.conf, I think because there it is written
> "siemens_tc35" within modems.conf. although I get always the
> same errors
> (see below.)
>
> the LED of the modem is fast flashing (SIM card is inserted,
> power on,
> seems that only the pinnumber from the kannel.conf is
> needed.) and the
> modem is known to the linux system.
>
>
> ##### using modemtype = siemens-tc35 ###########
>
> 2002-05-14 08:45:52 [0] INFO: AT2[/dev/ttyS0]: configuration shows
> modemtype <siemens-tc35>
> 2002-05-14 08:45:52 [0] INFO: AT2[/dev/ttyS0]: modemtype not
> found, revert
> to autodetect
>
>
>
>
>
> ##### using modemtype = siemens_tc35 ###########
>
> [root@sputnik root]# /usr/local/sbin/bearerbox -v 1
> /var/www/html/conf/kannel.co
> nf
> 2002-05-14 08:19:31 [0] INFO: Debug_lvl = 1, log_file =
> <none>, log_lvl
> = 0
> 2002-05-14 08:19:31 [0] WARNING: DLR: using default
> 'internal' for storage
> type.
> 2002-05-14 08:19:31 [0] INFO: ----------------------------------------
> 2002-05-14 08:19:31 [0] INFO: Kannel bearerbox II version
> cvs- starting
> 2002-05-14 08:19:31 [0] INFO: SSL not supported, no SSL
> initialization done.
> 2002-05-14 08:19:31 [0] INFO: AT2[/dev/ttyS0]: configuration shows
> modemtype <si
> emens_tc35>
> 2002-05-14 08:19:31 [0] INFO: AT2[/dev/ttyS0]: read modem
> definition for
> <Siemen
> s TC35>
> 2002-05-14 08:19:31 [5] INFO: AT2[/dev/ttyS0]: trying to use
> speed <19200>
> from
> modem definition
> 2002-05-14 08:19:31 [5] INFO: AT2[/dev/ttyS0]: opening device
> 2002-05-14 08:19:31 [5] INFO: AT2[/dev/ttyS0]: speed set to 19200
> 2002-05-14 08:19:31 [0] ERROR: Missing wapbox-port variable,
> cannot start
> WAP
> 2002-05-14 08:19:31 [0] INFO: MAIN: Start-up done, entering mainloop
> 2002-05-14 08:19:45 [5] INFO: AT2[/dev/ttyS0]: closing device
> 2002-05-14 08:19:45 [5] INFO: AT2[/dev/ttyS0]: speed in modem
> definition
> don't work, will autodetect
> 2002-05-14 08:19:45 [5] INFO: AT2[/dev/ttyS0]: opening device
> 2002-05-14 08:19:45 [5] INFO: AT2[/dev/ttyS0]: speed set to 57600
> 2002-05-14 08:19:59 [5] INFO: AT2[/dev/ttyS0]: closing device
> 2002-05-14 08:19:59 [5] INFO: AT2[/dev/ttyS0]: opening device
> 2002-05-14 08:19:59 [5] INFO: AT2[/dev/ttyS0]: speed set to 38400
> 2002-05-14 08:20:13 [5] INFO: AT2[/dev/ttyS0]: closing device
> 2002-05-14 08:20:13 [5] INFO: AT2[/dev/ttyS0]: opening device
> 2002-05-14 08:20:13 [5] INFO: AT2[/dev/ttyS0]: speed set to 19200
> 2002-05-14 08:20:27 [5] INFO: AT2[/dev/ttyS0]: closing device
> 2002-05-14 08:20:27 [5] INFO: AT2[/dev/ttyS0]: opening device
> 2002-05-14 08:20:27 [5] INFO: AT2[/dev/ttyS0]: speed set to 9600
> 2002-05-14 08:20:41 [5] INFO: AT2[/dev/ttyS0]: closing device
> 2002-05-14 08:20:41 [5] INFO: AT2[/dev/ttyS0]: cannot detect speed
>
>
> it is always the same game. ;(( . what can be the reason?
> remember, one
> day it worked.
>
> - is the modem so buggy? or does it depend on the dev-status
> of kannel?
> - did I do a fault in compiling??
> - if it depends on the modem - which other modems are known
> to work already
> and without many problems? this is quite important, because
> we might set
> up more than one computer with kannel and want to buy another modem!!
> (there's another topic with this question, I will wait for
> the answers....)
>
>
> Once again - any hints??
>
> greetz
> lars-hendrik
>
> A box of german pilsener.... ;)
>
> *************************
> Lars-Hendrik Schneider
> [EMAIL PROTECTED]
> sysAdmin AG Dikau
>