Slashdot Mirror


When Cellphones Become Webservers

An anonymous reader writes "Nokia is experimenting with turning mobile phones into webservers, according to an interesting article on Linux Devices. Nokia has ported the Apache webserver and a few other software modules to the Symbian OS that runs its phones, but there shouldn't be any barrier to adapting the technique to Linux mobile phones, since it all appears to be released under Linux-friendly open source licenses. Just think of the possibilities of having a webserver in your pocket!"

45 of 189 comments (clear)

  1. not good enough by yagu · · Score: 4, Funny

    I won't be satisfied until Adobe ports Photoshop to cell phones. Now we're talking.

    1. Re:not good enough by Marty200 · · Score: 2, Interesting

      The only usefull application for this would be to have the website tell you it's physical location. I'd love to be able to log in in the morning and have an easy way to find my phone.

      MG

      --

      Randomly distributing Karma whenever possible.

    2. Re:not good enough by zenslug · · Score: 2, Interesting

      I can think of another useful application extending the location idea: localized web radio

      Driving/walking along, decide you are bored of the songs on your phone, turn to local web radio and listen to some else's songs. Something like that obviously wouldn't need to be restricted to a location, but that would make it managable (resource-wise) for the owner of the phone/server, and I think it would add an element of fun, too.

      Also, aside from music, you could do even more light-weight journalism. Stream audio and video straight from your phone/camera to the web. I think that is a very powerful idea.

  2. Popular amoung women; by MrShaggy · · Score: 5, Funny

    Vibrating cell-phones that vibrate based on hits to the server!

    --
    I have mod points and I am not afraid to use them.
    1. Re:Popular amoung women; by cliath · · Score: 2, Funny

      All they would need to do is turn on the camera phone and put it down their pants. Endless hits!

  3. Yes, but... by deltagreen · · Score: 4, Funny

    Just imagine the battery life of your cellphone after a slashdotting! :-p

  4. hmmmmmmmm by LiquidCoooled · · Score: 2, Funny

    Just think of the possibilities of having a webserver in your pocket!

    Imagine the small fires which would result after a slashdotting.

    Actually, more to the point I'm not sure I would like to even browse to a website whos physical location could be mere inches away from a pair of betty swallocks!

    --
    liqbase :: faster than paper
  5. Has to be said by dtldl · · Score: 5, Funny

    Is that a web server in your pocket, or are you just happy to see me?

    1. Re:Has to be said by Kamineko · · Score: 4, Funny

      Or even better:
      Is that a bittorrent tracker in my pocket, or are you just happy to sue me?

    2. Re:Has to be said by gotgenes · · Score: 2, Insightful
      Is that a web server in your pocket, or are you just happy to see me?

      That's not exactly the most flattering question, considering the diminutive size of today's cell phones...

      --
      It's such a fine line between stupid and clever.
  6. But can I make calls, too? by Flimzy · · Score: 3, Insightful
    If these new web-server mobile phones work like my current phone, then whenever I'm "online" I can't also make phone calls. That would make a mobile web server about as useful as a web server on my old dialup connection.

    But then with opensource, I can figure anything out... like using Skype to make my calls while my faithful website viewers are still able to browse my ever-so-important website in my pocket.

    1. Re:But can I make calls, too? by 10Ghz · · Score: 2, Informative

      My phone is online 24x7. It has a constant GPRS-connection to the network, so it can receive email sent to me. And I can make phone-calls just fine. I can even make and receive phone-calls when I'm surfing the net with the phone.

      Symbian is a multitasking OS, so having a webserver there is not an issue. And GPRS and the like do not prevent you from making phone-calls.

      --
      Lesbian Nazi Hookers Abducted by UFOs and Forced Into Weight Loss Programs - -all next week on Town Talk.
    2. Re:But can I make calls, too? by TheRaven64 · · Score: 2, Informative
      This is not quite true. The GPRS connection is suspended while you are making a voice call (use a hands-free set and try browsing while talking, if you don't believe me), and is resumed when you hang up. For a client, this is fine; you are unlikely to be browsing while talking (irritating for me though, since I was having a conversation over IM on my computer using my 'phone via bluetooth for the Internet connection when I received a call). For a server, it would just mean random downtime.

      Quite why this is a better solution than having your 'phone update a server on a wired connection is beyond me, especially since it requires a Linux machine to act as a proxy anyway. Why not just run Apache on the Linux box, and use rsync to update it whenever you create some content on your 'phone?

      --
      I am TheRaven on Soylent News
  7. this is a bad thing.... by xao+gypsie · · Score: 2, Funny

    Imagine what happens when your unsuspecting cell phone gets slashdotted. If you are a guy, you can kiss your chances of fathering children good buy.
    a phone melted to you thigh does not sound like fun.....

    --


    xao
    http://TheHillforum.hopto.org
  8. Luckily by LandownEyes · · Score: 5, Funny

    At least now when the police raid your torrent server, everyone can call and tell them they're pissed.

  9. Just think of the possibilities by Anonymous Coward · · Score: 2, Funny

    "Just think of the possibilities of having a webserver in your pocket!"

    None!

  10. I can see the headlines by neuro.slug · · Score: 5, Funny

    Swedish Police seize Pirate Bay server decoys, Real Server Escapes In Man's Pocket.

    What has it got in its pocketses, my love? Tricksy little serverses, sneaking awayses from us!

  11. Security by babanada · · Score: 2, Insightful

    If these are deployed and left, they will become vulnerable eventually. Right from the beginning, a means to update any service that is listening needs to be built in, particularly with something as widespread as Apache. The user should have a choice: either update without asking, or receive a message when new updates are available, and a recurring message if the updates are not applied. The last thing we need are a million webservers that are deployed and then sit unpatched until the phones aren't used anymore.

    --
    I never clip my fingernails for fear of dangling symbolic links.
  12. Nerds Dead Everywhere! by Anonymous Coward · · Score: 3, Funny

    Imagine one of those phones being slashdotted, the sheer amount of radiation and electricity involved would cause the said nerd to spontainiously combust in an excellent display of nerdyness...somewhat like a moth to fire.

  13. Use it as a local proxy by castoridae · · Score: 2, Interesting

    From TFA, the web server does have i.e. mod_python, so there should be some programmability there. I could see using the web server as a proxy - maybe for security reasons, but even more for automatic downloading & caching of web pages as the user moves in and out of connectivity.

  14. Hmm by metamatic · · Score: 5, Insightful
    Just think of the possibilities of having a webserver in your pocket!


    The possibility of paying massive bandwidth fees to Cingular, for example.

    --
    GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
  15. Something I'd Like To See... by LEX+LETHAL · · Score: 3, Interesting

    To be able to run distributed computing applications like BOINC on your cellphone when it's not in use. It would suspend the activity when the battery charge reaches a user-defined limit.

    You could crunch units at night while your phone is charging.

  16. Okay, seriously, someone explain the usefulness... by pla · · Score: 5, Insightful

    I just don't get it.

    A web browser, I can see the use of (though currently most non-text-only pages look like crap on tiny cellphone screens, and even text-only doesn't look great). An email client, sure. A terminal emulator (aka "telnet/ssh client" for you whippersnappers) so I can connect to and manage a remote web server (if absolutely necessary - see point 3 below), yuppers.

    But an actual web server?


    First, my phone has an okay battery just sitting idle, but in actual use it dies within a few hours. Running a web server implies basically continuous use, so the thing would end up always on a leash to either a car or AC outlet.

    Second, although I have pretty good cell coverage in my area, I do still drop the occasional call. Do we really want to add a http error code, "604: server drove into a tunnel"? (And yes, I do realize that would probably come back as a 503... Just a weak joke).

    Third - I would not want to use a phone's crude keypad to try to maintain a web site. Even if I bought into the rest of the idea, I could see myself realistically connecting to my phone remotely from a real PC to do any updates or maintenance.

    I just don't see the point. This smells like a solution in need of a problem, IMO.

  17. OK by JanneM · · Score: 4, Insightful

    Just think of the possibilities of having a webserver in your pocket!

    Ok, hmmm, let me think ... uh, no. Aaand not that. Hmmmm....

    *chirp* *chirp* *chirp*

    OK, you got me - what are those possiblities?

    --
    Trust the Computer. The Computer is your friend.
    1. Re:OK by Anonymous Coward · · Score: 2, Insightful
      Ok, hmmm, let me think ... uh, no. Aaand not that. Hmmmm.... *chirp* *chirp* *chirp*

      You know, if you could round up those crickets in your head and get them back into the running wheel you might be able to think of something. Like easy configuration of your phone. Easy access to your photos and files and contacts, accessible from whatever computer happens to be nearby.

      A standard interface. It's obviously not meant for hosting a website, like the 187 other clowns-with-escaped-crickets posting above me seem to think.

  18. Not much use.... by tsvk · · Score: 3, Interesting

    I don't see much use in this... Ususally (at least in GSM GPRS and UMTS 3G networks) the phones are behind one or two NATs. That is, all packet data users of an mobile operator are seen to the internet as coming from the host gprs.mobile.operator.com, or the like. You cannot directly connect from the internet to a specific mobile phhone's IP address, regardless of the existence of a mobile web server there.

    NATting is partly done to protect the mobile users from excess traffic. Imagine someone pingflooding your mobile's IP address, and you paid for data packet traffic by the kilobyte! :)

    I see this webserver porting more as an technology demo from Nokia's part: "Hey look how cool our phone operating system and programming platform is!", instead of being a real, useful application.

  19. Re:What is the purpose? by gregarican · · Score: 3, Insightful

    It reminds me of 3 years ago when I first got a Linux-based Sharp Zaurus. I could purchase a GSM/GPRS card to get it acting as a cell phone. And I loaded it with wifi and packages so it acted as a Samba server, an Apache server, a MySQL server, a VNC server, etc. Nice geek attraction but for practicality's sake the usability was pretty poor. Small devices aren't geared to be resource hogging servers. They are optimized to be thin clients.

  20. Re:Webserver's Everywhere by cei · · Score: 2, Funny

    So you're saying the simple solution is to implement a Commodore 64 emulator that runs on phones? ;)

    --
    This sig intentionally left justified.
  21. A mesh network server would mean instant user owne by Anonymous Coward · · Score: 2, Interesting

    A mesh network server would mean an instant user owner internet that is already deployed!
    No matter what lobbists tried to get congress to throttle the internet into tiers!
    That mean free internet anywhere that you can daisy chain cellphone links unless the send and recieve frequencites cell phone suse are not the same as cell tower send frequencies.

    Perhaps the qualcomm walkie talking phones would work? or FRM family radios with 5 mile range?
    been waiting for someone to build hand held laser send and receives witha usb connector for computers running mesh netwroks. That would make some bandwidth fast!

    Geopilot
    www.globalboiling.com

  22. Re:Okay, seriously, someone explain the usefulness by Pink+Tinkletini · · Score: 5, Insightful

    You know how much it sucks to have to configure your phone's settings--not just time and date, but network preferences, calendaring options, notifications, and all the rest--on the phone itself? Now imagine firing up Safari and simply browsing to your phone's configuration page, where everything's explained in full sentences in a format human beings can read, not crammed into 1 square inch at 288 dpi, and where you don't have to press twenty nubby little buttons every time you want to change one setting.

    This could be one potential use for a webserver on your phone. Given the complexity of your typical cellphone, I'd be glad to configure it through an interface that sucks a little less.

  23. Why port Apache? by FooAtWFU · · Score: 2, Insightful

    I mean, why not just port Lighttpd? It's smaller!

    --
    The World Wide Web is dying. Soon, we shall have only the Internet.
  24. Actually, I've used a webserver on a phone before by FooAtWFU · · Score: 2, Interesting
    I've used a webserver on a phone before... it was actually more of a phone/PDA (Seimens SX66). It was for demonstration purposes- we had some stuff there running on the NetFront multimodal browser, and the pages were being served up using an IBM Java-based setup, WCTME (Websphere Client Technology Micro Edition).

    I don't believe it was running there on the final product, though. Which is good, since you'd have to invoke the Java service management framework manually and give it some time to start up before using it...

    --
    The World Wide Web is dying. Soon, we shall have only the Internet.
  25. Web applications. by Shazow · · Score: 4, Insightful

    With all the hype of rapid development frameworks (Ruby on Rails, TurboGears, etc) it's easier than ever to make web applications, for yourself or someone else. It's also damn easy to install them. Only problem? They require a web server.

    Having a webserver on your cellphone, even if it's only accessible to you, is extremely useful. You can build your own truly cross-platform applications without having to worry about crazy microjava doodie.

    In terms of power consumption, why would it have to be continuously active? It can have a "sleep" mode just like anything else on a cellphone does. It's not like your phone has a continuous open line to someone. When you finish talking to someone, it goes into a sleep mode and waits for the next call. A webserver could work the same way -- when you use it, it fires up. When you stop using it, it takes a nap. Both, you and your battery, are happy.

    I, for one, welcome our Cellphone-hosted website overlords.

    - shazow

  26. Re:Okay, seriously, someone explain the usefulness by glasn0st · · Score: 2, Interesting

    Well, what about doing a HTTP POST to send you a free text message instead of an expensive SMS message (provided you have flat rate GPRS or something like that). Or perhaps people at work could upload some files to you that you'll need.

    For a geek, it should be no problem to think of some cool applications. But I agree that it won't become mainstream fast. I don't even know if most cellphone operators provide real public IP addresses to cellphones. My operator, T-mobile, seems to, but I've never actually tried listening it on a TCP port and connecting to it from the net.

    --
    ( ^_^)/
  27. wherethehellismyphone.com by Council · · Score: 3, Interesting

    The first thing I would do is have the phone update to a page, wherethehellismyphone.com. I would have this constantly updated with rough GPS coordinates. I'm not sure what phones can tell you their rough GPS coords, though. But it could give you all sorts of useful information in case the phone is lost or stolen -- what it last saw, where it was last used, etc.

    I mention this because I recently picked up this laptop, and one of my first plans is to get a GPS card installed in it. I'll have it running something netstumbler-like, and if it's lost or stolen, it will do its best to log in and upload the GPS coords to wherethehellismylaptop.com. So, if my laptop is lost or stolen, and the thief leaves it turned on while passing through any open wifi or going online in any way, presto. I could have the site have a Google Maps thingy that shows me where it was most recently spotted and when.

    This doesn't even require the GPS card -- any information you can have the device update you with is useful. It could tell me what the person was last looking at, what pages they're frequenting, etc. Get their name from their MySpace page and have the police show up at their door. Letting mobile devices act as servers opens up a lot of these possibilities, including making them easy to use as James-Bond-type spy/bug gadgets and taking a big step in the direction of useful remote presence.

    Of course, wherethehellismylaptop.com would require a very secure login if you want any privacy, ever.

    --
    xkcd.com - a webcomic of mathematics, love, and language.
  28. Two acronyms. by Fizzl · · Score: 2, Informative

    3G, Wifi.

  29. Re:Webserver's Everywhere by neoform · · Score: 2, Funny

    Drive into a tunnel.. "hey, where'd the server go?"

    --
    MABASPLOOM!
  30. Re:Webserver's Everywhere by squiggleslash · · Score: 5, Insightful
    I think I understood what you were trying to say...

    Actually, we do have always-on cellphones when it comes to TCP/IP. Both of the major international standards, GSM and IS95 (well, ok, the latter isn't that major, but it's #2 so it gets a mention) have always-on TCP/IP packet data. GSM has GPRS and EDGE, and the 3G variant, UMTS, also has packet switching as a basic service.

    For the people rubbishing this, I have one thing to say: WTF is wrong with you people? Why do you short-sighted twits appear the moment anyone mentions a technology combination you've not thought of?

    This is just the implementation of a protocol. No, hosting your blog, let alone a major ecommerse site, on a cellphone is probably silly, but if you're looking at implementing some base services, especially for something like telemetry, HTTP is an obvious choice if you have the hardware on the remote end that supports it.

    HTTP is well supported in Java, .NET, Python, Perl, and a host of other languages, so the software that runs "back at the base" becomes far simpler to implement if you're going to be accessing information via HTTP, rather than convoluted customized protocols based upon UDP or SMS. What do you think's easier? A call to the HTTP library to fetch http://mobilstation7.intranet/cgi-bin/getcurrentte mperature.exe or custom formatting some UDP packet with a custom designed library and sending that?

    Is the objection that HTTP has too much overhead? A bare-bones, stripped down, Apache isn't that large, and look at what you're talking about running it on. A modern mobile phone typically has several megabytes of RAM and 8-16Mb of flash, plus bluetooth or USB interfaces. If it didn't, the camera on it wouldn't work.

    A mobile phone isn't a dumb handset, it's a moderately powerful computer that acts as a mobile terminal in a cellular network. You may use yours purely for voice applications. That doesn't mean the only application for this remarkable technology is voice driven. Telecommunications is a versatile instrument, and anything that makes certain types of application easier to implement is to be welcomed, not laughed at.

    --
    You are not alone. This is not normal. None of this is normal.
  31. Re:What is the purpose? by glesga_kiss · · Score: 2, Interesting
    Embedded webservers can have uses however. Many routers have web UIs that many readers will be familiar with, but the main difference is that they are not running Apache! There are better (more lightweight) embedded webservers out there.

    You could do a couple of useful things to this. It could provide a means to upload files or change configuration settings. A messaging interface could be useful, letting you use the phones inbox on a PC. With things like WiFi and bluetooth, there are possiblities.

    And as the parent poster says, running a webserver (etc) on a mobile/pda isn't all that new.

  32. Engineering monitoring applications by Reverberant · · Score: 4, Interesting
    But an actual web server?

    It could be great for engineers like me that deploy a lot of short-term and long-term measurement systems (noise/vibration/temperature/wind speed/etc) and want to make the data available in real-time to interested parties (e.g. a local community).

    Currently, the only way to disseminate this info is:

    • manually download the info every X days and stick it on a "real" webserver (time consuming, possibly impractical depending on location, weather, etc)
    • hook up a laptop with a cellmodem to the unit (expensive, power hungry), and
    • hook up a land line (very expensive).

    I would love to just be able to hook up a cellphone to the data logging unit, and just point people to www.city-noise-monitoring.org/site1. Yeah I know, niche application.

    The only issues I see:

    1. can I interface my unit to the phone using serial or bluetooth? and
    2. will the cell phone companies have a reasonable data-rate plan?

    I for one will be watching out for this.

  33. What's the point? by sotweed · · Score: 2, Interesting

    As many have pointed out, there are power and bandwidth issues around this idea. Not everything that CAN be done is worth doing. This seems like one that isn't worth doing. There was a tiny (less than 256 bytes of code, as I recall!) web server done at least 5 years ago on something like a PIC controller at U of Mass (?). So this doesn't seem very impressive.

    What's the advantage to having a web server where there's uncertain connectivity, limited resources generally, and high communication costs?

    More interesting would be a stationary web server and an interesting way of updating information on it from the mobile unit while conserving bandwidth and minimizing the effects of intermittent connectivity. So, perhaps I could clip the phone to my shirt pocket and have it send back to the server a photo every 5 minutes. (Of course, if noone ever visits the web site, a solution like this will use MORE power than the server on the phone, if noone ever connects to it...)

  34. Note to anti-Grammar Nazis by MyLongNickName · · Score: 4, Funny

    I feel it's nuts.

    If you think grammar is unimportant, just think what the absence of an apostrophe would do to the above sentence.

    --
    See my journal for slashdot ID's by year. Mine created in 2005. http://slashdot.org/journal/289875/slashdot-ids-by-year
  35. Exactly what I was thinking.. by itomato · · Score: 4, Informative
    Verizon's BroadbandAccess Package: $59.99 monthly access w/ 2-yr customer agreement and qualifying voice plan, two-year Customer Agreement, $25 activation fee per line.

    However,

    Unlimited NationalAccess/BroadbandAccess services cannot be used (1) for uploading, downloading or streaming of movies, music or games, (2) with server devices or with host computer applications, including, but not limited to, Web camera posts or broadcasts, automatic data feeds, Voice over IP (VoIP), automated machine-to-machine connections, or peer-to-peer (P2P) file sharing, or (3) as a substitute or backup for private lines or dedicated data connections.
    Which makes me ask, "In that case, why the hell would I want it?"
  36. I think we're missing the point. by Ungrounded+Lightning · · Score: 2, Insightful

    I suspect the point of putting a webserver on the phone is not to do the usual web-hosting stuff, but to provide a simple control interface for the phone from connected devices (or even the phone itself.)

    Active web pages provide a FANTASTICALLY easy way to construct elaborate user interfaces that are compatible with a wide variety of broswing hardware/software combinations.

    --
    Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
  37. Portable Filesharing by Nom+du+Keyboard · · Score: 2, Funny
    Just think of the possibilities of having a webserver in your pocket!

    Yeah. Put my whole filesharing website in my pocket and let the RIAA just try and catch me.

    --
    "It's the height of ridiculousness to say for those 9 lines you get hundreds of millions."