Slashdot Mirror


A Webserver on Your Cellphone?

Mad_Rain asks: "I saw over on Make Magazine an article about using your cell phone on the Internet, except instead of browsing the web from your cell, you can serve webpages from your phone. Of course, it uses Apache, Python and a Nokia S60 series cell phone. I can imagine a couple of creative applications for webservers in strange places, but what else can be done with this?"

61 comments

  1. The best way to bankrupt your employer by arivanov · · Score: 4, Funny

    Just run a webserver and post in slashdot. I am sure accounts will be mildly entertained the moment they get the GPRS bill.

    --
    Baker's Law: Misery no longer loves company. Nowadays it insists on it
    http://www.sigsegv.cx/
    1. Re:The best way to bankrupt your employer by Anonymous Coward · · Score: 0

      Unless you have an unlimited data account. Sprint offers one for $20/month I think.

    2. Re:The best way to bankrupt your employer by fm6 · · Score: 1

      Lots of GPRS accounts are flat rate. In the U.S., it's really the only affordable way to use that protocol.

  2. "What else can be done with this?" by Hosiah · · Score: 3, Insightful

    Make a phone call? NMo, wait, it's a *cell* *phone*, what was I *thinking*!?!?

    1. Re:"What else can be done with this?" by Thing+1 · · Score: 0, Troll
      "What else?"

      Basically nothing, if you're a Verizon customer. FUCK VERIZON!

      --
      I feel fantastic, and I'm still alive.
  3. Well... by trogdor8667 · · Score: 1

    This would certainly be an interesting experiment, but I would see many problems with this server going down, and speed being an issue...

    1. Re:Well... by Kiaser+Zohsay · · Score: 1

      There is no way in hell I want the infamous slashdot effect directed at something in my pocket!

      --
      I am not your blowing wind, I am the lightning.
  4. Old News by Anonymous Coward · · Score: 0

    The Citrix Metaframe client for windows CE, including Windows Mobile which runs on various smartphones and cellphone PDA's, actually uses a small web server to configure and launch the terminal session. Pretty Snazzy..

  5. "What else can be done with this?" by Anonymous Coward · · Score: 3, Funny

    It can be used to spread viruses toeven more people who think they know how to admin a webserver.

  6. Real-time reporting by mrchaotica · · Score: 2, Insightful

    At Macworld, everybody reported stuff instantly by writing it on their laptops and uploading via WiFi. However, what if WiFi weren't available?

    With a phone like this, you could report on any event, anywhere (even if it meant just serving pictures and audio, since text input on phones is so bad).

    --

    "[Regarding the 'cloud,'] ownership was what made America different than Russia." -- Woz

    1. Re:Real-time reporting by SaDan · · Score: 1

      You know, a reporter with even a regular phone could call back to the office and give his report/story.

      Or, since internet enabled phones are not exactly uncommon these days, maybe tether the phone to the laptop/PDA and upload the story that way?

      I think being on the internet going 80mph down a highway (in the passenger seat, not driving!) is pretty darn cool. I'd imagine this technology could be applied sitting in a chair at Macworld.

  7. Have GPS? by RingDev · · Score: 4, Interesting

    Imagine giving your children a cell phone with a web server that hosts a web service that will respond with the GPS info. I could goto MyKid.ringdev.com and see exactly where they are. Obviously you would need some serious security. You wouldn't want just anyone to get that GPS info. But it would be great for finding a lost/stolen phone too.

    -Rick

    --
    "Most people in the U.S. wouldn't know they live in a tyrannical state if it walked up and grabbed their junk." - MyFirs
    1. Re:Have GPS? by oliana · · Score: 3, Interesting

      Or if, when the server got pinged, it rang. So when you lose your cell-phone in your house and don't have a land-line to call it to find it, you can ping it from your computer.

      --
      In Soviet Russia, asses suck this joke.
    2. Re:Have GPS? by thePowerOfGrayskull · · Score: 1

      But the web server is unnecessary for that -- GPS info would (I suspect) be tracked at a central location, not sent down to the phone then back out to whoever is requesting the page.

    3. Re:Have GPS? by BuR4N · · Score: 2, Informative

      There is many services like this, using GSM basestation/cell triangulation. No need for an GPS if your interested in finding out where the cell phone with a resolution that is pretty decent.

      --
      http://www.intellipool.se/ - Intellipool Network Monitor
    4. Re:Have GPS? by RingDev · · Score: 1

      GPS info isn't "tracked". The GPS antena on the phone picks up signals from the GPS satelites and determines it's location.

      -Rick

      --
      "Most people in the U.S. wouldn't know they live in a tyrannical state if it walked up and grabbed their junk." - MyFirs
    5. Re:Have GPS? by thePowerOfGrayskull · · Score: 1

      Ah; valid (and incredibly obvious) point. Brain musta been turned off earlier; thanks.

    6. Re:Have GPS? by X0563511 · · Score: 2, Interesting

      Er, run a packet sniffer on the world-facing interface outside your firewall and watch how often random pings from the internet pass by.

      Maybe better would be a simple website with a small (5 letter) text field. Enter the right code, and it would ring.

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    7. Re:Have GPS? by Anonymous Coward · · Score: 0

      Or maybe just use the text messaging feature found on every cell phone home page.

    8. Re:Have GPS? by afd8856 · · Score: 1

      What about using your girlfriend's mobile to ring yours? Too non-geeky? :-)

      --
      I'll do the stupid thing first and then you shy people follow...
    9. Re:Have GPS? by Senzei · · Score: 1

      Girlfriend, what is that, where can I get one of these backup-mobile-phone systems and how much does it cost?

      --
      Slashdot: Where anecdotes and generalizations can be freely substituted for facts, logic, or intelligence
    10. Re:Have GPS? by charlesnw · · Score: 1

      Oh you don't want one of those. They are very expensive. Forced upgrades every year. I mean haven't you seen http://www.annoyances.org/exec/show/article09-132 ????

      --
      Charles Wyble System Engineer
    11. Re:Have GPS? by fm6 · · Score: 1

      That's true, but the service is still usually called "GPS", even though it doesn't use the satellite system. That probably what he was referring to.

  8. Two words by EngrBohn · · Score: 5, Interesting

    Portable webcam

    --
    cb
    Oooh! What does this button do!?
    1. Re:Two words by ichigo+2.0 · · Score: 2, Insightful

      99% of the time it would show pictures of pocket lint. Unless people start walking around with phones hanging around their neck. :)

    2. Re:Two words by HTL2001 · · Score: 1

      on a side note, I never got why digital cameras, when plugged in over USB, wouldn't function as webcams (I figured someone would have done this- maybe they have?)

      --
      By reading this, you have given me brief control of your mind.
    3. Re:Two words by drinkypoo · · Score: 1

      Many do. Some don't. Even my shitty kodak will work fine. Pathetically enough webcams are all WDM now and you can't use a video camera on 1394 as a webcam without additional software. gotta love windows. (Obviously this comment is Windows-specific.)

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    4. Re:Two words by ncc74656 · · Score: 1
      I never got why digital cameras, when plugged in over USB, wouldn't function as webcams

      Some (cheap...really cheap) digital cameras can do this. Unfortunately, they tend to be about as good at capturing video as they are at capturing still images--IOW, not good at all. The cameras I've tried out in this mode were plagued with low framerates and smeared motion.

      --
      20 January 2017: the End of an Error.
    5. Re:Two words by triso · · Score: 1
      99% of the time it would show pictures of pocket lint. Unless people start walking around with phones hanging around their neck.
      Me and muh' homeys drive around with six clocks around our necks so I guess one lil' phone won't hurt.
    6. Re:Two words by Etnie · · Score: 1

      How very Korean! I see tons of them with cellphones around their necks.

  9. Bad writing. by Anonymous Coward · · Score: 0

    Is it just me or did that article look like an high school kids essay?

  10. Just because you can... by AKAImBatman · · Score: 2, Insightful

    ...doesn't mean you should. There are a lot of ways the things around you can be used and abused. Sometimes the use is a good one (e.g. potatos are great for getting broken lightbulbs out of their sockets), but I just can't think of any way that a phone webserver would be useful. More likely, it'll run up the guy's wireless bill and open him to various attacks.

    1. Re:Just because you can... by OneSeventeen · · Score: 1

      I think it just gives the user more freedom to do what he wants with it. Instead of having a company tell him he must use a special tool to remove broken lightbulbs, he can just go get a potato because nothing is standing in his way. The same goes for having a webserver on a cell phone, even if it isn't neccessary, at least its an option.

      Personally, I can't see a reason to host information on a phone, but I'm sure there's some fun uses, primarily tying it into VOIP, possibly using your home PC to make wireless calls when your cell phone is in another room/building/state/etc.

      But no, there is very little you could do with a webserver that you couldn't do without one.

      --
      "Now the trouble about trying to make yourself stupider than you really are is that you very often succeed." -C.S. Lewis
  11. Oh great! by Dtyst · · Score: 1

    Instead of calling a user, Ping him! I don't know how comfortable I would be having people surfing on my cell-phone. Could cause lots of issues like security, Battery-life, slashdotting (It's not so nice when the phone catches fire in your pocket ;).

    1. Re:Oh great! by Quiet_Desperation · · Score: 4, Funny
      It's not so nice when the phone catches fire in your pocket

      Speak for yourself.

  12. remote web cam server by i621148 · · Score: 1

    how about some application to post snapshots with your phone using webcamrc into your web folder everytime there is motion. you could buy a phone and set it in a secret location and then just log into the web page to observe the goings ons... (bushism?)

  13. In other news... by famebait · · Score: 3, Informative

    Conversely, with the right software you can use your webserver to make phone calls.
    If you really really want to it is also possible to beat screws into wood with a hammer, or alternatively with a banana frozen in liquid nitrogen.

    --
    sudo ergo sum
    1. Re:In other news... by Eivind · · Score: 1

      The banana doesn't work. It crushes like glass when you deal the first blow.

  14. So... by famebait · · Score: 3, Funny

    instead of browsing the web from your cell, you can serve webpages from your phone.

    Was this by any chance in Soviet Russia?

    --
    sudo ergo sum
    1. Re:So... by aurb · · Score: 0

      No. Only in the United States of Soviet America. (USSA)

    2. Re:So... by jolshefsky · · Score: 1
      I gotta find this "Soviet Russia" place. If I interpret this correctly:

      "In Soviet Russia, cell phone serves YOU!"

      Just saying it gives me tingles!

      --
      --- Jason Olshefsky

      Karma: Poser (mostly affected by adding this line long after everyone else did)

  15. I see it now... by njchick · · Score: 1
    Why didn't you call me to tell you'll be late?

    Honey, I tried many times, by my cellphone was slashdotted.

  16. Serve yourself! by drstock · · Score: 2, Funny

    It could be interesting to use this to serve pages to the phone's own browser, to allow off-line browsing for phones who have no such function.

    --
    My other comment is funny
  17. Send live Pr0n of girlfriend by Anonymous Coward · · Score: 0

    .... tooken by mobile phone to webserver and enjoy thousends of people downloading it via slow link

  18. This story reminds me... by wbren · · Score: 1

    ...of the time I loaded Apache on one of those pens with a digital clock on it.

    Seriously, come on... who really needs a web server on their phone? Great! New holes for cell phone virus writers to exploit!

    --
    -William Brendel
    1. Re:This story reminds me... by Anonymous Coward · · Score: 0

      I bet you never got mod_rewrite to work, though.

  19. Is it just me... by 2obvious4u · · Score: 1

    Is it just me or would the best uses for this all be illegal?

  20. Old news ? by Anonymous Coward · · Score: 0

    Or perhaps I should say "obvious news". If you can easily run Apache, SSHd and others on your PDA running Linux how hard can it be to do the same on a mobile phone ?

  21. Hello, sorry I can't take your call right now... by Hosiah · · Score: 1

    but my cell phone is getting Slashdotted. Please leave a message...

  22. A few possibilities... by Roy-Svork · · Score: 1, Interesting

    There seems to be quite a number of largely trivial uses.

    You could have some kind of massive spiderry bittorrent network that utilised the various communication methods available to the phone as well as IP to share files, ultimately resulting in a higher number of peers and or seeds. You could use a mobile phone\webserver combo for some kind of distributed CTI application.

    I guess the major limiting factor would be the features of the phone itself; A gps enabled phone could use it's webserver as a HTTP based tracking device, or a camera phone could work as a webcam server to relay images back in semi-real time. Not sure what the advantages are of doing any of these with a phone\webserver though as opposed to the other available methods.

    The only really usefull thing I can think of while timewasting at work is that it might be usefull though for remote computation of data. A field worker could be out collecting data. The phone could make available the raw data for processing via it's webserver. A client running on a pc could then be configured to periodically query the webphoneserver, retrieve the data, process and then make the results available for the phone.

    This does also bring in issues about phones though, and when they stop being phones and become PDAs or even pocket computers!

  23. What about for contact management? by Dembonez · · Score: 1

    It sure would be handy if I could get at the list of contacts on my phone, when I'm not near my phone... since the webserver runs on the phone, it shouldn't be too difficult to have it spit back the data that's in there. As for on-the-go uses for your own webserver, well for starters, you could host your own start page, (ala google.com/ig or start.com) right on the phone. In Canada, the initial home page for most of our cell providers suck ass. This could also keep your bandwidth costs down; not needing to download the contents of your provider's crappy cell phone portal page. Of course, once a webserver is running, the door is then open to various scripting languages. Have you seen all of what's available in the world of Python?

    1. Re:What about for contact management? by Bastardchyld · · Score: 2, Informative

      As far as "spitting" the data back. I am not so sure I want my "phone/webserver" spitting my contacts all over the internet. Besides isn't that what Paris Hilton was trying to prevent with all the lawsuits after her cell phone was hacked?

      --
      $diff terrorists hippies
      $
      $rm -rf *terrorists *hippies
    2. Re:What about for contact management? by bigtrike · · Score: 2, Informative

      Check out SyncML. It's meant for exactly this. It also does appointments and to-do as well.

      You can pretty much do whatever you want with these phones. Nokia has released a free dev kit based on gcc. The API docs are freely available. There is even a (semi limited) emulator for testing apps on your desktop. You can remotely install your apps via bluetooth to test them, and supposedly you can remote debug via gdb (I never got that to work). The only real limitations are the semi slow CPU and Nokia's semi crazy macros for memory allocation (necessary to eliminate the need for an MMU) and their somewhat hard to use API (built to minimize resource usage so the devices have a reasonable battery life).

  24. Out pacing the average citizen's ability by catahoula10 · · Score: 2, Interesting

    A product like this one brings some questions to mind about security and the ability to admin a server by the people this would be marketed to.

    If you store alot of business phone numbers along with their personal info like e-mail, home numbers, etc, could this be hacked off the phone through the server? The abuse issues could be endless via users that have not one single clue about admining a web server.

    Our technology seems to be out pacing the average citizen's ability to control it. Which is a paradox because everyone wants a better life through technology.

    --
    This has been another valuable and informative opinion from:
    Catahoula!
  25. Actually, python is ALL you need by Clueless+Moron · · Score: 1
    The following python code will run a simple web server that lets you browse your filesystem. Just open localhost:8000 in your browser, assuming you started the program on the same machine that your web browser is on:
    import SimpleHTTPServer
    SimpleHTTPServer.test()
    It's not hard to extend it to do more elaborate things, of course.

    Works fine on my Zaurus.

  26. Cheap Security by ReidMaynard · · Score: 1

    A web page with a 'take picture' button, then the picture displayed below. Leave it on a shelf when you go away on vacation, pluged in. Of course you could do with with a PC/web cam too, but the cell is portable. You could put a junker stake out car with one or two of these pluged into cigarette lighters and watch the crack house...

    --
    -- www.globaltics.net

    Political discussion for a new world

  27. I have spotted phising sites using this by Anonymous Coward · · Score: 1, Interesting

    I have done a traceroute on several phish sites that have resolved to something on a wireless network. A prepaid phone provides the connection with no way to trace it back to an individual.

  28. Fun, but with severe limitations by MrWorf · · Score: 1

    I don't know about other networks, but the ones in sweden (and Telia in particular, but probably others aswell) give out LAN addresses to their GPRS users, which puts them behind a NAT. Which, inturn, makes any kind of webserving useless (unless it's to other users of the same network, provided that there isn't several NAT's with their own copy of the networkspace).

    I found out about this the hard way when investigating in a similar subject. The only way to solve it would be to have your own APN (Access Point Name) which gives out real addresses, and then you'd have to pay the ISP for all traffic on the APN. Not really what you want to do.

    It's a shame really, but until we have IPv6 (so everyone and their pet can have a unique IP address) and more secure phones, which is especially important for those which run a "real" os (symbian, pocketpc, etc) I think it will be for the best. The last thing we need now is viruses which run up your GPRS data traffic (since most carriers charge for sent AND received data), it's enough with the SMS viruses IMHO.

    Mind you, I wouldn't mind being able to run servers on my phone :) so if it can be worked out, I'd be all for it.

  29. I'm NATed by Kris_J · · Score: 1
    The article mentions this problem, then solves it by running a custom gateway. No doubt that gateway would have made a better webserver, making this project as pointless as running a C64 BBS with a more powerful PC acting as a bridge.

    Given the current state of things, there's not much point getting any more complicated than uploading phonecam photos to Flickr while you're out and about. (As it is, that costs a damn fortune.)

  30. Already done in amateur radio by woolio · · Score: 1

    This has been done by HAMS (amateur radio operators) for at least ~10 years. Its called APRS, and uses small inexpensive handheld radios, a packet modem, and a GPS.. (and some handhelds even have the packet modem built-in). Weather stations can also interface to this.

    There is a nation/world-wide network of stations that use the internet (and/or HF radio) as a backbone. There is even a webpage that will display a user's location on a map (can't remember the URL offhand). There are even specific frequencies reserved just for this purpose.

    And this is all completely free... (except the equipment).