4

What are the steps to use iPhone 3G internet tethering via USB on Ubuntu 10.04? Is there software I need to install on Ubuntu for this? The tethering works fine on Windows.

Gilles 'SO- stop being evil'
  • 807,993
  • 194
  • 1,674
  • 2,175
dsharma
  • 93
  • 1
  • 2
  • 4

2 Answers2

2

Follow this how-to: Getting iPhone Internet Tethering Working in Linux (No jailbreaking involved!)

iamsid
  • 2,484
  • 2
  • 22
  • 17
2

Diego Diagio created an iPhone kernel module called "ipheth".

It will be available in the kernel with version 2.6.34.

This module will register your phone as a network interface and you can simply use it with your dhcp-client or network manager.

Set up the Ubuntu Repository:

sudo add-apt-repository ppa:pmcenery/ppa
sudo apt-get update

Install the Kernel Module:

sudo apt-get install gvfs ipheth-utils

After that, enable tethering on your phone and connect it with your computer. Use dmesg to check if the device was recognized. Usually you will now have a new networking device, like /dev/ethX. Use it in your network manager or use dhclient, for example:

dhclient eth2

In addtion: My android phone registres as usb0, so it is dhclient usb0 to do the trick.

If you problems getting the repository to work, see the project page for further information.

Advantage: No jailbreaking and additional port binding / proxys are required

echox
  • 17,753
  • 7
  • 51
  • 56
  • i have no internet connection in my Ubuntu m/c, can i offline download and install ipheth-utils, if yes is there any dependency list for that – dsharma Nov 23 '10 at 12:18
  • 2
    @dsharma: Use Keryx Offline Package Manager: http://keryxproject.org/ – iamsid Nov 23 '10 at 12:26