bioneural.net site preferences

Accessibility

Toggle width/ text size:

style

Default/Alternate

Suits visual impairment, mobile devices

Styling

Change the theme:

layout

NB: may reduce functionality

Link behaviour

Links with an icon are off-site:

links

Right-click any link to optionally open in a new window or tab


 

Access Mac's Internet on Palm via Bluetooth

Surf the Web, send and receive e-mail by creating a wireless Personal Area Network between your Palm T3 and Mac...

This guide is no longer being updated. Getting this to work is evidently dependent on many variables and it is highly likely that your set-up differs from mine. I no longer have Mac OS X Panther or Palm Desktop installed so cannot help you problem-solve; all I know is on this page. I don't know if it will work with Mac OS X Tiger (note: the Bluetooth Serial Utility no longer exists; see System Preferences > Bluetooth). The solution I recommend for sharing your Mac's Internet connection to the Palm is not free, but saves much frustration. If this is functionality that you simply must have buy The Missing Sync for Palm OS.

The following setup uses a QuickSilver G4 PowerMac running Mac OS X 10.3.2, fitted with a D-Link DBT-120 USB Bluetooth Adapter, connected to the Internet via a Vigor 2200USB NAT router and ADSL, and a PalmOne T3 running Palm OS 5.2.1.

PC users can check out Dean's guide here.

There are 10 steps:

Step 1: Enable Bluetooth on your Mac and Palm

You probably already know how to turn on Bluetooth on the Mac and Palm. If you haven't activated it, do so. If you don't know how to, you probably don't want to read any further
:-).

Pasted Graphic-5

Step 2: Pair your Mac and Palm T3

Before beginning, you'll need to pair your Palm and Mac. To do this, use Mac OS X's Bluetooth Setup Assistant (normally in /Applications/ Utilities).

Pasted Graphic 5-2

The outcome of pairing should be that your Palm appears in the Devices pane (System Preferences > Bluetooth) as a trusted device, as indicated by the heart and key icons:

Pasted Graphic 2-2

You might check that Bluetooth communications are working at this point by beaming a file to/ from the Mac.

Step 3: Prevent HotSync listening on the Bluetooth-PDA-Sync port

The Sun and Moon cannot rule the sky at the same time; nor can a port be used by more than one service at a time. Open the Hotsync Manager (normally in /Applications/ Palm) and ensure via the Connection Settings tab that bluetooth-pda-sync-port is unchecked; close the Hotsync Manager.

Pasted Graphic 1-3

Step 3b (optional): Create a new Bluetooth port for sharing

As described here, you could optionally use the Bluetooth Serial Utility (/Applications/ Utilities) to create a new Bluetooth port dedicated to sharing your Internet connection. You might want to do this if to do this if you intend to use the Bluetooth-PDA-Sync port to HotSync via Bluetooth, so didn't disable listening via the HotSync manager as above. If you do this, you will need to replace "Bluetooth-PDA-Sync" with the name of your new port in step 7. To create a new port using Bluetooth Serial Utility:

  1. Click New...
  2. Name: Enter a name for the new port
  3. Port Direction: Incoming
  4. Port Type: RS-232

Step 4: Turn on the Bluetooth-PDA-Sync port

Use Bluetooth Serial Utility do do this:

Pasted Graphic 3-2

Tip: If you haven't checked this box you get an error message on the Palm saying "Error: Serial: timeout. Could be bad cable or faulty Modem. (0x0305)". Check the tick box and restart your Mac in order to solve this.

Step 5: Turn off the Mac OS X firewall

Pasted Graphic 4-2

There appear to be two reasons for doing this:

  1. According to Apple, "Firewall blocks the use of Internet Sharing. You cannot use both at the same time." See here for more info.
  2. According to Palm you need to have ports 8827 and 8775 open if you are using Web Pro's default proxy server. If you turn off the proxy server you won't have to open these ports in your OS X firewall configuration (System Preferences > Sharing > Firewall > New). More info here.

Note: Leaving the firewall off may pose a security risk. If you are behind a NAT router this may provide some protection. Otherwise, turn the firewall back on once you're done sharing.

