On Fri, 10 Feb 2006 01:33:47 +0100, "Stipe Tolj" <[EMAIL PROTECTED]> said: > [EMAIL PROTECTED] wrote: > > > Have installed Kannel ver 1.4 on Gentoo 2005.1-r1 (2.6.15), with a > > Siemens TC35i GSM modem connected to /dev/tty0. Using the kannel.conf as > > posted by Marc in December 2005, it seems to works. As this system is > > Gentoo, all processes are started by /etc/init.d/kannel start, and do > > not return any error output. > > > >>From the /docs, at url: > > http://www.kannel.org/download/1.4.0/userguide-1.4.0/userguide.html#AEN671 > > HTTP administration, the cmd; > > > > lynx -dump "http://localhost:13000/status" returns > > > > Looking up localhost:13000 > > Making HTTP connection to localhost:13000 > > Alert!: Unable to connect to remote host. > > > > lynx: Can't access startfile http://localhost:13000/status > > > > What exactly does this mean? Should I in fact start each process via the > > ./bearerbox method or continue to use Gentoo's init scripts? > > now, this depends on what /etc/init.d/kannel will start really. When you > start, > which kannel processes are running? > > Obviously you have the following: > > a) bearerbox is not running > b) your configured admin port is not 13000 > c) your local ipchains block access to port 13000 > d) your DNS resolving for localhost doesn't give you the IP which was > used to > bind the port. > > Stipe
Hi Stipe. I decided to not start the 3 services (bearer, sms, wap) using the gentoo init script but went back to the kannel method. # /usr/sbin/bearerbox -v 1 /etc/kannel/kannel.conf # /usr/sbin/smsbox -v 1 /etc/kannel/kannel.conf Both of these processes initialise in the terminal window and produce no error output so I assume that they actually work when called in this fashion. Please observer the output form each of these processes. /usr/sbin/bearerbox -v 1 /etc/kannel/kannel.conf 2006-02-10 13:19:34 [5302] [0] INFO: Debug_lvl = 1, log_file = <none>, log_lvl = 0 2006-02-10 13:19:34 [5302] [0] WARNING: DLR: using default 'internal' for storage type. 2006-02-10 13:19:34 [5302] [0] INFO: DLR using storage type: internal 2006-02-10 13:19:34 [5302] [0] INFO: Added logfile `/var/log/kannel/kannel.log' with level `0'. 2006-02-10 13:19:34 [5302] [0] INFO: HTTP: Opening server at port 13000. 2006-02-10 13:19:34 [5302] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100). 2006-02-10 13:19:34 [5302] [0] INFO: DLR rerouting for smsc id <(null)> disabled. 2006-02-10 13:19:34 [5302] [0] INFO: AT2[/dev/ttyS0]: configuration shows modemtype <siemens-tc35> 2006-02-10 13:19:34 [5302] [0] INFO: AT2[/dev/ttyS0]: modemtype not found, revert to autodetect 2006-02-10 13:19:34 [5302] [0] INFO: ---------------------------------------- 2006-02-10 13:19:34 [5302] [0] INFO: Kannel bearerbox II version 1.4.0 starting 2006-02-10 13:19:34 [5302] [0] INFO: Loading store file `/etc/kannel/kannel.store' 2006-02-10 13:19:34 [5302] [0] INFO: Store-file size 0, starting to unpack 2006-02-10 13:19:34 [5302] [0] INFO: Retrieved 0 messages, non-acknowledged messages: 0 2006-02-10 13:19:34 [5302] [0] INFO: MAIN: Start-up done, entering mainloop 2006-02-10 13:19:34 [5310] [7] INFO: AT2[/dev/ttyS0]: opening device 2006-02-10 13:19:35 [5310] [7] INFO: AT2[/dev/ttyS0]: speed set to 115200 2006-02-10 13:19:46 [5320] [9] INFO: Client connected from <127.0.0.1> /usr/sbin/smsbox -v 1 /etc/kannel/kannel.conf 2006-02-10 13:19:46 [5312] [0] INFO: Debug_lvl = 1, log_file = <none>, log_lvl = 0 2006-02-10 13:19:46 [5312] [0] INFO: Starting to log to file /var/log/kannel/smsbox.log level 0 2006-02-10 13:19:46 [5312] [0] INFO: Added logfile `/var/log/kannel/smsbox.log' with level `0'. 2006-02-10 13:19:46 [5312] [0] INFO: HTTP: Opening server at port 13013. 2006-02-10 13:19:46 [5312] [0] INFO: Set up send sms service at port 13013 2006-02-10 13:19:46 [5312] [0] INFO: Connected to bearerbox at localhost port 13001. Where does my system stand now with this? regards, nui_2_gui. -- [EMAIL PROTECTED] -- http://www.fastmail.fm - IMAP accessible web-mail
