[HOW-TO] Wirelessly Stream Music from your iPod Touch or iPhone in Ubuntu

Discussion in 'Linux' started by Totally 1337, Nov 28, 2008.

  1. Totally 1337

    Totally 1337 Active Member

    Joined:
    Mar 27, 2008
    Messages:
    3,966
    Likes Received:
    17
    Device:
    iPhone 4S (Black)
    This tutorial will tell you how to, well, READ THE TITLE!

    Please Register or Log in to view images



    Your iPod/iPhone

    • Must be jailbroken (so no 2G! Sorry guys!)
    • Must have open SSH installed
    Your Computer (Ubuntu)
    A third party source provides the ipod-convenience package needed to properly mount and unmount an iPhone or iPod Touch, and for gtkpod users, a newer gtkpod is required for the iPhone and iPod Touch.

    • Extra steps for versions pre-8.04:
    • Click SystemAdministrationSynaptic Package Manager. Once Synaptic starts, click SettingsRepositoriesThird Party Software. Click Add and use deb http://ppa.launchpad.net/ipod-touch/ubuntu gutsy main as the APT line. (this source should have a key file to avoid the prompt to install without authentication).
    • Click Reload


    1. Before installing newer packages, make sure to first uninstall libgpod.
    2. Install the ipod-convenience package, as well as either amarok or gtkpod (or both if you like). When asked, enter the IP address of your iPod Touch or iPhone that you selected earlier. When asked for a folder to mount your iPod Touch or iPhone, either leave the default of /media/ipod or another folder if you prefer - just remember to use that folder name for rest of this guide. The package will make the folder for you.
    3. Plug in your iPod Touch or iPhone via USB. This is REQUIRED when you run the next steps for the first time, as the USB connection is used to generate a hash required by the iTunes Database (if this fails to generate properly, see the troubleshooting section below). An added benefit is this also makes sure that your device won't turn the wifi into low power mode, breaking the transfer connection.
    4. When done, click ApplicationsAccessoriesTerminal. To mount your device, run:
      Code:
      $ iphone-mount
      or
      $ ipod-touch-mount
      When prompted, enter your iPhone or iPod Touch's root password - by default, alpine
    5. Unmount your device, by running:
      Code:
      $ iphone-umount
      or
      $ ipod-touch-umount

    Amarok


    1. Click ApplicationsSound and VideoAmarok
    When you first open up Amarok:

    1. Click SettingsConfigure Amarok.
    2. Choose Media Devices.
    3. Hit Add Device.
    4. Select Apple iPod Media Device for the plugin type.
    5. Point it at your mount point, the default being /media/ipod unless you chose another one when setting up ipod-convenience.
    6. Back in the main app, click the blue cog icon called Configure Device just above the iPhone or iPod Touch. For Pre-Connect Command, add iphone-mount (or ipod-touch-mount), for the Post-Disconnect Command, add iphone-umount (or ipod-touch-umount)
    7. In Devices, click Connect. After entering your password, your iPhone or iPod touch should now appear in Amarok.
    8. Once connected, click on the double arrows on the right hand side of the Connect, Disconnect, and Transfer buttons. A list of options opens up, one of which is iPod. Choose iPodSet iPod ModelMobile PhonesiPhone (or your specific iPod Touch model).

    gtkpod


    1. Check the version of gtkpod HelpAbout. If you are using version 0.99.10, your database will be corrupted upon writing to it. The solution is to get ahold of version 0.99.12+, either by compiling it from gtkpod.org, or by fetching the package from the Hardy universe repositories. Note that if you are running Hardy, you will most likely be using that 0.99.12 package. On a more comforting note, the database corruption from 0.99.10 can be fixed by rewriting it with 0.9.12.
    2. Click ApplicationsSound and Videogtkpod
    3. When you first open gtkpod you may receive some errors. Simply click OK to proceed. Your iPhone or iPod Touch should now appear in gtkpod. If it doesn't, you can manually add it's mount point in the options dialog.
    4. Right-click on the iPhone or iPod, and choose Edit iPod properties (or choose Edit > Edit repositories/iPod options) and change the iPod model to reflect your iPhone or iPod Touch.
    Simply add music to the iPhone or iPod Touch like you would any other iPod and Save Changes when done.



    Note: Every time you want to do this, you must manually mount it from terminal.
    There IS a way for passwordless access (no mounting it manually!), but I'm not sure it will work on 2.X


    ENJOY!!

    Please Register or Log in to view images

    Please Register or Log in to view images

    Please Register or Log in to view images




    Guide taken from help.ubuntu.com
  2. Teslanaut

    Teslanaut Well-Known Member

    Joined:
    Sep 16, 2007
    Messages:
    15,588
    Likes Received:
    177
    Device:
    4G iPod touch
  3. Totally 1337

    Totally 1337 Active Member

    Joined:
    Mar 27, 2008
    Messages:
    3,966
    Likes Received:
    17
    Device:
    iPhone 4S (Black)
    If you want to be cool, you'll do it MY WAY.

    Please Register or Log in to view images



    But yes, that is the simpler way.

    Please Register or Log in to view images

  4. Parm289

    Parm289 New Member

    Joined:
    Jan 21, 2008
    Messages:
    348
    Likes Received:
    6
    Device:
    iPod touch
    OR....

    ...just ssh into your ipod/phone and play the files directly from the MUSIC folder...
  5. Totally 1337

    Totally 1337 Active Member

    Joined:
    Mar 27, 2008
    Messages:
    3,966
    Likes Received:
    17
    Device:
    iPhone 4S (Black)
    have you ever done that? obviously not, because they dont have proper names or anything.

    go do it, and then we can talk.
  6. SkaterGOD/DOOD23

    SkaterGOD/DOOD23 New Member

    Joined:
    Dec 20, 2007
    Messages:
    686
    Likes Received:
    5
    Device:
    iPod touch
    Or you could attach headphones or speakers to the iPod Touch/iPhone audio jack like a smart person.

    Please Register or Log in to view images

  7. Totally 1337

    Totally 1337 Active Member

    Joined:
    Mar 27, 2008
    Messages:
    3,966
    Likes Received:
    17
    Device:
    iPhone 4S (Black)
  8. SkaterGOD/DOOD23

    SkaterGOD/DOOD23 New Member

    Joined:
    Dec 20, 2007
    Messages:
    686
    Likes Received:
    5
    Device:
    iPod touch
    Honestly, why would you ever need to stream when you have speakers/headphones?

    Streaming just kills your battery more, and if you hook it up, that defeats the purpose of streaming.
  9. Totally 1337

    Totally 1337 Active Member

    Joined:
    Mar 27, 2008
    Messages:
    3,966
    Likes Received:
    17
    Device:
    iPhone 4S (Black)
    Its a proof-of-concept type of thing.

    And it makes me feel good that I can do cool stuff like that.

    Now go away!

    Please Register or Log in to view images

  10. JohnnyAndroid

    JohnnyAndroid Active Member

    Joined:
    Sep 7, 2008
    Messages:
    1,174
    Likes Received:
    9
    Device:
    iPad 4
    Sorry to bump an old thread but this worked flawlessly. Great job man.

    Oh you can't wear your headphones in the shower(as a matter of fact you can't take your iPod anywhere near the shower). So I streamed from my iPod to my Intrepid while in the shower and I can listen to my awesome music!!

Share This Page