Tip: If you get a message in the OS X Sharing Prefs saying that other firewall software is running after using the Share Ethernet to Bluetooth script (see below), type "sudo ipfw flush" in Terminal.

Step 6: Initiate Internet Sharing on the Mac

Sharing

Go to System Preferences > Sharing > Internet and check the box next to Built-in Ethernet.

Mac OS X 10.3 will remember sharing is on after a restart; if you are running 10.2 you will need to turn it on after each restart.

Tip: If Internet Sharing is turned off and you use the Network pane on your Palm to Connect to the Mac, the connection will appear be made but won't be much use. For example, with Internet sharing disabled if you attempt to use Web Pro on the Palm, you will get a message "DNS lookup timed out. Please check coverage, and try again. [Comm. 8]". To overcome this error message, re-start Internet Sharing on the Mac.

When you turn on Internet sharing you should see a warning as follows: "If your computer is connected to a network, turning on Internet Sharing may affect the network settings of other computers and disrupt the network...(etc)". This is true; to restore access to PCs or Macs that share your Internet access, turn Internet Sharing off again when you are done sharing to Palm.

Step 7: Initiate the PPP server

Note: You need to have BSD installed on your Mac to make this bit work; it's included on the installation CD-ROM.

Open Terminal (in /Applications/ Utilities) and type:

sudo ls

followed by your administrator password to authenticate (1):

Term

Now type the following string exactly as shown, with exact punctuation and spaces in the appropriate places:

sudo /usr/sbin/pppd /dev/tty.Bluetooth-PDA-Sync 115200 noauth local passive proxyarp asyncmap 0 silent persist :10.0.1.201 &

For clarity, spaces are indicated by green dots in the graphic (2).

If you see a response such as [1] 454 (3 above), wait a few seconds as suggested here then enter the string again (or just hit return).

You should now see [1] Done or similar. "Done" is an apt word, because you're done with the Mac for now; time to setup on the Palm.

Tip: You could select and drag this string to a convenient location (e.g. the Desktop) to create a clipping, from where you can drag it on onto an open Terminal window as required in future.

Step 7b (optional): Install AppleScripts to control sharing

This is the uncertain bit, and may avoid having to do much of the above. Some people have got it working seemingly without problems; others report various difficulties.

Download the Bluetooth Internet Sharing Applescripts from *{TechnoHappyMeal} here.

The scripts read as follows:

Share Ethernet to Bluetooth:

do shell script "sudo /usr/sbin/pppd /dev/tty.bluetooth-pda-sync-port 115200 noauth local passive proxyarp asyncmap 0 silent persist :10.0.1.201 &" with administrator privileges
do shell script "sudo /usr/sbin/sysctl -w net.inet.ip.forwarding=1"
do shell script "sudo /usr/sbin/natd -same_ports -use_sockets -log -deny_incoming -interface en0"
do shell script "sudo /sbin/ipfw add divert natd ip from any to any via en0"

Stop Sharing to Bluetooth:

do shell script "sudo /sbin/ipfw -f flush" with administrator privileges
do shell script "sudo killall natd"
do shell script "sudo /usr/sbin/sysctl -w net.inet.ip.forwarding=0"
do shell script "sudo killall pppd"

Run the script Share Ethernet to Bluetooth to start sharing your Mac's Ethernet connection to the Internet.

Tip: If this setup doesn't seem to work at first, try turning Ethernet sharing off and then on again, and make sure Bluetooth isn't being used for something else (a phone connection, wireless HotSync, file transfer, etc.).

Remember to run the script Stop Sharing to Bluetooth when you're done. Leaving it on seems to slow up Internet access on the Mac; it also prevents me from being able to mount my Mac on the Windows XP desktop.

If the script gives the error "Unable to bind divert socket", open terminal and type:

sudo killall natd

These scripts and related Terminal commands are discussed further on macosxhints here and here, with background information on *{TechnoHappyMeal} here.

Step 8: Setup a new Connection on the Palm

Open the Prefs app and make changes to the Communication settings under Connection:

  • Create a New connection named PAN Connection (or anything else!)
  • Connect to: PC
  • Via: Bluetooth
  • Device: (select the Mac you paired the Palm with)

Picture-1-3

  • Click Details
  • Speed: 115,200 bps
  • Flow Ctl: Automatic

Picture-2-4

  • Click OK, OK, Done.

Step 9: Setup a new Network service on the Palm

Open the Prefs app and make changes to the Communication settings under Network:

  • Click New
  • Service: Name a new service PAN Service or similar
  • User Name: Leave blank
  • Password: Leave on Prompt
  • Connection: select PAN Connection

Picture-3-4

  • Click Details
  • Connection type: PPP
  • Idle timeout: Never
  • Query DNS: Uncheck
  • Primary DNS: Your DNS Server IP address (type more /etc/resolv.conf in Terminal app to find yours)
  • IP Address: Check Automatic

Picture-4-2

  • Click Script
  • Script: End
  • Click OK, OK, Done.

Step 10: Go play!

Try updating currency rates or syncing with an atomic clock wirelessly in WorldMate, or reading/sending e-mail with VersaMail, browsing the Web with Web Pro, receiving RSS feeds with Hand/RSS, or synchronizing AvantGo channels wirelessly.

Is there an alternative solution?

Yes, you can share your Mac's Internet connection to your Palm via USB. You'll need to purchase Missing Sync for Internet Sharing and AvantGo ($US20). Or you could always pull out the rest of your hair and have another go at the above...

AppleScripts

Update 18.03.04: AppleScripts to start/stop Internet sharing via Bluetooth with one-time password entry

Jolin Warren from Oak and Apple Productions has squished a bug or two that had prevented Privileged Exec 1.0 from working correctly when tested it under OS X 10.3.2, as a means to avoid repeatedly having to enter your admin password to initiate Internet sharing over Bluetooth via an AppleScript.

You could download Privileged Exec 1.0.1 or later from Oak and Apple and add the following theCommands handler to initiate the PPP daemon:

on theCommands(thePassword)
do shell script "sudo /usr/sbin/pppd /dev/tty.Bluetooth-PDA-Sync 115200 noauth local passive proxyarp asyncmap 0 silent persist :10.0.1.201 &" password thePassword with administrator privileges
do shell script "sudo -k" --timeout our sudo ability for security
end theCommands

Alternatively, and with Jolin's permission, you could download a "ready made" script here.

To stop the PPP daemon, use:

on theCommands(thePassword)
do shell script "sudo killall pppd" password thePassword with administrator privileges
do shell script "sudo -k" --timeout our sudo ability for security
end theCommands

Once you have these scripts, and have completed the initial setup instructions as above, just stop the Firewall and start Internet Sharing from System Prefeences, and run the Internet Sharing script. To stop sharing over Bluetooth, run your Stop Internet Sharing script, then stop Internet Sharing and turn Firewall back on via System Preferences. All these steps (including one-off password entry) can in theory be accomplished via a single AppleScript; perhaps I'll post an update here once I can verify repeatable results.

Update 07.08.04: There is now a much, much easier way to share your Mac's Internet connection to your Palm, via Bluetooth or USB. See here.

MacWorld (US) Oct 2005 p.95 (Mac 911 / Help Desk section); thanks icerabbit!:

Macworld

