Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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.

share|improve this question
    
How about tethering via Bluetooth? Would that be fine? –  iamsid Nov 23 '10 at 10:27
    
The bluetooth is not working properly in iphone, it is not detecting any device, its a bug in iphone. –  dsharma Nov 23 '10 at 10:34
    
You need to jailbreak your iPhone first. This will void your warranty. –  iamsid Nov 23 '10 at 10:54
2  
@iamsid this is incorrect, you don't have to jailbreak your phone, theres a kernel driver for this! –  echox Nov 23 '10 at 11:22
1  
@echox: +1. Yes, this is wrong. :) Jeez, my bad, I just found out about libimobiledevice and the iPhone Ethernet driver for Linux. :) –  iamsid Nov 23 '10 at 11:33
show 1 more comment

2 Answers

up vote 2 down vote accepted

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

share|improve this answer
add comment

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

share|improve this answer
    
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: keryxproject.org –  iamsid Nov 23 '10 at 12:26
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.