James Emmrich

09 Apr, 2010

Tethering with the iPhone 3Gs on Ubuntu Karmic Koala 9.10

Posted by: James In: Cellphone|Linux|ProTip

Ok, this seemed to be a headache for a good hour. Under Windows it was easy easy easy. It seems to be an issue with pairing and Internet Tethering being off and turned on without the iPhone being restarted and how Ubuntu handles the pairing over this transition.

Most notable issue is that Network Manager will just fail to connect to the bluetooth access point immediately. If you install blueman, a great bluetooth manager, you will get the message “Connection refused (111)” or something similar which is a little more helpful, but not quite. To fix this, follow these steps.

  1. Turn on tethering, on your iPhone click Settings > General > Network and turn on Internet Tethering. Tethering seems to be turned off by default on the iPhone.
  2. Make sure that you delete all pairing with your iPhone in the bluetooth-manager (right click and go to preferences)
  3. In your iPhone, go to Settings > General > Bluetooth, slide the computer paired connection, to the left and “Forget this Device”
  4. Hold down the power button and restart your iPhone
  5. In Ubuntu, right click bluetooth-manager and go to Preferences
  6. Set your friendly name and then click Set up new Device…
  7. On your iPhone enter the passcode on your laptop
  8. Success on pairing!
  9. On the computer make sure to check the option to use this as a network connection.
  10. Test: Turn off your Wifi on the computer, and click the Network Manager icon, you should see 23:AF:45:BE:12:FA PANU or something similar. Click to connect.

Important notes:

Wifi Issues

Bluetooth does not seem to work well with Wii connections that are active. I tend to get my bluetooth connections dropping out or just plain will not connect. So make sure if you are having problems at all, turn Wifi to remove one more variable from problem.

Cellular Provider

I am with Telus Mobility and they offer the ability to tether on all their smartphone/data plans.


Tweet This

2 Responses to "Tethering with the iPhone 3Gs on Ubuntu Karmic Koala 9.10"

1 | simon

April 27th, 2010 at 4:15 am

Avatar

I don’t know why, but I still can’t get it to use the tethered connection for internet access.

I have paired, trusted and connected, enabled tethering and told blueman to use the device as a network access point and even though it says success and connects, and the iphone says it’s tethered, it still does not have a net connection.

Is something meant to appear in Network Connections? Because no new connections appear there. (I would expect them to)

Anything else I can do?

2 | James

April 27th, 2010 at 10:27 pm

Avatar

Simon, in the network manager, you will see something like this:
Available:
23:AF:45:BE:12:FA PANU

All you have to do is disconnect from any WiFi network. Make sure bluetooth is on in the iphone and on your laptop. Then click on the PANU connection in the network manager. Make sure that it is your computer initiating the bluetooth connection to the iphone.

If you are connected to a wifi connection it will always (at least for now) fail to connect.

It should spin for a couple seconds and connect.

I used blueman as a debug program to find a better error message, and then after a successful connection, removed it as the stock bluetooth application works well. Do you have any errors? Maybe your ip settings need to be updated? You will want to use a dynamic ip address for the connection.

Let us know if this helps

Comment Form

Categories

Upcoming Events

  • Sat, Sep 11 – Sun, Sep 12:CMRC Ontario ATV - Eagles Nest
  • Sat, Sep 11 – Sun, Sep 12:WEC Enduro National Championships - Parry Sound, Ontario
  • Sat, Sep 11 – Sun, Sep 12:CMRC South Western Ontario - Walton Vet National
  • Sat, Sep 18 – Sun, Sep 19:WEC Enduro National Championships - Labelle, Quebec
  • Sun, Sep 19:CMRC South Western Ontario - Port Perry Fall Series
  • Sat, Sep 25 – Sun, Sep 26:CMRC Ontario ATV - Grand Bend
  • Sun, Sep 26 – Mon, Sep 27:MXdN Thunder Valley Motocross Park
  • Sun, Sep 26:CMRC Ontario Cross Country Series - Gopher Dunes
  • Sun, Sep 26:CMRC South Western Ontario - RJ Motosport Fall Series
  • Sun, Oct 3:CMRC South Western Ontario - Walton Practice