33 responses to Access Mac's Internet on Palm via Bluetooth


  1. 1 John Pernock

    For some reason, my palm keeps getting stuck after it says signing on, it says error: timeout (0x1212)

  2. 2 Mimoun

    Hello,

    I do think that there is a problem with 10.3.6...

    If anyone had an idea or anything, could e contact me on my mail. I really need this feature.

    By the way thank you for your guide...

    The technohappymeal seems to be unavailable to...

    I don't know what to do.

    If you know tell me,... Thanks!

  3. 3 Rick

    Hey,

    Did everything as indicated above after installing 10.3.4 and I had no issues initially. Once I tried to sync the following morning via the Bt connection, it was no longer available. I did not change anything from the night before, what happened?

    Cheers, RtC

  4. 4 palba

    I've tried all. Now I'm at this point: My palm is hold to "sign".Nothing All!

    Please Help ME!!!

    Another thing: In my Bluetooth serial utility there is a blank connection that it's impossible to delete (in use). How can I do?

    Many Thanks

    Palba

  5. 5 Bruce

    Miguel, I'm not sure why you are having this problem. You know it is "LS", not "IS"? Try logging in as "root" (use NetInfo Manager in the utilities folder to enable root access) and see if you can access the "sudo ls" command. If you can, I guess the problem is confined to your user settings.

  6. 6 superdave

    If you buy Missing Sync and are using OS 10.3.9 you may not be able to connect to the internet on your Palm.

    http://www.markspace.com/support/index.php?x=&mod_id=2&id=2395

  7. 7 Margaret Brock

    Bluetooth-PDA-Sync port

    I had one. I don't know where it came from. I was having trouble. I didn't know what I was doing. I deleted it. Now I can't get it back. Now I can't sync using bluetooth.

    I'm sad, can you help me. I've searched till I'm blue in the tooth and I can't find any reference to where this thing comes from, or how to create a new one. I can create new serial ports, but what are the settings? I'm not into Unix, so if that's the only way, then I'm pretty much lost.

    G4 PowerBook 1Ghz Panther 10.3.6

    Thanks, Margaret

  8. 8 Bruce

    Hi Peter, it sure sounds frustrating. Are you using File Vault? According to macosxhints enabling it can be associated with preferences that won't stick:

    http://www.macosxhints.com/article.php?story=20040115214721694

    If this isn't the trouble you could try creating another Mac OS X user and re-create the sharing settings: if this does work I guess it pins the problem on some corrupt setting in your own Home directory. Good luck!

    Cheers, Bruce

  9. 9 Miguel A. Morales

    I installed BSD for Panther, but every time I type the first command, sudo Is, and my password, the response is "sudo: Is: command not found" . I can't proceed. What to do?

    MM

  10. 10 d4ve

    is there a problem with 10.3.6?

    i have successfully used the technohappymeal scripts for an internet over bluetooth connection for my serie 60 phone. it worked under 10.3.5. now with 10.3.6 i get no connection anymore.

    are you plam users able to set up an bt-internet connction under 10.3.6?

  11. 11 Bruce

    Jason, the "better way" is Missing Sync: it makes sharing your Mac's Internet connection to the Palm via Bluetooth easy.

  12. 12 Bruce

    Scott/ RtC/ G. - sorry, I don't know the answers to the problems you are having; the extent of my knowledge is in the guide. Hopefully someone else out there can help...

  13. 13 G. Sassoverde

    Thanks for this terrific guide. Just walked through it with my 1.5 GHz PowerBook G4 + Tungsten T3, and it worked like a charm.

  14. 14 icerabbit

    Congratulations,

    You are on page 95 of the US MacWolrd October 2005 edition!

    :) icerabbit

  15. 15 Unnamed...

    "check via the Connection Settings tab that bluetooth-pda-sync-port is unchecked"

    You might want to rephrase this, it's a bit confusing...

    How about: "Check via the Connection seetings tab that bluetooth-pda-sync-port is the tick box is unticked..."

    Or something like that...

  16. 16 jason

    i dont know much about imacs or pdas this is way over my head is there a better way to get the web on my palm t3 i have an imac g5 and a palm t3 both with bluetooth

  17. 17 Bruce

    Not sure John, but I would stress that it is worth following the instructions in the exact order, and double-checking that you are using the correct DNS IP address. Also, you might like to try pinging other computers/ your router from the Palm (e.g. use http://www.mergic.com/vpnDoPingDownload.php). This might help narrow down the problem if you know what _is_ working.

  18. 18 Peter Pienkowski

    Ok, so your guide is excellent, but there is one thing I can't figure out, and its super frustrating. Everytime I connect to the internet with my palm through my compie, the internet sharing reverts itself from the friendly on position to the bad, bad off position. Thus, the internet on the palm times out and I get that DNS coverage error. I haven't been able to figure out how to stop it from switching itself back to off, but it just happens. When I switch it back to on, everything is peachy for a minute or so, but then it reverts. Confusing. Apple discussion boards don't seem to have my answer, maybe you can help

    thanks

  19. 19 G. Sassoverde

    Okay, question: Once I've done this, my Mac shows an internal IP address of 192.168.x.x. Any way to get it to return to its former 10.0.1.x?

    (I'm sharing an AirPort connection.)

    Thanks again for the help...

    G.

  20. 20 Bruce

    Palba, invest in Missing Sync: http://www.markspace.com/missingsync_palmos.html

    It really is the least painful cure for Internet-sharing headaches. Your doctor recommends it ;-)

    Deleting any Bluetooth preferences from ~/User/Library/Preferences e.g. "com.apple.Bluetooth.plist" might help with your second issue.

  21. 21 Bruce

    Sorry Margaret, I don't know anymore than I've written on this page. I can only reiterate my suggestion to invest in Missing Sync: trying to share Bluetooth to a Palm with out it really is for people with too much time on their hands ;-)

  22. 22 Scott Carney

    Thanks very much for the guide. It all seems to go well for me till the very end. Web Pro signs on and looks like it's going to work and then I get a DNS lookup timeout. Any ideas? I checked the nameserver on my mac and even pinged it. The DNS looks like it is set properly in the palm.

    Thanks for any help.

    Scott

  23. 23 nerdykit

    This was the best advice. In particular I found that the reference to changing the default IP address on the router was the key. None of the other instructions mentioned this. Made great sense once I did it (all my failures left me connected mac to palm but clobbered my Internet). I just wish I could avoid having to enter my password. Can't that be 'programmed' into the scripts?

  24. 24 Bruce

    You can't include your password within an AppleScript (see http://www.osxfaq.com/Tutorials/as_unix/index.ws). However, see "Privileged Exec" (http://oakandapple.pwp.blueyonder.co.uk/software/PrivilegedExec.html). This freeware Applescript, in conjunction with Key Chain, promises to make it "extremely easy create applications that run Unix commands as root without prompting the user for an administrator password every time". I tried replacing the demo code in the handler "theCommands()" with this:

    on theCommands(thePassword)

    do shell script "sudo /usr/sbin/pppd /dev/tty.Bluetooth-PDA-Sync 115200 noauth local passive proxyarp asyncmap 0 silent persist :10.0.1.201 &" with administrator privileges
    do shell script "sudo -k" --timeout our sudo ability for security

    end theCommands

    ...but didn't manage to get it working under Panther 10.3.2 (I kept getting the "first time run" message, no Internet sharing). I'll ask the author if he knows why.

  25. 25 luke

    Wont work for me... I dont know why.. I did EVERYTHING, but still wouldnt work. Thank you anyways.

  26. 26 harry

    the "tutorial" is great, i can run internet on my palm e2 now with the use of bluetooth

    the sudo output din't come out as what was shown, (as complained by others) but i think its just a matter of know how, use some comon sense :)

    ex. the 192.xxx.xxx.xxx is changed to 10.xx.x.xx.xx

    the "done" dint even appear on my sudo/terminal but the promp returned

    so i think some thinking should just be done

    password was not asked from me either :P

  27. 27 Finbarr

    I know this is a long shot but does anyone think the tools used above could be used / changed to work with a Sony Ericsson mobile phone or if this is even possible?
    Thanks.

  28. 28 Bruce

    Finbarr, I'm not sure what exactly you mean. If you're referring to Internet access on a Palm via an SE phone this post may help. If you're referring to using Mac OS X with a SE phone see this post.

  29. 29 Katie

    I did every step and I have tried connecting to the internet since I have had the Palm.. It wont connect! It is saying "Error: Serial: timeout. Could be bad cable or faulty Modem (0x0305). Why wont it connect??

  30. 30 Bruce

    [quote comment="75660"]Why wont it connect??[/quote]

    Katie, did you read the "alert" at the top of this ancient post?

  31. 31 Doogie

    Thank you so much for this tip. Works perfectly with Palm Tungsten T3 and Mac OS X 10.4.10. The only difference is, that the Bluetooth Serial Utility isn't there any more. You can add a serial port directly in SystemPreferences -> Bluetooth (its optional anyway).

  1. 1 dsl Internetverbindung des mac mini uber bluetooth mit palm teilen - Apfeltalk
  2. 2 Internet Sharing with Palm PDA - MacNN Forums

Something to say?

Comments may be moderated, are subject to spam filtering, and should be inoffensive and relevant to this post. Please disclose commercial interests.

Usable tags include <a href=""> <blockquote> <em>.