RE: TiniHttpServer and GPRS or Tynamo?
"Kelly Smith" <[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
Dear Manual - Re: "I can talk about IWS, www.servertec.com, and I imagine the others work the same.". >From what I have been available to "generally demonstrate" to myself, without some very firm benchmark numbers, is that the current "incarnation" of Tynamo is about three times faster than SSC's (Dave McMahon's) TiniHttpServer. I have not tried to compare to IWS from Servertec (You!) lately, but I would like to invite you to compare Tynamo with IWS, and give us all some "real numbers". I am just not sure, as to how about going aboutmyslf (ie., to benchmark a TINI server). It might (or might not) have some marketing advantage for you and Shawn Silverman, to give us all some benchmarks to go by (and "Go Buy!). I invite your thoughts on this subject. Best regards, Kelly Smith P.S. I use the Dalsemi 390 (Rev. D, 1 MB), and Systronix TStik 400 (1 MB), as far as hardware platforms. And yes, I still have my licensed copy of IWS from you (about 3 years back)! 8D -----Original Message----- From: tini-admin-6tN4nzCoH/[email protected] [mailto:[email protected]]On Behalf Of Manuel J. Goyenechea Sent: Friday, April 02, 2004 10:32 AM To: TINI Cc: walters-mwSrj/[email protected]; [email protected] Subject: Re: [TINI]TiniHttpServer and GPRS or Tynamo? Hello, While I cannot talk about TiniHttpServer nor Tynamo, I can talk about IWS, www.servertec.com, and I imagine the others work the same. Normally when we ship IWS it is configured to listen for requests on port 8080 and not 80. This can easily be changed by setting port=80 in iws.ini configuration file as documented. Port 80 is normally the port used by Web servers and port 8080 is normally used by Servlet engines. Please be aware that IWS is both a Web server and Servlet engine. IWS does not open any socket ports we only open a server socket port to listen for requests. When a requests comes in we use the input stream and output stream of the socket we get from the server socket. As far as I know if you have a firewall you will only need to open the port that we are listening on. Finally you may need to open other ports for things like DHCP. Using IWS with PPP is simple, just setup PPP and then start IWS. When requests come in it is transparent to IWS. It thinks that the request and response are going over TCP/IP Ethernet. The magic is done by the PPP software. I have noticed that if PPP is not properly setup the TCP/IP stack may not be properly setup and then IWS will not get the requests. To check do an ipconfig and verify that you have an IP address and that things are configured properly, then configure IWS to log access, events and errors in logger.ini file, then start IWS finally make and requests and lookout for logger entries to console. Good luck and please let me know how it goes. Manny ----- Original Message ----- From: "Simon" <simon.ryley-nI4mw7d/[email protected]> To: <walters-mwSrj/[email protected]>; <[email protected]> Sent: Friday, April 02, 2004 5:46 AM Subject: Re: [TINI]TiniHttpServer and GPRS or Tynamo? > No, the modem doesn't do anything different when connected to GPRS, as far > as the TINI is concerned, it has a normal PPP connection via serial to the > internet. > > I am wondering whether there is some difference between the basic > TINIWebserver, (which works under GPRS) and the more advanced servlet web > servers (TiniHttpServer, Tynamo and IWS) As I mentioned before, I have > static IP GRPS, but for security reasons I have very few open ports on that > IP address. (Currently only port 80) > > Now, my question is, do servlets require another connection to be opened on > the TINI apart from the standard listening port, (in my case port 80?) > > This would explain why the remote browser connects to the TINI, and netstat > reports a FIN_WAIT state on port 80, before the web browser times-out its > request. > > Anyone have any ideas? > > Simon > > ----- Original Message ----- > From: "Walt Schilling" <walters-mwSrj/[email protected]> > To: "Simon" <simon.ryley-nI4mw7d/[email protected]>; <[email protected]> > Sent: Tuesday, March 30, 2004 8:42 PM > Subject: RE: [TINI]TiniHttpServer and GPRS or Tynamo? > > > > If I understand correctly, you are conecting via the Tini serial port > > to/thru a GSM/GPRS modem via PPP to the Internet in both cases ( GSM and > > GPRS), but GPRS fails and GSM works. > > > > My question would be: how could/does Tini know if GSM or GPRS is at the > > OTHER side of the modem! Wouldn't it all look like serial-PPP to Tini or > > does the modem do something strange when connected to GPRS? > > > > -----Original Message----- > > From: tini-admin-6tN4nzCoH/[email protected] [mailto:[email protected]]On Behalf Of > > Simon > > Sent: Tuesday, March 30, 2004 7:16 AM > > To: tini-6tN4nzCoH/[email protected] > > Subject: [TINI]TiniHttpServer and GPRS or Tynamo? > > > > > > This is my first post, so hello to all. > > > > I need some assistance debugging a TINI problem. > > > > I have a Tini 400, firmware 1.12. > > This is connected to a GSM/GPRS modem via serial4. > > > > Thus far, I have a ppp client program written and tested, that will > connect > > to the internet over both GSM and GPRS, and will host a basic web page > based > > on TINIWebServer. (I should mention that I have static IP GPRS) > > > > The problem comes with TiniHttpServer. When connected over ethernet or > GSM, > > TiniHttpServer works just fine. It just won't work over GPRS. The remote > > web browser sends the request to the Tini, which sees the request and goes > > into state . It then gets stuck and the TiniHttpServer won't send the web > > page up the serial link to the web. (I know because I am monitoring the > > serial between the TINI and the modem) > > > > Anyone seen this before? > > > > I've checked the TiniHttpServer properties and it is using port 80. > > > > I've also followed all the tips in the archives about GPRS. My ppp > > connection is the default, and my ethernet subnet is 255.255.255.255 > > > > Has anyone managed to get a web server to run properly over GPRS? Should > I > > be using Tynamo instead? (I have tried Tynamo, but could not get it to > > build correctly for my firmware) > > > > As ever, I'm on a tight deadline with this, so would appreciate some help > > from anyone out there. > > > > TIA, > > > > Simon > > > > _______________________________________________ > > TINI mailing list > > TINI-6tN4nzCoH/[email protected] > > To UNSUBSCRIBE, edit your profile, or see list archives: > > http://lists.dalsemi.com/mailman/listinfo/tini > > > > _______________________________________________ > TINI mailing list > TINI-6tN4nzCoH/[email protected] > To UNSUBSCRIBE, edit your profile, or see list archives: > http://lists.dalsemi.com/mailman/listinfo/tini > _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini