tatsu

  • Ask me anything
  • Archive

#Egypt Dial-Up: Bluetooth Modem Tethering Instructions for Mac OS X

Requirements:

  • Cell Phone (and service) with Bluetooth DUN (Dial-Up Networking)
  • Mac OS X computer with Bluetooth
  • A Working Modem Script for your particular cell-phone

Provided you have some sort of cell phone service in Egypt, here’s how to setup a Mac to dial-out to France or any of the many numbers listed on http://manalaa.net/dialup
That page has good instructions on how to do it on Windows.

Outline (details below with screenshots)

  1. Establish Bluetooth Paring connection with Cell Phone
  2. Use or Find a working Modem Script for your Cell Phone
  3. Setup a new Network Port in System Preferences
  4. Set the Service Order
  5. Setup Bluetooth Dial-Up Networking (Account Settings)
  6. Setup Bluetooth Dial-Up Networking (Modem Settings)
  7. Testing, Logging, Troubleshooting and other options

1. Establish Bluetooth Connection with Cell Phone

  • Make sure your Cell Phone’s Bluetooth is ON and DISCOVERABLE
  • Open your Mac’s System Preferences under the “Apple Menu”
  • Click on “Bluetooth”
  • Click on the + icon in the lower left side to add a Bluetooth Device
  • Wait for your Mac to scan and locate your phone, click continue
  • When asked,  type in the authentication code given to you on your phone

System Preferences
System Preferences under the Apple Menu

Bluetooth System Preference Pane
Bluetooth System Preferences, click the “+” icon to add a new device

Bluetooth Paring
Pairing a BlackBerry 9100

Bluetooth Passkey
Enter the Passkey on your Cell Phone and Bluetooth Paring is complete

2. Use or Find a working Modem Script for your Cell Phone

This might be the hardest part. Mac’s come with some Modem Scripts, which is used to handle the actual dialing-up. I had to download mine, so if you are in the same situation, you will have to find a computer with access already, Google a modem script and put it on a flash drive. Once you’ve done that, you must put it in a special folder:
/Library/Modem Scripts

Here is a screenshot with that folder open. You can find it by double-clicking your Hard Drive icon (usually called “Macintosh HD”), clicking “Library” and then clicking “Modem Scripts”

Modem Scripts folder
The “Modem Scripts” folder in “Library”

3. Setup a new Network Port in System Preferences

Now we want to add the newly established Bluetooth connection as a Dial-Up Modem (DUN) as an interface for your Mac so we can dial out. 

Go back to System Preferences
Click “Network”
Click the “+” icon to add a new interface or service
(You might be prompted to add a “Newly Discovered Interface already, if so, add it.)
Add the “Bluetooth DUN”

Network Preference Pane
Network Preference Pane

Bluetooth DUN
Adding Bluetooth DUN to the network interfaces

4. Set the “Service Order”

This is not an obvious step but may save you problems. You can order which network interfaces have priority. So if you have Airport or Ethernet connected but they don’t actually have network connections active, then you won’t get internet. So the solution is to make sure Bluetooth DUN is first. Here’s how we do that.

  • Click the “options” (It looks like a gear, next to the “+” and “-” signs
  • Choose “Set Sevice Order” from the pop-up menu
  • Drag “Bluetooth DUN” to the top of the list

 Service Order
Service Order inside Network Preference Pane

DUN on top
Drag Bluetooth DUN on top

5. Setup Bluetooth Dial-Up Networking (Account Settings)

This is where we put in the phone number, username and password. The best source of phone numbers is http://manalaa.net/dialup, from that page:

French Data Network: +33172890150 (login ‘toto’ password ‘toto’)
US: 
8582373733 (Account Name: ‘hany’ password ‘egypt’)

Accounts Settings
Using US number inside US, Account Name is ‘hany’ Password is ‘egypt’

6. Setup Bluetooth Dial-Up Networking (Modem Settings)

A few more clicks and we can dial, promise! Hang with me! This is important, your phone won’t dial right if you don’t do this.

  • Click the “Advanced” button below the Account Name and Password
  • Choose a “Modem” that is appropriate for your phone
  • You may have to play with this, see “Logging and Troubleshooting” below
  • Turn OFF “Enable Error Correction and Modem Compression”
  • Click the “PPP” tab
  • Turn OFF all check boxes, except “Use Verbose Logging”
  • Click “OK” to save changes

Advanced Bluetooth DUN Settings
Advanced Bluetooth DUN Settings

Modem Scripts
Choose the *right* modem for you. If you downloaded a special one, choose “Other”

BlackBerry 3G Modem Script
BlackBerry 3G (GSM) Modem Script, appears under “Other”

Turning Off Enable...
Turn OFF ”Enable error correction and compression in modem”, very important!

PPP settings
Turn OFF everything, except “Use verbose logging”, very important! Click OK.

7. Testing, Logging, Troubleshooting and other options

We are ready to dial! Yay 2011 modem! Click the “Apply” to save your changes. Press “Connect” and wait for the moment of truth. Hopefully, it looks like this:

Connected
Connected!

You may have noticed I have a black window open with all kinds of stuff showing what’s happening behind the scenes. That is inside a Mac OS X “Terminal” window. It is very useful for troubleshooting your connection. You can tell if you have having a problem with the Modem Script, or the phone number, or perhaps some settings with the modem, networking issues, etc. Here’s how we do this. 

  • Open up your “Utilities” folder, it’s inside your “Applications” folder.
  • Find “Terminal” and launch it.
  • At the command prompt type exactly this: tail -f /var/log/ppp.log and hit Enter
  • (You can cut and paste the command if it’s easier.)
  • Keep the window running and watch it when you dial. 
  • To kill it just quit Terminal or press “control-c” to stop it gracefully.

TROUBLESHOOTING

The first thing is to open Terminal and use the tail command to start watching it. If when you dial, nothing really happens, then you know the “Modem Script” is not the right one. Try another one, or try “Generic”. (Don’t fill out anything in the APN field.) As I said, this is the hardest part because you don’t have much control over it, you may have to find one on another computer already connected. Other problems: Check the “Enable error correction and compression” and PPP settings. Everything should be off except “Use Verbose Logging”. 

Also, remember not all phones support Bluetooth Dial-Up. You can check after you pair the phone initially to your Mac by looking at it in the “Bluetooth” Preference Pane inside System Preferences. It should say “Dialup Networking” under the Services. 

Good luck to everyone in Egypt and hopefully this helps someone tell the world what is going on. 

Jan 31 2011
Copyright © 2008–2012 tatsu ‒ HD Exhibit Theme by Dustin Hoffman