Page 1 of 4 123 ... LastLast
Results 1 to 10 of 34

Thread: Ubuntu iPhone 3.0 Bluetooth Tethering with uit.sh

  1. #1
    Join Date
    Jun 2009
    Location
    Wollongong
    Beans
    3
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Lightbulb Ubuntu iPhone 3.0 Bluetooth Tethering with uit.sh

    If you would like to use your iPhone 3.0 with your bluetooth capable Ubuntu 9.04 PC then uit.sh (Ubuntu Iphone Thethering) is for you. This script installs all required conf, allows you to enable and disable your iphone tethering and even uninstall the conf if you no longer need it. I do expect NetworkManager to eventually support this out of the box.

    Thanks to http://xn--9bi.net/2009/06/17/tether...o-ubuntu-9-04/ blog post which assisted me in knowning what configuration was needed.

    Usage:
    -- Ubuntu iPhone Tethering (uit) Version 0.1 - Cooper Lees <me@cooperlees.com> --
    Usage: ./uit.sh options
    - This script will install, uninstall, enable and disable iPhone tethering with iPhone 3.0 Software.
    - It has been tested on a upto date (patched) box as of 20090623.
    - !! Be careful, this script will ask for your password to get root privledges to your system!

    OPTIONS:
    -h Show this message
    -i Install required configuration
    -u Uninstall required configuration
    -c Connect Tethering
    -d Disconnect Tethering
    -m [] Set iPhone's MAC Address (to /home/USERNAME/.uitrc)
    -v Verbose

    Install Guide:
    Avaliable from: http://us.cooperlees.com/download.php?F=uit.sh.gz

    - Inital installation requires an active Internet Connection to get required dependancies through apt-get. Current dependancies = 'bluez-compat'
    - Only the install requires you to sudo the script, other areas apropriately sudo where required.

    Install Process:

    1. Open terminal
    2. wget http://us.cooperlees.com/download.php?F=uit.sh.gz
    3. gunzip uit.sh.gz
    4. chmod 755 uit.sh
    5. [OPTIONAL] Move the script into your sbin - 'sudo mv uit.sh /usr/sbin' (This will allow it to be in your PATH)
    6. Run 'sudo uit.sh -i' (You will need to have your iphone in discoverable mode with Bluetooth on)
    7. You will be notified if it all sucessfully installs.

    Connect Process:
    - Ensure Bluetooth is on and paired with your system (use the GNOME Bluetooth tool to pair). Also make sure Internet Tethering is on.

    1. uit.sh -c

    - Once connected you will see the iPhone come up with a blue bar stating 'Internet Tethering' is activated.

    Disconnect Process:
    One command will disconnect from the iphone tethering - You should see the blue notification text dissapear.

    1. uit.sh -d

    Uninstall Process:

    1. uit.sh -u

    - This will remove conf from files and also make backup of files modified.

    Hope you enjoy it as much as I am. Finding the bluetooth a little slow. But still very handy and good. Thanks Apple.

  2. #2
    Join Date
    Apr 2009
    Location
    Montreal, Qc
    Beans
    7
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Ubuntu iPhone 3.0 Bluetooth Tethering with uit.sh

    I wasn't able to make that working with my bluetooth interface.
    For those that might need help, see this thread:

    http://ubuntuforums.org/showthread.php?p=7363690

  3. #3
    Join Date
    Jun 2009
    Location
    Australia
    Beans
    3
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Ubuntu iPhone 3.0 Bluetooth Tethering with uit.sh

    To stop Network Manager interfering with the connection I added "sudo /etc/init.d/NetworkManager stop" to your connect function and "sudo /etc/init.d/NetworkManager start" to the disconnect function to bring it back up when you're finished.

    Other then that a great little script.

    Thanks.
    Last edited by imatt.au; June 30th, 2009 at 10:29 AM. Reason: Add quotes

  4. #4
    Join Date
    May 2006
    Location
    Milwaukee,WI
    Beans
    6,280
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Ubuntu iPhone 3.0 Bluetooth Tethering with uit.sh

    i am using hardy heron and bluez-compat isn't in the ppa repository. All I have is whats in the picture:

    can I still get this working somehow with the packages that are available to mE? I did try to connect to my 2G 3.0 iPhone and this is the message I get:


    any help please?

  5. #5
    Join Date
    Jun 2009
    Location
    Australia
    Beans
    3
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Ubuntu iPhone 3.0 Bluetooth Tethering with uit.sh

    Have you tried running the script yet? Or just tried pairing through gnome?

  6. #6
    Join Date
    May 2006
    Location
    Milwaukee,WI
    Beans
    6,280
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Ubuntu iPhone 3.0 Bluetooth Tethering with uit.sh

    i haven't tried running the script because Hardy Heron does not have the required dependencies being bluez-compat. I suppose I can give it a shot anyway and see what happens. I did end up getting Blueman GUI working but the problem is that I don't have a wireless adapter on my Ubuntu Desktop. I was hoping to be able to use the iphone as a dialup modem and I didn't realize I needed a wireless adapter on the Ubuntu machine in order to do this.

  7. #7
    Join Date
    Jun 2009
    Location
    Australia
    Beans
    3
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Ubuntu iPhone 3.0 Bluetooth Tethering with uit.sh

    This script allows you to use the Bluetooth tethering feature of your iphone; using the internet allowance provide from your telco. The Bluez-compat package is for the newer versions of Ubuntu because I think they change the bluetooth stack a bit. By the looks of it you have the original bluez packages already installed. Just run the script as per the instructions and you should be right.

  8. #8
    Join Date
    Dec 2005
    Location
    What a weird trip.....
    Beans
    4,676
    Distro
    Ubuntu 12.04 Precise Pangolin

    Cool Re: Ubuntu iPhone 3.0 Bluetooth Tethering with uit.sh

    Quote Originally Posted by dannyboy79 View Post
    I was hoping to be able to use the iphone as a dialup modem and I didn't realize I needed a wireless adapter on the Ubuntu machine in order to do this.
    Not a wireless adapter but a Bluetooth adapter.

    Maybe if your machine doesn't have Bluetooth, go out and purchase a USB Bluetooth adapter for this to work for you.
    If at first you don't succeed - just buy the company and tell them to make the one you want.

  9. #9
    Join Date
    Jun 2009
    Location
    Wollongong
    Beans
    3
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Talking Re: Ubuntu iPhone 3.0 Bluetooth Tethering with uit.sh

    Hey all ..

    Glad to hear people are liking the script. Due to the feedback I have made a few changes:

    Added
    sudo /etc/init.d/NetworkManager stop
    to the connect function

    and

    Added
    sudo /etc/init.d/NetworkManager start
    to the disconnect function

    Enjoy ...

  10. #10
    Join Date
    May 2006
    Location
    Milwaukee,WI
    Beans
    6,280
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Ubuntu iPhone 3.0 Bluetooth Tethering with uit.sh

    i can't get this to work because I have a 8gb 2G iphone running OS 3.0. When I install the AT&T USA mobileconfig I never get the tethering option within network settings. Guess MMS and tethering will never make it to teh 2G iphone.

Page 1 of 4 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •