Problem: I cant connect to the gateway with a WAP client.
I am using the Openwave Emulator v 6.2.2 on port 9201
The client times out after 30 seconds.

It seems like the WAPBOX does not work.

I have had the same problem on RH Linux 9
And with Kannel 1.3.2 (from RPM install)

My current version is the latest Fedora RPM

My kannel.conf file is as follows:
----------------------------------------------
group = core
admin-port = 14000
admin-port-ssl = false
admin-password = blah1
status-password = blah2
admin-deny-ip = "192.168.2.1"
admin-allow-ip = "127.0.0.1"
wapbox-port = 9201
box-allow-ip = "*.*.*.*"
udp-allow-ip = "*.*.*.*"
wdp-interface-name = "*"
log-file = "/var/log/kannel/bearer.log"
log-level = 0
access-log = "/var/log/kannel/access.log"

group = wapbox
bearerbox-host = localhost
log-file = "/var/log/kannel/wap.log"
log-level = 0
smart-errors = true

My system setup is as follows:
----------------------------------------------
Kannel bearerbox version `1.4.0-egwn'. Build `Dec 14 2004 05:23:12',
compiler `3.3.3 20040412 (Red Hat Linux 3.3.3-7)'.
System Linux, release 2.6.9-1.681_FC3, version #1 Thu Nov 18 15:10:10
EST 2004, machine i686. 
Libxml version 2.6.8. --- Using OpenSSL 0.9.7a Feb 19 2003. --- Using
SQLite 2.8.15.--- Using native malloc.

After running kannel my status is:
---------------------------------
Status: running, uptime 0d 0h 26m 7s
WDP: received 0 (0 queued), sent 0 (0 queued)
SMS: received 0 (0 queued), sent 0 (0 queued), store size -1
SMS: inbound 0.00 msg/sec, outbound 0.00 msg/sec
DLR: 0 queued, using internal storage
Box connections:
    wapbox, IP 127.0.0.1 (on-line 0d 0h 25m 57s) 
No SMSC connections

My `netstat -apn | grep box` is:
(I don't know why 9200 is open)
-----------------------------------------
tcp    0.0.0.0:14000      0.0.0.0:*         LISTEN
23969/bearerbox
tcp    0.0.0.0:9201        0.0.0.0:*        LISTEN
23969/bearerbox
tcp    127.0.0.1:9201    127.0.0.1:3770     ESTABLISHED
23969/bearerbox
tcp    127.0.0.1:3770    127.0.0.1:9201     ESTABLISHED     23985/wapbox
udp    0.0.0.0:9200       0.0.0.0:*
23969/bearerbox
udp    0.0.0.0:9201       0.0.0.0:*
23969/bearerbox

My firewall is allowing connections through, UDP & TCP on 9201
-------------------------------------------

Bearer box log (after trying to connect)
(192.168.2.1 is from the router/client [NAT])
Connecting on the LAN makes no difference.
-------------------------------------------
2004-12-22 14:13:07 [23969] [9] DEBUG: Started thread 17
(gw/bb_boxc.c:function)
2004-12-22 14:13:07 [23969] [17] DEBUG: Thread 17
(gw/bb_boxc.c:function) maps to pid 23969.
2004-12-22 14:13:07 [23969] [17] INFO: Client connected from
<192.168.2.1>
2004-12-22 14:13:07 [23969] [17] DEBUG: setting up systems for new
wapbox
2004-12-22 14:13:07 [23969] [17] DEBUG: Started thread 18
(gw/bb_boxc.c:boxc_sender)
2004-12-22 14:13:07 [23969] [18] DEBUG: Thread 18
(gw/bb_boxc.c:boxc_sender) maps to pid 23969.
2004-12-22 14:13:37 [23969] [17] INFO: Connection closed by the box
<192.168.2.1>
2004-12-22 14:13:37 [23969] [18] DEBUG: send_msg: sending msg to box:
<192.168.2.1>
2004-12-22 14:13:37 [23969] [18] DEBUG: Thread 18
(gw/bb_boxc.c:boxc_sender) terminates.
2004-12-22 14:13:37 [23969] [17] DEBUG: Thread 17
(gw/bb_boxc.c:function) terminates.

WAP box log (after trying to connect)
-------------------------------------------
(always empty)

Any ideas? I cant connect with a Sony Ericsson T610 either.


Reply via email to