iPhone Tethering for Ubuntu

I recently bought myself an iPhone 3Gs 16GB (what the **** with the stupid “s”?!) because i bricked my old 2G one

broken iPhone 2G

Veeeery happy with my 3Gs until I wanted to do some tethering with my ubuntu 9.04.. After some hours of searching, I’ve founded a sollution and writed a script for it.

First things first. Follow these steps before you can continue.

1. Install the bluez-compat package.

sudo apt-get install bluez-compat

2. Edit /etc/default/bluetooth to add the following lines:

PAND_ENABLED=1
PAND_OPTIONS="--role=PANU"

3. Restart the Bluetooth service:

sudo /etc/init.d/bluetooth restart

4. Add the BNEP network adapter to the /etc/network/interfaces file by appending the following line

iface bnep0 inet dhcp

5. Get the Bluetooth address of your phone by running hcitool scan and jotting down the address next to your phone’s name.

source:http://xn--9bi.net/2009/06/17/tethering-iphone-3-0-to-ubuntu-9-04/

download my script

and run it ;)

UPDATE: This is only a workaround for Ubuntu users using version 9.04 . Ubuntu 9.10 support (almost) Iphone thetering out of the box. Post is coming soon (or search for “ubuntu iphone tethering blueman” in google ;) )

UPDATE2: Download link is working now ;)

  • Install the bluez-compat package.
  • Edit /etc/default/bluetooth to add the following lines:
    1.PAND_ENABLED=1
    2.PAND_OPTIONS="--role=PANU"

  • Restart the Bluetooth service: /etc/init.d/bluetooth restart
  • Add the BNEP network adapter to the /etc/network/interfaces file by appending the following line: iface bnep0 inet dhcp
  • Get the Bluetooth address of your phone by running hcitool scan and jotting down the address next to your phone’s name.
  • subutux

    subutux wrote 34 posts

    Post navigation


    Leave a Reply