Reference:
- Ubuntu 11.04
- iPhone 3GS with iOS 4.3
The following steps can be used to enable tethering between a platform running Ubuntu 11.04 and an iPhone. At a high level:
- Enable tethering on iPhone
- Install repository from Paul McEnery
- Install necessary packages
- Connect
Enable Tethering on iPhone
The use of iPhone tethering might be governed by your wireless plan. If data tethering is allowed, one should be able to turn it on using the “Settings” application.
In the “Settings” application, choose “Personal Hotspot” from the menu, and enable it by pushing the switch to “on”.
If one can not accomplish this step, the remainder steps from this article will be in vain.
Install repository from Paul McEnery
Adding package “python-software-properties” provides the command “add-apt-repository”. This command is then used to make it really easy to add a repository from PPA.
sudo apt-get install python-software-properties sudo add-apt-repository ppa:pmcenery/ppa
Install necessary packages
Once the repository is installed, installing the packages is straight forward:
sudo apt-get update sudo apt-get install gvfs ipheth-dkms ipheth-utils
During the configuration of those packages, a kernel module must be built. In the case that the kernel headers are not installed, the following error message is printed on the screen:
Module build for the currently running kernel was skipped since the kernel source for this kernel does not seem to be installed.
In this case, the proper headers must be installed. To find out which headers are required:
uname -r
Then, install the headers using the following command. Ensure that you replace the proper version according to what was returned previously.
sudo apt-get install linux-headers-2.6.38-8-generic-pae
When this command completes, the iPhone module should be built. If not, then the system can be prompted to rebuild the kernel module:
sudo dpkg-reconfigure ipheth-dkms
Connect
Connect the iPhone to the platform using a USB cable. When the USB device is detected, an Ethernet should be established automatically.
Fonte: http://www.bitsbythepound.com/tethering-iphone-on-ubuntu-11-04-397.html
0sem comentários ainda