Ubuntu 10.10 and iPhone tethering [SOLVED & UPDATED]

 

Yesterday I've installed Ubuntu 10.10 on my laptop, naturally I installed also the tethering support:

Before the installation I had the following configuration

gigi@piccoletto:~$ lsusb 

Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 003 Device 002: ID 03f0:171d Hewlett-Packard Wireless (Bluetooth + WLAN) Interface [Integrated Module]

Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 001 Device 003: ID 04f2:b083 Chicony Electronics Co., Ltd 

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

gigi@piccoletto:~$ lsusb 

Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 003 Device 002: ID 03f0:171d Hewlett-Packard Wireless (Bluetooth + WLAN) Interface [Integrated Module]

Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 002 Device 002: ID 05ac:1294 Apple, Inc. iPhone 3GS

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 001 Device 003: ID 04f2:b083 Chicony Electronics Co., Ltd 

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

gigi@piccoletto:~$ 


gigi@piccoletto:~$ ifconfig 

eth0      Link encap:Ethernet  HWaddr 00:11:22:33:44:55  

          UP BROADCAST MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000 

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

          Interrupt:17 


lo        Link encap:Local Loopback  

          inet addr:127.0.0.1  Mask:255.0.0.0

          inet6 addr: ::1/128 Scope:Host

          UP LOOPBACK RUNNING  MTU:16436  Metric:1

          RX packets:136 errors:0 dropped:0 overruns:0 frame:0

          TX packets:136 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0 

          RX bytes:10656 (10.6 KB)  TX bytes:10656 (10.6 KB)


wlan0     Link encap:Ethernet  HWaddr 00:11:22:33:44:55  

          inet addr:192.168.1.3  Bcast:192.168.1.255  Mask:255.255.255.0

          inet6 addr: fe80::221:6bff:fe9f:534/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:10 errors:0 dropped:0 overruns:0 frame:0

          TX packets:42 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000 

          RX bytes:1474 (1.4 KB)  TX bytes:8544 (8.5 KB)


gigi@piccoletto:~$ 


Then I plugged the iPhone 3Gs


 

 

 

gigi@piccoletto:~$ dmesg

[  197.052213] usb 2-1: new high speed USB device using ehci_hcd and address 2

[  197.758413] ipheth 2-1:4.2: Apple iPhone USB Ethernet device attached

[  197.758782] usbcore: registered new interface driver ipheth

gigi@piccoletto:~$ 


 

 

First you need to add the repository for the drivers:

gigi@piccoletto:~$ sudo add-apt-repository ppa:pmcenery/ppa

[sudo] password for gigi

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv 3AE22276BF4F39C8D6117D7F4EA3A911D48B8E25

gpg: requesting key D48B8E25 from hkp server keyserver.ubuntu.com

gpg: key D48B8E25: public key "Launchpad PPA for Paul McEnery" imported

gpg: Total number processed: 1

gpg:               imported: 1  (RSA: 1)


Then you need to make un update

gigi@piccoletto:~$ sudo apt-get update

 

Last, install the drivers

gigi@piccoletto:~$ sudo apt-get install gvfs ipheth-dkms ipheth-utils


Finally reboot your PC, login then connect your iPhone and the tethering will work


As you can see from the following lines all is working fine:

gigi@piccoletto:~$ lsusb 

Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 002 Device 003: ID 05ac:1294 Apple, Inc. iPhone 3GS

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 001 Device 002: ID 04f2:b083 Chicony Electronics Co., Ltd 

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub



gigi@piccoletto:~$ ifconfig 

eth0      Link encap:Ethernet  HWaddr 00:11:22:33:44:55 

          UP BROADCAST MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000 

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

          Interrupt:17 


eth1      Link encap:Ethernet  HWaddr 00:11:22:33:44:55 

          inet addr:172.10.20.2  Bcast:172.10.20.15  Mask:255.255.255.240

          inet6 addr: fe80::ea06:88ff:fe5e:5734/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:31 errors:0 dropped:0 overruns:0 frame:0

          TX packets:48 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000 

          RX bytes:5013 (5.0 KB)  TX bytes:8260 (8.2 KB)


lo        Link encap:Local Loopback  

          inet addr:127.0.0.1  Mask:255.0.0.0

          inet6 addr: ::1/128 Scope:Host

          UP LOOPBACK RUNNING  MTU:16436  Metric:1

          RX packets:12 errors:0 dropped:0 overruns:0 frame:0

          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0 

          RX bytes:720 (720.0 B)  TX bytes:720 (720.0 B)


wlan0     Link encap:Ethernet  HWaddr 00:11:22:33:44:55

 

          inet6 addr: fe80::221:6bff:fe9f:534/64 Scope:Link

          UP BROADCAST MULTICAST  MTU:1500  Metric:1

          RX packets:1173 errors:0 dropped:0 overruns:0 frame:0

          TX packets:1294 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000 

          RX bytes:1143516 (1.1 MB)  TX bytes:200219 (200.2 KB)


gigi@piccoletto:~$ dmesg

[  288.952697] usb 2-2: new high speed USB device using ehci_hcd and address 3

[  289.513517] ipheth 2-2:4.2: Apple iPhone USB Ethernet device attached

[  301.244145] eth1: no IPv6 routers present

gigi@piccoletto:~$ 

 

Addenda:

If your system comes from an upgrade run the follwoing command:

 

 #  sudo apt-get remove gvfs ipheth-dkms ipheth-utils

 #  sudo apt-get install gvfs ipheth-dkms ipheth-utils

reboot your system, and again the tethering will work.

If you found useful this article, please share it using the social buttons below. Thank you in advance,

Gg1

You may also like...

12 Responses

  1. admin says:

    Note that someone is having problems  after the update of Ubuntu 10.10. It seems this is a known problem, refer to:

    http://ubuntuforums.org/showthread.php?p=9974324

  2. Jaro says:

    works 🙂

  3. Tijs says:

    Works also great with Samsung Galaxy S 😀

  4. admin says:

    Thank you very much for this info. Dose the galaxy use the ipheth driver? If so, which version of the driver does it use with the original operating system?

  5. Raymond says:

    Thanks 🙂 its working fine. Nice job btw

  6. Julien says:

    Thanks very much for that post! I had everything but ipheth-dkms, so I installed it and it solved my problem.

  7. Michael says:

    It worked! And I hardly know anything about Linux and almost never use the command line, so thanks for making it so easy.

  8. Iain says:

    Thanks for the info …… This also works on Linux Mint 10 with no trouble at all 🙂

  9. Bent says:

    Worked great, thanks!

  1. October 26, 2010

    […] Please refer to art Ubuntu 10.10 and iPhone tethering [SOLVED & UPDATED] […]

  2. October 27, 2010

    […] : http://www.xappsoftware.com/wordpress/2010/10/26/ubuntu-10-10-and-iphone-tethering-solved-updated/ Cette entrée a été publiée dans Tutos, avec comme mot(s)-clef(s) iphone, ubuntu. Vous pouvez […]

  3. March 1, 2012

Leave a Reply

Your email address will not be published. Required fields are marked *