Tuesday, May 30, 2006
Running a mobile webserver on a S60 phone
Nokia has released an open source mobile web server for S60 phones (see title link for details).
This is pretty cool - I set up my Nokia 6680, and it appears to work fine:
http://mario.menti.at.openlaboratory.net:8080
I love some of the concepts the guys at Nokia have come up with: you can send me an instant message, ask me to take a picture, and check my location - see the concept demos here: http://mario.menti.at.openlaboratory.net:8080/concepts.html
(These are just the default pages installed with the Raccoon web server - I'll change them as and when I get some spare time...)
This is pretty cool - I set up my Nokia 6680, and it appears to work fine:
http://mario.menti.at.openlaboratory.net:8080
I love some of the concepts the guys at Nokia have come up with: you can send me an instant message, ask me to take a picture, and check my location - see the concept demos here: http://mario.menti.at.openlaboratory.net:8080/concepts.html
(These are just the default pages installed with the Raccoon web server - I'll change them as and when I get some spare time...)
Comments:
<< Home
Hey Mario, I need help! I'm trying to set this up to test this for my school project. And I can't get it to work. I'm using a Nokia 6680 too! Without running the server, I get the out-of-site webpage very quickly. While running the server, my browser takes 5 mins to load, and still loads the out-of-site webpage.
Hi Ronald,
once Raccoon is installed on the phone, all I do is "start cellular", then choose an internet APN. You need to make sure to use the Internet APN rather than the WAP APN, but other than that it worked "our of the box" for me..
You may also want to check that you have a contract that gives you full Internet access, not just WAP.
once Raccoon is installed on the phone, all I do is "start cellular", then choose an internet APN. You need to make sure to use the Internet APN rather than the WAP APN, but other than that it worked "our of the box" for me..
You may also want to check that you have a contract that gives you full Internet access, not just WAP.
Mario, Ronald here again. Thanks for the advice. I was indeed mistaking WAP APN for internet APN. Now using internet APN, all the received and sent stats change when I try to browse the webpage. However, I get the following error on browser:
Network Error (gateway_error)
An error occurred attempting to communicate with an HTTP or SOCKS gateway...
I'm clueless
Network Error (gateway_error)
An error occurred attempting to communicate with an HTTP or SOCKS gateway...
I'm clueless
Sounds like this is somehow related to your provider/ internet access. You may not have full internet access depending on the contract/ tariff you're on. I'm on Vodafone in the UK, and using their Internet APN seems to work ok. I did however have problems years ago with the Internet APN, and it was related to the fact that my contract didn't include it, so I needed to pay for a package that gives full internet access, rather than just trough their WAP gateway.
Sorry not to be more helpful.. BTW, can you start non-cellular, and then connect locally from the phone to 127.0.0.1? (Not that this would necessarily help, but out of interest...)
Sorry not to be more helpful.. BTW, can you start non-cellular, and then connect locally from the phone to 127.0.0.1? (Not that this would necessarily help, but out of interest...)
Hey Mario, I finally got it to work! I think I had fiddled with the settings too much, and screwed up something. So using your hint when you said 'out of the box', I reinstalled everything, and it worked. Thanks. I guess you haven't bothered to really try to put anything interesting up?
Glad you got it working. No, I haven't had the time yet to play around with it more, work commitments etc...
Hey Mario,
I was just trying to host a python guestbook on the server,and I encountered questions I can't answer. Normally, for python files on PC, the first line is #!/usr/bin/python -u which the user has to change to the directory of his python.exe
Is there such a situation for s60?
But I doubt that's the problem. I shifted ball.py (a bouncy ball game found in c:\system\apps\python) to my htdocs folder and tried to host it. The browser just opens it as a txt file. So the server doesn't recognise it as a script huh..
Any tips? Btw, my email is icecube06@yahoo.com if you want to email me
Post a Comment
I was just trying to host a python guestbook on the server,and I encountered questions I can't answer. Normally, for python files on PC, the first line is #!/usr/bin/python -u which the user has to change to the directory of his python.exe
Is there such a situation for s60?
But I doubt that's the problem. I shifted ball.py (a bouncy ball game found in c:\system\apps\python) to my htdocs folder and tried to host it. The browser just opens it as a txt file. So the server doesn't recognise it as a script huh..
Any tips? Btw, my email is icecube06@yahoo.com if you want to email me
<< Home


