Home > iphone, linux > How to tether iphone on Ubuntu via USB

How to tether iphone on Ubuntu via USB

First you must have tethering enabled in the iPhone, either via your carrier, or via a 3rd party app such as MyWi.

Simply add the corresponding PPA repository, either via your prefered GUI or with the command:

sudo apt-add-repository ppa:pmcenery/ppa

The update your sources with your GUI or with:

sudo apt-get update

And the install ipheth-utils via Syaptic, or with the command:

sudo apt-get install ipheth-utils

Ready, next time you connect your iPhone, Ubuntu Lucid will automatically connect.

SocialTwist Tell-a-Friend
Categories: iphone, linux Tags: , , ,
  1. shrewd
    July 24th, 2010 at 13:35 | #1

    haha, magic, 3 lines and internet works.
    thx

  2. Mark
    July 29th, 2010 at 21:57 | #2

    I have followed these steps, but Ubuntu Lucid is not connecting for me. It does not show the iPhone as eth1. I have an iPhone 4. Is it supported in Lucid?

  3. July 30th, 2010 at 09:12 | #3

    @Mark
    I don’t have an iPhone 4 nor info about it, so I can’t tell. Sorry.

  4. July 30th, 2010 at 09:42 | #4

    @mark

    Did you enable tethering in settings/general/network on your iphone,

  5. ronline
    August 11th, 2010 at 11:35 | #5

    Works like a charm out of the box, excellent work guys .

  6. Anthony
    August 17th, 2010 at 17:40 | #6

    Wow, that was too easy. Thank you!!!

  7. me
    August 20th, 2010 at 12:09 | #7

    Hi,
    does this work on Ubuntu 9.10 too?
    Thanks

  8. Altplusf
    August 21st, 2010 at 16:28 | #8

    Awesome stufff…. Works really well.. Thnks alot!!!!!

  9. Thomas Chu
    September 1st, 2010 at 13:37 | #9

    Yes, good job!
    It works well.

  10. joshua
    September 8th, 2010 at 22:20 | #10

    Is not working for me ran lines in terminal twice and it says evry thing is installed but my Iphone dont show up at all, do yo have to configur networ connections or anyhting else Proxy?

    Ubuntu 10.4
    Iphone 4 4.0.2

  11. Tottish
    October 6th, 2010 at 04:34 | #11

    Hey!
    I’m in a sad situation where the iPhone happen to be my only connection to the internet. Is there any way to download the ipeth and update from another computer (or boot) and insert it into ubuntu?

    Thanks!
    /Tottish

  12. October 11th, 2010 at 20:51 | #12

    @Tottish
    yes, you can download the indibidual .deb files from launchpad, then install them with dpkg

    Look for them here https://launchpad.net/~pmcenery/+archive/ppa

    If it requires some additional packages you can download them too from ubuntu

  13. October 19th, 2010 at 04:27 | #13

    When I used 10.04 this worked perfect, but upgrading to Ubuntu Netbook 10.10 the thetering doesnt work anymore..
    Please help me

  14. October 19th, 2010 at 11:00 | #14

    @John
    ipheth is already in the Maverick repos, simply install it from the ubuntu repos and it will work.

  15. October 20th, 2010 at 03:49 | #15

    @mexlinux
    I ran the commands in Terminal and can see iphath is installed, PPA for Paul McEnery is all there… but no tethering.
    I will try to run the commands again.. se if I made a mistake or something.. (I’ll edit the comment if it’s being solved)

  16. r0l3x
    November 17th, 2010 at 21:00 | #16

    Awesome – 3 lines and it works. Using iphone 4 (4.1) and Ubuntu 10.04.

    Cheers!

  17. Laser_Blader
    December 12th, 2010 at 07:26 | #17

    Hello. this worked like a charm in ubuntu, but then i installed Xubuntu 10.10 on my netbook.
    and now i just wont work… i have tried uninstalling ipeth-utils and installing it again, but nothing helps. Anyone knows why it doesent work in xubuntu?

  18. alonso
    January 15th, 2011 at 23:34 | #18

    it works. than u verry much

  19. Mental_Mouse
    January 24th, 2011 at 20:30 | #19

    How about the other way? Is is possible to make the iPhone use my computer’s Internet connection, via USB? (I don’t have WiFi at home!)

  20. moises
    February 23rd, 2011 at 04:26 | #20

    How is it working? I see many people having problems with this and not solved.

    wwan0 is down, if I try ifup wwan0 it says
    Ignoring unknown interface wwan0=wwan0.

  21. Kecy
    July 11th, 2011 at 05:39 | #21

    Awesome! Had been searching for days. Thank you so much.

  22. Tomas
    September 1st, 2011 at 09:49 | #22

    It isnt working, iPod dosent mount. I have ubuntu 10.04 and firmware 4.0.2 please help me.

  23. Shay-Li
    September 29th, 2011 at 10:20 | #23

    hello
    the 1st one worked, i had to do the 2nt one twice, ant the 3rd one doesnt work for me:

    iddo@iddo-desktop:~$ sudo apt-get install ipheth-utils
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    The following extra packages will be installed:
    ipheth-dkms libimobiledevice1
    The following NEW packages will be installed:
    ipheth-dkms ipheth-utils libimobiledevice1
    0 upgraded, 3 newly installed, 0 to remove and 9 not upgraded.
    Need to get 57.3kB of archives.
    After this operation, 287kB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Abort.

    why does it abort when i type y?
    thank you

  24. keri
    November 2nd, 2011 at 19:42 | #24

    @bhuthogg
    I can not get my iphone to work with my Ubuntu 10.04 rhythmbox. I went to setting….general….network….. then what. I need to get this working… plz help me

  25. keri
    November 2nd, 2011 at 19:43 | #25

    @Shay-Li
    this is what mine says and i can’t get anywhere….

    keri@dell-desktop:~$ sudo apt-get install ipheth-utils
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    E: Couldn’t find package ipheth-utils

  26. Alexi
    January 10th, 2012 at 02:56 | #26

    Well, that’s happy. Now if only my hour of googling via phone would have turned up how to accomplish this same thing with android, or the apparently non-existant command for giving me the mac addresses of my usb hardware.

  27. Sascha
    July 8th, 2012 at 14:33 | #27

    Works wonderful under Ubuntu 12.04 32-bit with iPhone 3g.

  28. matcouto
    July 12th, 2012 at 15:08 | #28

    I did exactly as you said but I’m still getting the message(Unable to mount iPhone of User) when plugging my iphone4(iOS 5.1.1) in.
    Complete message was:
    Unable to mount iPhone of User
    DBus error org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)

    This is my dmesg
    :~$ dmesg |grep usbcore
    [ 1.878557] usbcore: registered new interface driver usbfs
    [ 1.878557] usbcore: registered new interface driver hub
    [ 1.878557] usbcore: registered new device driver usb
    [ 2.973289] usbcore: registered new interface driver libusual
    [ 4.057379] usbcore: registered new interface driver usbhid
    [ 93.316201] usbcore: registered new interface driver ipheth

    :~$ dmesg |grep ipheth
    [ 93.316095] ipheth: ipheth_get_macaddr: usb_control_msg: -110
    [ 93.316110] ipheth: probe of 1-3:4.2 failed with error -110
    [ 93.316201] usbcore: registered new interface driver ipheth

    Any idea on how to fix it?
    Thanks in advance

  1. November 20th, 2010 at 08:01 | #1