At 07/08/2002 18:48 -0400, Mike Thompson wrote: > > > > I added force-sar = true to kannel.conf and tested this with the Nokia > > toolkit version 3.0, using the 7110 and 6210 simulators: both worked. I > > tried dialling-in (to an anlogue modem) using my 6310i, with less success. > > > > As far as I can tell, the phone is connecting properly, and sending the GET > > request which is being forwarded to Apache. But the reply from Apache never > > gets forwarded to the phone. The document requested is only a few hundred > > bytes at most, so fragmentation shouldn't be an issue? > > > > Is this something to do with the connectionless/'permanent' WAP settings > > option on the phone? What exactly does this setting mean anyway? Should I > > be using the CVS snapshot? Should I turn to drink? > >
Following the inspiration provided by a glass of wine on Friday evening, I have solved the problem! It's nothing to do with Kannel itself, but with ppp. The kannel user guide gives instructions on how to set up an analogue dial-in ppp server. In the file /etc/ppp/options.server, it specifies a line like: a.b.c.d:w.x.y.z Where a.b.c.d is the IP address of the server, and w.x.y.z is the IP address of the dial-in. Both addresses shown are on the same subnet. This suits me, I'm using a 192.168.y.z reserved net, although I didn't think it was necessary. However, I assumed that ppp was going to act as a full-blown network interface, so I allocated a different address for the server from the eth0 address, and this was the problem. Once I changed the line to server_hostname:w.x.y.z it worked. Apparently you can use hostnames here: im using DNS on the local net, and server_hostname resolves to the IP address of the eth0 interface. Anyway, it is now working. I just don't understand why the routing works. One other thing. I havent tried this, but the ppp documentation seems to imply that if the Kannel bearerbox was running on a different machine to the ppp server, then you would need to put the line proxyarp in this file. However, this would set up a route from the phone to _all_ machines on the local network, so it should not be done without thought. N.B. if you mis-spell any of the contents of the options.server file, the dial-in connection wil fail. Finally, I can confirm that a 6310i with software 4.07 will not connect to a WAP server that does not (claim to) support SAR. Can anyone with 4.08 firmware confirm that this bug is fixed? If so, I will upgrade... Max Hadley Principal Engineer Sensa A Schlumberger Company
