View Single Post
Old 08-22-2008, 05:40 PM   #20
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Quote:
Originally Posted by nrapallo View Post
I'm using a WinXP computer to communicate with the reader. I'm behind a router and working in local IP space (198.168.X.X). The Linreb program seems to work well and v0.2 has a windows executable that you can run in WinXP (check out v0.2).

I think there could be one or more of the following working against me getting this to work:
- ETI may have 'fixed/blocked' that ability to surf the net from 2005 to now with recent firmware updates
- your java code actually 'processed' the requests by manipulating the info sent whereas the Linreb program merely responds with the requested data. No .asp code is being executed by Linreb when the HTTP requests come in from the reader.
- the ability to 'surf the net' is there and I'm too 'blind' to see it.

I will continue experimenting with the Linreb code...
Quote:
Originally Posted by Ret View Post
From the moment you can use Linreb with your reader, the ability to surf the net is there. You have to remember that what Linreb does is redirect all traffic to ebooktechnologies servers to the local server listening on localhost. In tech terms: it puts an entry in your HOSTS file on your windows machine that translates the ebooktechonologies.com to 127.0.0.1 and runs a web server listening on localhost.

My java code did nothing magic or on the fly, just serve a static html file. You say you can do the same, so you have pretty much everything done. Am I correct? The reader shows your custom static html files, rigth?
Yes, basically a combination of the last two points (in bold) in my post above is taking place.

The Linreb program doesn't do anything but "serve up" static html pages in the 'content' directory. No external html pages are fetched from the internet and placed there. No HOSTS file is 'changed', but all HTTP requests from the reader are RESPONDED to by the proxy program, not the ETI servers. Again, there is no 'processing' done by the Linreb program other than 'give up' what it sees in the local directories.

Have you tried running the program? It does work with the EBW1150 conntected via the usb cable and with the HTTP Proxy server set up according to the GEBLibrarian-way. Presumably you know this already i.e. 192.168.0.X where X is your machine's IP last octal.

I think the Linreb program doesn't use the 127.0.0.1 method directly, but instead relies on the EBW1150 reader to have the HTTP proxy set in Settings as well as use the usb for proxy HTTP. Maybe this is the difference in making it work and not?

Last edited by nrapallo; 08-22-2008 at 05:43 PM.
nrapallo is offline   Reply With Quote