Kannel confuse me for two weeks, I need your help.

陈波 <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi friends,
    I try to configurate a kannel wap gate, But I failed to let the client
access the wap gate.
    I have done these works in the last two weeks.
    firstly, I setup a nokia client simulator(nokia 7210 SDK), the only
configuration is gateway IP, I set it to 192.168.11.8, which is the kannel
wap server. The port is 9200.
    secondly, I setup a kannel wap gate in Cent OS 5(linux), and I run the
kannel wap gate after I configurating the wap server.
    thirdly, I connet to the website http://gmail.com in nokia client
simulator, but the client show me a message No Gateway Reply(see attached
file Nokia client simulator.JPG), in the same time, the server show me some
message(see attached file bearerbox console message.txt and wapbox console
message.txt).
    Besides, you can read my kannelwap.conf file(see attached file
wapkannel.conf), some errors?
    Lastly, my kannel version is 1.4.3 stable, and linux OS is Cent OS 5.
    I have searched the internet around the world, and read many pages about
this problem but I can't solve it. Now I can do nothing but turning to this
mail list. Please help me. Thanks in advance.

boocheen
2009.11.30
bearerbox console message.txt (text/plain, 860 B)
[root@192 ~]# /usr/local/kannel/gw/bearerbox -v 1 /usr/local/kannel/gw/wapkannel.conf
2009-11-27 21:26:51 [5007] [0] INFO: Debug_lvl = 1, log_file = <none>, log_lvl = 0
2009-11-27 21:26:51 [5007] [0] WARNING: DLR: using default 'internal' for storage type.
2009-11-27 21:26:51 [5007] [0] INFO: DLR using storage type: internal
2009-11-27 21:26:51 [5007] [0] INFO: SSL not supported, no SSL initialization done.
2009-11-27 21:26:51 [5007] [0] INFO: HTTP: Opening server at port 13000.
2009-11-27 21:26:51 [5007] [0] INFO: Adding interface *
2009-11-27 21:26:51 [5007] [0] INFO: ----------------------------------------
2009-11-27 21:26:51 [5007] [0] INFO: Kannel bearerbox II version 1.4.3 starting
2009-11-27 21:26:51 [5007] [0] INFO: MAIN: Start-up done, entering mainloop
2009-11-27 21:26:55 [5007] [9] INFO: Client connected from <192.168.11.8>
wapkannel.conf (application/octet-stream, 1.7 KB)
#
# THIS IS A SAMPLE CONFIGURATION FOR WAP KANNEL
#
# It is run like this:
#
#  1% gw/bearerbox gw/wapkannel.conf
#  2% gw/wapbox gw/wapkannel.conf
#
# ..as both commands in separate shells (or screen sessions)
#
# After that you can use your 7110 to test this out. Or use
# fakewap from test directory, or some SDK.
#
# For any guidelines to set up your SDK or 7110, see Kannel FAQ
# on Kannel WWW pages at http://www.kannel.org/
# 
# For any modifications to this file, see Kannel User Guide 
# If that does not help, send email to [email protected]
#
#   Kalle Marjola May 2000
#

group = core
admin-port = 13000
wapbox-port = 9200
admin-password = bar
#status-password = foo
#admin-deny-ip = ""
#admin-allow-ip = ""
wdp-interface-name = "*"
#log-file = "/var/log/kannel/bearerbox.log"
#log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "*.*.*.*"
#access-log = "/var/log/kannel/access.log"
#store-file = "/var/log/kannel/kannel.store"
#ssl-server-cert-file = "cert.pem"
#ssl-server-key-file = "key.pem"
#ssl-certkey-file = "mycertandprivkeyfile.pem"


# Smsbox related
#smsbox-port = 13001
#box-deny-ip = "*.*.*.*"
#box-allow-ip = "127.0.0.1"
#unified-prefix = "00358,0"
#white-list = "http://127.0.0.1/white-list.txt"
#black-list = "http:/127.0.0.1/black-list.txt"
#store-file = "kannel.store"
# Wapbox related
group = wapbox
bearerbox-host = 192.168.11.8
log-file = "/var/log/kannel/wapbox.log"
log-level = 1
access-log = "/var/log/kannel/wapaccess.log"
syslog-level = none
http-interface-name = "http://www.gmail.com/"
#map-url = "http://192.168.11.1/* http://192.168.11.1/iishelp/iis/misc/default.asp"http://www.gmail.com/
#udp-deny-ip = "*.*.*.*"
#udp-allow-ip = "127.0.0.1"
#wdp-interface-name = "*"
Nokia client simulator.JPG (image/jpeg, 70.8 KB) - not displayed
wapbox console message.txt (text/plain, 1.5 KB)
[root@192 ~]# /usr/local/kannel/gw/wapbox -v 1 /usr/local/kannel/gw/wapkannel.conf
2009-11-27 21:26:55 [5018] [0] INFO: Debug_lvl = 1, log_file = <none>, log_lvl = 0
2009-11-27 21:26:55 [5018] [0] INFO: SSL not supported, no SSL initialization done.
2009-11-27 21:26:55 [5018] [0] INFO: Added logfile `/var/log/kannel/wapbox.log' with level `1'.
2009-11-27 21:26:55 [5018] [0] INFO: Starting to log to file /var/log/kannel/wapbox.log level 1
2009-11-27 21:26:55 [5018] [0] INFO: Logging accesses to '/var/log/kannel/wapaccess.log'.
2009-11-27 21:26:55 [5018] [0] INFO: Started access logfile `/var/log/kannel/wapaccess.log'.
2009-11-27 21:26:55 [5018] [0] INFO: ------------------------------------------------------------
2009-11-27 21:26:55 [5018] [0] INFO: Kannel wapbox version 1.4.3 starting up.
2009-11-27 21:26:55 [5018] [0] INFO: Connected to bearerbox at 192.168.11.8 port 9200.
2009-11-27 21:27:11 [5018] [6] INFO: Fetching URL <http://gmail.com/> for MSISDN <>, IP <192.168.11.1:58101>
2009-11-27 21:27:11 [5018] [10] ERROR: Error while gw_gethostbyname occurs.
2009-11-27 21:27:11 [5018] [10] ERROR: System error 3: No such process
2009-11-27 21:27:11 [5018] [10] ERROR: gethostbyname failed
2009-11-27 21:27:11 [5018] [10] ERROR: error connecting to server `gmail.com' at port `80'
2009-11-27 21:27:11 [5018] [10] ERROR: Couldn't send request to <http://gmail.com/>
2009-11-27 21:27:11 [5018] [7] ERROR: WSP: HTTP lookup failed, oops.
2009-11-27 21:27:11 [5018] [7] WARNING: WSP: Content type <text/plain> not supported by client, deleting body.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.