Hi all, I installed Kannel 1.4.0 on my SuSe 9.3 linux box. In order to test Kannel's wap gateway function, I downloaded NMB 4.0 (Nokia Moblie Browser Simulator 4.0) from Nokia develop forum. I thought it was easy to let NMB browser WML web page through Kannel gateway, but I failed.
Test case definition: My suse box with kannel installed on it : 192.168.3.104 (G) NMB installed on Win2k: 192.168.3.140(C), As User Agent They sit at Lan enviroment. Test flow: 1. config wapbox config-file, I modify from sample file wapkannel.conf in kannel source package. the config-file placed at "/etc/kannel/wapkannel.conf" --------------------------- group = core admin-port = 13000 wapbox-port = 13002 admin-password = bar #status-password = foo #admin-deny-ip = "*.*.*.*" admin-allow-ip = "192.168.3.*;127.0.0.1" wdp-interface-name = "192.168.3.104" log-file = "/tmp/bearerbox.log" log-level = 0 #box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1;192.168.3.*" access-log = "/tmp/access.log" #store-file = "/tmp/kannel.store" #ssl-server-cert-file = "cert.pem" #ssl-server-key-file = "key.pem" #ssl-certkey-file = "mycertandprivkeyfile.pem" udp-allow-ip = "192.168.3.*" group = wapbox bearerbox-host = 192.168.3.104 log-file = "/tmp/wapbox.log" log-level = 0 syslog-level = none access-log = "/tmp/wapaccess.log" --------------------------- 2. boot Kannel on my suse box 192.168.3.104 ,run command: bearerbox /etc/kannel/wapkannel.conf then: wapbox /etc/kannel/wapkannel.conf every thing seems to be ok. 3. config NMB 4.0 on win2k machine, the connection setting is: WAP gateway : 192.168.3.104 Use Connection-Less, Port: 9200 4. use NMB 4.0 to send request to wap gateway URL "http://192.168.3.104/main.wml", the URL is valid. No Response from GateWay. It's the problem. My question: 1. Since I set bearer box logfile to "/tmp/bearerbox.log" and access-log-file to "/tmp/access.log", why no request record in these two file. Neither is wap logfile "/tmp/wapbox.log" 2. I can access http-admin interface locally, by url: http://127.0.0.1:13000/status.html , but on the win2k host, 192.168.3.140, by url: http://192.168.3.104:13000/status.html, it failed. No response, request timeout. Maybe this should be define to another problem . 3. The NMB 4.0 is Ok. Because I installed Nokia Wap Gateway Simulator 4.0 on Win2k box 192.168.3.140, it worked well. So the problem must belong to Kannel config or others, but what' is it? Anyone can help me to solve this problem? Thanks in advance. -- Best Regards, Chen xueqin
