![]() |
2005-12-26
, 20:22
|
Posts: 50 |
Thanked: 0 times |
Joined on Nov 2005
|
#2
|
Hi!
I wrote a simple HTTP server for my Nokia 770 using python for maemo. While the server itself works perfectly I have troubles accessing it from the opera browser without establishing an internet connection. Even when in offline mode opera insists on connecting when I try to access a local server. The loopback device is up and there is no problem connecting to my server using the GPE-mini-browser.
Any ideas how to change this behaviour?
Thank you, Andi
![]() |
2005-12-26
, 20:29
|
|
Posts: 1,361 |
Thanked: 115 times |
Joined on Oct 2005
@ Toronto, Ontario, Canada
|
#3
|
![]() |
2005-12-27
, 11:08
|
Posts: 6 |
Thanked: 0 times |
Joined on Dec 2005
|
#4
|
Andi,
I'm glad to hear you're working on this, and I hope your problem can be resolved. Having a mini httpserver on board could be a powerful tool.
Would you be so kind as to describe exactly (as in, instructions for Linux newbies) how you installed Python on your 770?
John
from BaseHTTPServer import HTTPServer from SimpleHTTPServer import SimpleHTTPRequestHandler host, port= '', 50000 print 'listening on port', port srvr= HTTPServer((host, port), SimpleHTTPRequestHandler) srvr.serve_forever()
![]() |
2005-12-27
, 11:49
|
Posts: 6 |
Thanked: 0 times |
Joined on Dec 2005
|
#5
|
Andi: The only thing to override that behaviour that i can think of is a patch of sorts. While the lloopback IP exists, can you setup an ad-hoc connection that doles out an IP on the
local range to the 770? Or would it be possible to create a connection that would use the loopback? (Not sure about that last one as 127.0.0.1 would lready be assigned to the device).
Other than that, maybe Opera can be set to offline mode.
![]() |
2005-12-27
, 15:00
|
|
Posts: 1,361 |
Thanked: 115 times |
Joined on Oct 2005
@ Toronto, Ontario, Canada
|
#6
|
![]() |
2005-12-27
, 17:09
|
|
Posts: 148 |
Thanked: 5 times |
Joined on Nov 2005
@ Stimutax, AZ
|
#7
|
![]() |
2005-12-27
, 21:26
|
Posts: 6 |
Thanked: 0 times |
Joined on Dec 2005
|
#8
|
I'm pretty sure that this is what you're looking for.
http://maemo.org/maemowiki/DummyIAP
![]() |
2005-12-27
, 22:20
|
Posts: 6 |
Thanked: 0 times |
Joined on Dec 2005
|
#9
|
I haven't tried it, but creating an ad-hoc connection with a static IP in connection manager oughtta do it.
![]() |
2006-01-03
, 03:40
|
|
Posts: 1,361 |
Thanked: 115 times |
Joined on Oct 2005
@ Toronto, Ontario, Canada
|
#10
|
I wrote a simple HTTP server for my Nokia 770 using python for maemo. While the server itself works perfectly I have troubles accessing it from the opera browser without establishing an internet connection. Even when in offline mode opera insists on connecting when I try to access a local server. The loopback device is up and there is no problem connecting to my server using the GPE-mini-browser.
Any ideas how to change this behaviour?
Thank you, Andi