Slashdot Mirror


iPhone Can Now Run Apache, Python, Vim

An anonymous reader writes "After the first Hello World application, hacker NerveGas and the people at #iphone-shell have built Apache, Python and other Open Source apps for the iPhone using NightWatch's toolchain. Yes, your iPhone can now be a Web Server and do all sort of 1337 things. This also means that third-party applications for iPhone will happen no matter what. People, iPhone Doom could be just around the corner." It's fairly thin on information but if true, this will lead to good things. Like hopefully permission from apple.

23 of 312 comments (clear)

  1. And on the seventh day... by Anonymous Coward · · Score: 1, Insightful

    "This also means that third-party applications for iPhone will happen no matter what."

    Maybe, or it could mean that geeks aren't the target audience and only sanctioned apps will appear and be used by the iPhone masses.

  2. my thoughts by catwh0re · · Score: 3, Insightful
    I think the demand for a SDK caught apple by surprise (possibly because the iPod didn't have many people hollering for a SDK, and since it's easy to see the iPhone as an iPod + phone functionality I can see how this was given a low priority.)

    I do however believe that apple will now release a SDK for the iPhone (apple pretty much do anything the consumers want these days, even managed some drm music, something i thought would never come while the RIAA existed.)

    I also believe apple stated ajax/web apps as the SDK because they didn't want to give people any reason to think the iPhone was incomplete (and hence to put off the purchase.)

    1. Re:my thoughts by toleraen · · Score: 3, Insightful

      How could they be caught off guard? 90%+ of the operating systems in the smartphone/pda phone market have SDKs. They obviously did a little poking around in the market before deciding to make the thing...and if it really is based on OSX, it shouldn't have been terribly difficult to provide one.

    2. Re:my thoughts by Cpt_Kirks · · Score: 2, Insightful

      IIRC, Apple didn't release a SDK because AT&T is afraid of some buggy app crashing their network.

      Which is stupid. Did they REALLY think the iPhone wouldn't be hacked? Now they have no control over it.

    3. Re:my thoughts by dk90406 · · Score: 2, Insightful

      I am in two minds about this. I naturally would like the iPhone open and allow user developed content, but unfortunately Apple has not developed it as such. AFAIK all software on the platform runs as root; so I foresee a vast amount of abusive software/malware being developed. Imagine software calling 1-900 numbers from your phone without your knowing.

    4. Re:my thoughts by phoenix321 · · Score: 4, Insightful

      Apples claims of only wanting to "ensure the best possible user experience" by locking out SDK and user created software, they're no more credible than HP when they say the same about the chips and DMCA-spiked firmware in their ink cartridges.

      This is because foreign code may not only affect stability and "user experience" but the monopoly you have on that hardware. And reducing the monopoly means commodization of some sort and that's what Apple hates more than anything: fixed, exclusive, expensive 2-year contracts, secrecy around new products, higher-than-expected prices, strict limits on the user (changing the battery? a memory card?) - it's all oriented around their central marketing aim of being in THE special position among all hard- and software manufacturers.

      People are buying it, Apple is profitable like nothing and has a crowd of fans silencing all critics - it seems to work, I admit.

      I have quite some respect for their marketing and product strategy - they are doing everything right from a shareholder's perspective. (Stock inflation for unreal expectations is not that important)

      But don't make the mistake to consider Apple a corporation totally different from its arch rival Microsoft. They're following a different path, but their goal is comparable. If Apple's and MSFT's market shares were reversed, we had the same problems with Mac OS than we have with Windows right now, except their design and safety record wouldn't suck half as bad. But concerning anti-competitive maneuvers, vendor lock-in amd user restrictions, they'd be just the same.

    5. Re:my thoughts by David+Gould · · Score: 1, Insightful

      IIRC, Apple didn't release a SDK because AT&T is afraid of some buggy app crashing their network. If we interpret "some buggy app crashing their network" as PR-speak for "a 3rd-party VOIP app cutting into their profits", then we're probably getting closer to the truth. Speculation, of course, but my preferred theory on the lockdown is that AT&T demanded it and Apple didn't want to do it, but they caved.

      --
      David Gould
      main(i){putchar(340056100>>(i-1)*5&31|!!(i<6)<< 6)&&main(++i);}
  3. First Application . . by donaggie03 · · Score: 5, Insightful

    Instant Messaging!

    --
    Three days from now?? Thats tomorrow!! ~Peter Griffin
  4. s/permission/official blessing/ by ajlitt · · Score: 3, Insightful

    Since when do we ask permission to bend our gadgets to our will?

    1. Re:s/permission/official blessing/ by Klaidas · · Score: 5, Insightful

      When we still want to be able to use the warranty.

  5. No way Apple will go for it by JeremyGNJ · · Score: 5, Insightful

    I see voided warranties in people's futures! There's no way Apple (or AT&T for that matter) is going to give the "OK" on 3rd party applications. Apache web servers and python scripts? If people really wanted to try to get acceptance they would have started with a diet-calculator or bowling-score manager. Forget it now, I can see AT&T and Apply's lawyers scrambling for ways to avoid the maelstorm of hacks and scripts that could threaten their good name. Windows based phones have allowed 3rd part apps since their inception, but somehow it seems much less ominous. Perhaps because they're mostly used in corporate deployments, and pure geek-types?

  6. Jamie Zawinski said... by simong · · Score: 4, Insightful

    'Every program attempts to expand until it can read mail'. In that case every platform evolves until it can run Doom...

  7. Re:Erh what? by Culture20 · · Score: 2, Insightful

    A doom( prboom?) clone runs great on open embedded with ARM cpus, but the iPaqs I played it on actually had buttons and a four-way toggle key for movement. I think playing an action game on an iPhone might be a little more difficult. Now, Day of the Tentacle with Scummvm would be neat...

  8. First cool app for apache by Lumpy · · Score: 5, Insightful

    iphone webcam. See the world from someone's hip or side of their head.

    honestly though, how long before AT&T starts deactivating phone accounts for "data plan abuse" because people are actually using their data plan with these hacks and apps? they already try their hardest to scam their customers into buying the full data plan for their smartphone instead of the cheaper smartphone plan.

    I had a AT&T rep threaten me that if I dont change my plan he will have my service shut off.

    cingular and now AT&T pride themselves in the absolute crappiest customer service they can give. Threaten customers, scamming them into getting service plans they do not need (All I want is email, websurfing on a phone sucks and who cares about MTV videos on a phone)

    --
    Do not look at laser with remaining good eye.
    1. Re:First cool app for apache by Mattintosh · · Score: 3, Insightful

      a decent SMS plan

      I think we differ in what this part means.

      Your definition seems to be: "I send SMS messages frequently enough to use 100 to 150 of them a month. It doesn't bother me to pay extra money on my plan to get these."

      My definition is: "SMS messages are annoying and I've never sent one, though I have recieved a few of them. I don't want to pay for crap I know I won't use, especially overpriced crap. Cut them out of the plan and save me some $$$."

      See? Those of us complaining about the plan aren't unreasonable either, we just have different needs. Needs that aren't being catered to by AT&T. That's why there's so much bitching. One size does not fit all.

  9. permission? huh? by bombastinator · · Score: 2, Insightful

    reality check: "permission from apple"??

    Why after spending what was likely loads of time locking down the thing because they didn't want anyone messing with it would they suddenly change their minds because someone took a crowbar to the thing?

    I think from their point of view it's a bit like the roaches expecting you to lay out some cheese platters and stop spraying since they managed to get into your house anyway.

    I'm thinking they're going to see a fumigation tent a lot sooner than a bucket of veggie dip.

  10. Re:How about Applescript or Fscript? by wicks0r · · Score: 3, Insightful

    How about SSH?

    Might be time to bite the $600 bullet.

  11. Also design process by alexhmit01 · · Score: 3, Insightful

    Every analyst figured out that MP3-player Cel Phones were a threat to the iPod, obviously Apple knew that as well. The iPhone no doubt started simply as an iPod/Phone combo, and some basic Internet features probably evolved into the beautiful little device that you see now.

    There negotiations with Cingular/AT&T probably focused on getting iTunes activation, and AT&T focused on controlling the feature set.. The first phone I had with an AIM client was back in 2001, it's not a rare feature, but Apple probably yielded on iChat because AT&T was yielding on WiFi and didn't want people to avoid paying SMS fees.

    I think that Apple wanted to move product first, then aim for smartphone competition. If they move millions, then Apple, not AT&T, has the power in a renegotiation. Apple wanted to get the iPod-Phone out there and prove demand, then they can go after the pocket computer market.

  12. Re:Disappointing by phoenix321 · · Score: 4, Insightful

    Please don't confuse any "webserver" with a potentially full-blow apache. Answering GET requests by streaming out plaintext html files is accomplished by freshman's programming examples - having a real webserver is much much more.

    Given that the iPhone is running some variety of MacOS X, it's highly likely that we see the full potential of this thing unlocked pretty soon. Having a fairly standardized environment, a fairly powerful CPU and a sleek form factor is good.

    Being turing-complete isn't good enough for the real world of computing. Any PCL printer is, but do you see anyone here breaking out the champagne over that?

  13. Stereo bluetooth by gatzke · · Score: 1, Insightful

    Maybe someone will write drivers so the iPhone can do wireless stereo bluetooth like my Treo.
          http://www.softick.com/bluetooth-audio/

    Maybe someone will write drivers so you could use a bluetooth or IR keyboard.

    Maybe someone will write drivers so the iPhone can add some storage, like an SD card. May require soldering.

    Maybe someone will write drivers so you can change the battery. May also require soldering.

    Maddox loves his iPhone. http://www.thebestpageintheuniverse.net/c.cgi?u=ip hone

  14. Re:Disappointing by shoptroll · · Score: 2, Insightful

    With a 4 GB drive, couldn't this turn into a potential nightmare for the RIAA/MPAA? Even though the upload rate will be horrid, imagine a thousand micro-Pirate Bays running around in people's pockets...

    Ideally, bittorrent would be a much bigger nuisance though.

    --
    Insert Sig Here
  15. great! by oohshiny · · Score: 3, Insightful

    I can now run Apache on a phone that's more expensive than my desktop system, and void my warranty and likely have it bricked on the next sync.

    Folks, if you want to have iPhone-like features with a programmable device, invest your time and effort into helping with one of the actually open phone platforms, don't waste it on trying to battle with Apple's DRM. Apple doesn't want you to run apps on the iPhone, period.

    Of course, recompiling Apache requires so much less smarts than actually creating a nice phone app.

  16. Taco drank the Kool-Aid by jmorris42 · · Score: 2, Insightful

    > Since when do we ask permission to bend our gadgets to our will?

    Because the iPhone is from Apple and Cmdr Tack drank a full jug of the Kool-Aid. Seriously, replace Apple with ANY other entity and imagine seeing "It's fairly thin on information but if true, this will lead to good things. Like hopefully permission from _____." on the front page of Slashdot... written not just by an idiot editor like Zonk but by the Taco himself. If anyone didn't understand the power of the Steve Jobs Reality Distortion Field, here is your proof.

    Since when did we need permission to run software on our computers? The vendors have been throwing up technical and legal roadblocks since the Atari 2600 but that hasn't stopped very many people from doing it anyway. Yes the iPhone will be cracked and allowed to run any software. Just like the XBox was cracked and the XBox 360 will eventually be. Just like the PS3 will get the GPU opened up. Just like every TIVO gets more advanced 'protection' and gets opened up anyway. No, just because Steve doesn't like it we aren't going to say "Well, if Steve doesn't want it we will not even try. Might make him cry or something and we can't have that."

    --
    Democrat delenda est