September 28, 2009 · General · Email This Post

Sponsored Link
If you want iphone/ipod touch in ubuntu easy way is using iFuse program.

iFuse allows you to mount an iPhone or iPod Touch under Linux using the USB cable. You can view and edit the files similar to a normal USB disk drive. iFuse does not require "jailbreaking" or voiding your warranty and works without needing extra software installed on the phone (such as `ssh`).

libiphone is a software library that talks the native Apple USB protocols that the iPhone uses. Unlike other projects, `libiphone` does not depends on using any existing `.dll` or `.so` libraries from Apple.

iFuse is a FUSE filesystem driver which uses `libiphone` to connect to devices without jailbreak. iFuse is using the native Apple "AFC" protocol, over the normal USB cable in order to access the iPhone's (or iPod Touch's) media files under Linux.

Once the iPhone is mounted, you can copy on, or copy off any media files that live inside the `/var/root/Media` chroot directory. This includes photographs and music files.
Install iFuse in Ubuntu

First you need to edit the /etc/apt/sources.list file

sudo gedit /etc/apt/sources.list

Add the following lines

For karmic Users

deb http://ppa.launchpad.net/jonabeck/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/jonabeck/ppa/ubuntu karmic main

For Jaunty Users

deb http://ppa.launchpad.net/jonabeck/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/jonabeck/ppa/ubuntu jaunty main

For Intrepid Users

deb http://ppa.launchpad.net/jonabeck/ppa/ubuntu intrepid main
deb-src http://ppa.launchpad.net/jonabeck/ppa/ubuntu intrepid main

For Hardy Users

deb http://ppa.launchpad.net/jonabeck/ppa/ubuntu hardy main
deb-src http://ppa.launchpad.net/jonabeck/ppa/ubuntu hardy main

Save and exit the file.

Now install gpg key using the following key

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com F0876AC9

Update source list using the following command

sudo apt-get update

Install ifuse using the following command

sudo apt-get install ifuse

Now you can plug in your ipod Touch or Iphone and it will appear in your desktop.

ipodifuse

Article source from here

Sponsored Link

Incoming search terms:

Related posts

