How To: iPhone Tethering on Ubuntu 9.10 via USB
Yesterday, I posted a tutorial on
how to tether your iPhone on Ubuntu 9.10 using Bluetooth, and now I have another tutorial to tether iPhone using USB on Ubuntu Linux.
In this tutorial, we’ll be using an iPhone Ethernet driver written by Diego Giagio and several packages from Jonathan Beck’s PPA.
iPhone Tethering on Ubuntu 9.10 Using USB
First step is to add the PPA repository to your Synaptic repositories. Go to Terminal and run the following commands:
sudo add-apt-repository ppa:jonabeck/ppa
sudo apt-get update
sudo apt-get install automake autoconf libtool libusb-dev libfuse-dev libglib2.0-dev libxml2-dev libreadline5-dev libusbmux-dev libplist-dev libplist++-dev libplist++1 git-core build-essential libgnutls-dev python2.6-dev
After it finishes, you will have a few more things needed to get it working correctly. Both of these are downloaded via GIT repositories that require you to manually compile them. The first we will download is libiphone from Matt Colyer’s GIT repository. In your terminal window execute:
git clone git://github.com/MattColyer/libiphone.git
It should download and un-zip it in whatever folder you are in. Type in:
cd libiphone
and hopefully you will be moved into it’s directory. Next, you will need to compile the libraries so that the iPhone ethernet driver can access it. To do so execute:
./autogen.sh
followed by
sudo make install
If all goes well, you will get no errors and be back at the command prompt. Exit the directory:
cd ..
and download the iPhone Ethernet driver from it’s GIT repository:
git clone git://github.com/dgiagio/ipheth.git
now, we will need to enter into directory as well as the first directory we’ll work in:
cd ipheth/ipheth-pair
Once there you can excute:
make
followed by
sudo make install
If all goes well you should be at a command prompt again without errors. Now navigate to the last directory needed by executing:
cd ..
cd ipheth-driver
Once there you can execute the final compiling commands:
make
followed by
sudo make install
Hopefully you got no errors and are back to the command prompt.
Now, you can execute the driver:
sudo insmod ipheth.ko
Now plug in your iPhone with the USB cable to check if Internet is now working. If not, double check if tethering is enable on your phone from: Settings > General > Network > Internet Tethering and turn it on.
Also See: iPhone Tethering on Ubuntu 9.10 via Bluetooth
[Via
Ubuntu Geek]
Post from:
Sizzled Core
How To: iPhone Tethering on Ubuntu 9.10 via USB