117 Comments to “How to connect iPhone/iPod Touch (Using USB) in Karmic/Jaunty/Intrepid/Hardy”

  1. Ear3ndil says:

    Here a touch 2g with 3.1.2 firmware and Karmic… and don’t work, only seeing F-Spot DCIM

    [Reply]

  2. TJ says:

    3GS running jailbroken 3.1.2 and Karmic as well. Same result, F-Spot only.

    [Reply]

  3. deepbass says:

    I have 3.1.1 on a a 1G iTouch. Ubuntu studio, based off 8.04.
    The install seems to go fine, but all I can see in my file browser is “Mass Storage Drive” when I hook up the iTouch.
    Can not mount the drive.
    Ideas?

    [Reply]

  4. Same result here on Karmic – Although I had IFuse in the repository without either adding the repository. Trying to add the repository fails on retrieval of the key.

    [Reply]

  5. db says:

    Same problem for me, F-spot launches, but I get an error message that the iPod can’t mount. Anyone solve this issue?

    [Reply]

  6. Hi,

    Under Karmic AMD64, the automount scripts do not seem to work. But in 9.04, it worked like a charm.

    What I found out is that usbmuxd does not seem to start on start-up. And the hotplug does not seems to take any action when connecting the iphone.

    But I was able to connect the iphone manually like this:

    sudo usbmuxd
    sudo ifuse /media/iphone

    And to unmount
    sudo umount /media/iphone

    Also make sure that /media/iphone already exists.

    Too bad it does not work automatically, but while waiting, you can do what I do…

    Patrick

    [Reply]

  7. Eric says:

    Hi,has anyone managed to have it work with with 9.10 and ipod touch version 3.1.1??please help

    [Reply]

  8. Eric says:

    or even version 9.04 ubuntu?

    [Reply]

  9. Tony Colin says:

    Using a new iphone (3.1.2) and Karmic, I can connect just fine – thanks Patrick!

    Now then, how can I extract the contacts and calendar?

    [Reply]

  10. Al says:

    With new iPhone (3.1.2), Ubuntu 8.0.4 Hardy….nothing!

    The phone won’t get auto-mounted on startup either.

    I tried mounting it manually to “/media/iPhone” but to no avail.

    [Reply]

  11. FunkyM says:

    There is no more automounting with the latest release (0.9.4) as it has been removed.

    You need to manually mount as regular user:
    # mkdir -p /media/iphone && ifuse /media/iphone

    To unmount:
    # fusermount -u /media/iphone

    Infact, this is described in the README.

    Automounting will return using GVFS on GNOME desktops automatically as soon as the next GVFS release is packaged. For that, ifuse will no longer be needed.

    If you want to debug issues, try to install the iphone-utils package and run “iphoneinfo”.

    Report your issues to the official bugtracker please:
    http://libiphone.lighthouseapp.com/

    [Reply]

  12. gonzo22412 says:

    FunkyM your are the dude! Worked for me like a charm. ubuntu 9.10

    [Reply]

  13. keinohrhase says:

    But i cannot copy my music to the music folder. I want to copy my music to my ipod touch 2 g:( I use karmic koala

    [Reply]

  14. alex says:

    Installed ifuse
    Tried this
    # mkdir -p /media/iphone && ifuse /media/iphone

    still not work,9.10 and itouch 3.1.1

    no device found

    [Reply]

  15. rob says:

    i jsut tried to do this for an ipod touch 3g with os 3.1.2 and it is jailbroken but when i run the comand to moutn it ifuse /media/ipod i get this error

    ifuse: symbol lookup error: ifuse: undefined symbol: iphone_device_new

    any help on this woudl be great so i can stop having to need windows again

    [Reply]

  16. r4i card says:

    You give us very nice detail regarding how to connect over i-pod or i-phone with Via Usb this is very useful thing for thanks for this link.

    [Reply]

  17. KinG says:

    Finally got it work

    First Connect ur IPHONE/ IPOS TOUCH

    first try:

    sudo mkdir -p /media/iphone && ifuse /media/iphone

    Failed to connect to lockdownd service on the device.
    Try again. If it still fails try rebooting your device.

    solved by:
    I removed the lock in ipod touch so i could see the Home Screen (i am using 3.0)

    second try:
    sudo mkdir -p /media/iphone && ifuse /media/iphone

    fusermount: failed to open /etc/fuse.conf: Permission denied
    fusermount: user has no write access to mountpoint /media/iphone

    solved by:
    sudo chmod a+w /media/iphone

    third try:

    sudo mkdir -p /media/iphone && ifuse /media/iphone

    fusermount: failed to open /etc/fuse.conf: Permission denied
    fusermount: option allow_other only allowed if ‘user_allow_other’ is set in /etc/fuse.conf

    solved by:
    sudo chmod a+rwx /etc/fuse.conf
    #and!
    # insert in fuse.conf user_allow_other by
    sudo gedit /etc/fuse.conf

    fourth try:
    sudo mkdir -p /media/iphone && ifuse /media/iphone

    IT WORKS!!! a new Folder named Iphone is shown in the Folder Browser

    [Reply]

  18. Stefano says:

    I installed iFuse via the Ubunt Repository, when I plug my iPod Touch it is seen as a photo camera. But then:

    sudo mkdir -p /media/iphone && ifuse /media/iphone
    fuse: missing mountpoint

    What should I do?

    [Reply]

  19. Pelle says:

    Works well enough with my iPhone 3GS (3.1.2), but other than importing/exporting photos taken with the webcam, i can’t do a damn thing LOL.
    The ability to add/remove mp3′s/movies to the ipod.app would be awsome. I would also like to add pictures to the photos.app.
    However, that’s not ifuse’s fault, i know. Until then i’ll continue using the files.app from the appstore (there’s a free “files lite”, as well as “air sharing” and some other apps that enable you to transfer files using wifi, with a custom interface to view them on the iphone).

    [Reply]

  20. treylano says:

    I did all that KinG said but cant figure out the last part where i insert user_allow_other into fuse.conf because when i look there that is already there though i still get the error it says that is supposed to fix

    [Reply]

  21. KinG says:

    there should be a “#” in front user_allow_other you have to remove the “#”

    [Reply]

  22. Cash says:

    Hi KinG,
    I tried your ways, seems like i am near to it, but I followed your way till the forth tries, it comes out to give me this:
    cash@ubuntu:~$ sudo chmod a+rwx /etc/fuse.conf
    cash@ubuntu:~$ sudo mkdir -p /media/iphone && ifuse /media/iphone
    fusermount: option allow_other only allowed if ‘user_allow_other’ is set in /etc/fuse.conf

    What should I do next? please advice, thank you.

    [Reply]

  23. KinG says:

    like the error is tellin u have to set “user allow other” in /etc/fuse.conf

    to do that u have use these command:

    sudo gedit /etc/fuse.conf

    and in that editor that opens u have to insert following line (dont forget to save):

    user allow other

    My fuse.conf looks like these:

    # Set the maximum number of FUSE mounts allowed to non-root users.
    # The default is 1000.
    #
    #mount_max = 1000

    # Allow non-root users to specify the ‘allow_other’ or ‘allow_root’
    # mount options.
    #
    user_allow_other

    [Reply]

  24. Pelle says:

    You can use sudo, instead of configuring “unprivileged user access”. Just install ifuse, then;

    sudo mkdir -p /media/iphone
    sudo ifuse /media/iphone

    [Reply]

  25. Cash says:

    I did followed the instructions, and when write it is this way:

    cash@ubuntu:~$ sudo mkdir -p /media/iphone
    mkdir: cannot create directory `/media/iphone’: File exists
    cash@ubuntu:~$ sudo ifuse /media/iphone
    There was an error accessing the mount point: Input/output error

    and KinG, I tried the ways u mentioned, but I still can’t get access to iFuse.

    [Reply]

  26. Adam Kane says:

    You need to use sudo. That should be obvious. Not sure why it wasn’t included in the instructions.

    sudo mkdir -p /media/iphone
    sudo ifuse /media/iphone

    [Reply]

  27. Eric says:

    After a long search and many wasted hours, I ended up installing a dual boot.Windows to manage my ipod and Ubuntu for my normal use…there is no sure way of getting the new Ipod touch or the Iphone 3gs to connect!!!!!

    [Reply]

  28. lynn says:

    I’m using Ububtu 9.10 and a new iPhone 3.1.1.
    IPhone mounts and will transfer pictures in both directions.
    But, no contact or calendar info follows.

    [Reply]

  29. 2xxilill says:

    KinG saves the day!
    ipod touch 3.1.1 with karmic
    works well

    all the best

    [Reply]

  30. Juan says:

    It worked with me! thanks KinG! now I’m able to transfer the music & pics to the ipod but my ipod doesn’t not recognized them. Gtkpod doesn’t not work either: the error says: ‘couldn’t find the ipod firewire ID’ any ideas

    note:I’ve an ipod touch 3th generation 32g

    [Reply]

Leave a Reply