Doug,
it's possible, but messy. you will need to jump through quite a few
hoops to jig it up. I hope you're running OS X. Panther will make it
easier.
Anyway, here is what I have found that may help: one of the tips is
talking about PC -mac bluetooth internet sharing but it can also be
applied to palms/mobiles. The other hint is also relevant. They are
both from macosxhints.com - an extremely informative website for this
kind of stuff.
tip 1: A better way to connect Macs to a PC's shared Bluetooth Fri, Oct
24 '03 at 10:56AM
I saw this hint you have about sharing a PC's Internet with a Mac over
Bluetooth. That's great, but it involves too much configuration and a
terminal window login every time. Here's an alternative that "just
works," mainly for owners of Symbian based phones.
The PC Suite software supplied with those phones has a server that
hosts such connections over Bluetooth (and also IR and cables) for the
phones, but it also works with other devices, like Palms and Macs. To
make it work, do the following:
On the PC:
Right click on the mRouter tray icon and make sure Bluetooth serial
ports are enabled.
On the Mac:
Make a new Bluetooth serial port, called something like
Bluetooth-mRouter. Pair it with the Bluetooth Serial Port service on
your host PC. Then set it to Outgoing and RS232 mode. Then load up the
Network prefs panel, and configure the new port. Make sure it's using
PPP. Under PPP options, you can safely deselect "Disconnect if idle."
Under Modem, select Null Modem 115200 and deselect "Wait for dial tone."
Now use the Internet Connect menu, select the port you just made, and
then select Connect. Hey presto, Internet sharing over Bluetooth. The
only limit seems to be that although mRouter can handle up to
460000bps, the Mac Null Modem driver is capped at 115200, so if anyone
wants to make a better Null Modem driver, please respond.
Finally, non-Symbian phone owners can download the PC Suite freely from
Nokia or SonyEricsson, too. Install them and then remove everything
except for the mRouter executable from their startup menu, and they're
good to go.
Tip 2 is looong but describes what you want to do exactly. I would
recommend saving a copy of this email 'cos you're gonna need to use
terminal commands. Good luck!
Share an internet connection with a Bluetooth device Sun, Nov 3 '02 at
09:22AM from: kf6gpe
While Bluetooth is well supported in Mac OS X and many handheld
computing devices, it's not immediately obvious how you can configure
Mac OS X to provide Internet Sharing to Bluetooth-enabled handheld
devices.
This work builds on this hint , which enables internet sharing at
startup. Now we'll show how to configure a Mac OS X 10.2 system to act
as a Bluetooth Internet access point for Palm Powered handhelds (and,
presumably, other devices) that can use the Bluetooth Serial Profile to
establish a PPP connection.
[Editor's note: This is a somewhat long and involved hint, and I have
not tested it (as I don't have any Bluetooth devices). If you try it,
please post a comment with your experiences and any corrections to what
are probably my editing errors!]
Configuration
In developing this procedure, I used the following hardware:
Power Macintosh G4 running Mac OS X 10.2
Macintosh OS X compatible Bluetooth adapter
Palm Powered handheld (Clie NR 70V/U)
Palm compatible Bluetooth card (Sony PEGA-MSB1)
You will need administrator privileges on your Mac OS X computer. You
should be moderately comfortable using Terminal and your favorite text
editor (such as vi ,pico , or emacs to edit and change system files.
You will also need an IP address for your Palm Powered handheld.
Typically, you can allocate one from either the 10.0.1 or the 192.168.1
subnets. Be sure that the IP address you select is not taken by another
host on your local area network.
I've tested these instructions on a Power Macintosh G4 desktop with a
dedicated ethernet connection and a Macintosh PowerBook G4 with an
Airport connection. In both configurations the system operated as
described.
Theory of Operation
Mac OS X provides Internet Routing functionality that lets Mac OS X
route network packets between any two interfaces, such as the Ethernet
and an Airport card. Fortunately, Mac OS X also includes pppd, a PPP
server that can provide an Internet connection over a serial link.
Bluetooth, on the other hand, defines a series of connection types
called profiles . One profile, the Serial Device Profile, is a mode
that emulates a serial cable between two Bluetooth-enabled devices.
By using Mac OS X's Internet Routing with a PPP server over Bluetooth,
a Mac OS X host can share its Internet connection with a
Bluetooth-enabled device. The trick is to configure Mac OS X to use PPP
over Bluetooth to listen for an incoming connection from the Bluetooth
enabled device, and then use Bluetooth on the device to connect to the
PPP server running on the Mac OS X box.
Basic Installation
Before you begin, you should ensure that your Palm Powered handheld can
communicate with your Macintosh via Bluetooth. To do this:
Install the Bluetooth drivers that come with your Palm Powered
handheld's Bluetooth adapter according to the instructions that came
with the adapter
Install your Mac OS X Bluetooth adapter in accordance with the
instructions that came with the adapter.
Pair your Palm Powered handheld and Macintosh. On the Palm, select
Preferences -> Bluetooth, touch Trusted Devices, touch Add Device, and
select your Macintosh. Enter a PIN in the Palm, and enter the same pin
on the dialog that appears on your Macintosh.
Macintosh Installation
To configure your Macintosh, do the following:
Install your Bluetooth adapter.
Launch the Terminal.
Edit /etc/hostconfig with your favorite text editor. You will need to
use the sudo command to edit this file. Add an entry at the bottom
looking like this:
ISHARING=-YES-
Create a new startup items directory that will contain the commands to
activate Internet Sharing and the PPP daemon on the Bluetooth interface
on boot.
% cd /Library/StartupItems/
% sudo mkdir ISharing
% cd ISharing
Using your favorite editor and sudo , create the file ISharing with the
following contents:
#!/bin/sh
. /etc/rc.common
##
# Start up Internet Sharing
##
if [ "$" = "-YES-" ]; then
ConsoleMessage "Starting Internet Sharing"
/usr/libexec/InternetSharing
ConsoleMessage "Starting PPP/Bluetooth"
/usr/sbin/pppd /dev/tty.Bluetooth-PDA-Sync 115200
noauth local passive proxyarp asyncmap 0 silent persist
:10.0.1.201 &
fi
Replace the address 10.0.1.201 with the address you allocated for your
Palm Powered handheld.
Using sudo and your favorite text editor, create the file
StartupParameters.plist with the following contents:
{
Description = "Internet Sharing";
Provides = ("ISharing");
Requires = ("Network", "NetworkExtensions", "Resolver");
OrderPreference = "Late";
Messages =
{
start = "Starting Internet Sharing";
stop = "Stopping Internet Sharing";
};
}
To ensure that the files you've created have the correct permissions
and ownership, perform the following commands:
% sudo chmod 755 ISharing
% sudo chown root:wheel ISharing
% sudo chown root:admin StartupParameters.plist
Reboot your Macintosh.
Your Macintosh should now be running a PPP server on your Bluetooth
interface. You can check this by launching Terminal and using ps :
% ps -ax | grep pppd | grep -v grep
You should see a line corresponding to the PPP server process.
Palm Powered Handheld Installation
Configuring your Palm Powered Handheld is fairly straightforward.
Launch the Prefs application on your Palm Powered handheld.
Select the Connection panel.
Touch the New... button.
Give the new connection a descriptive name such as Bluetooth to
Macintosh .
Set Connect to to PC .
Set Via to Bluetooth .
Touch the box labeled Tap to Find and select your Macintosh.
Touch Details... .
Set Speed to 115,200 bps .
Set Flow Ctl to Automatic .
Touch OK twice to return to the Connection panel.
Select the Network panel.
Choose the UUNet service. Rename it something descriptive, such as
Bluetooth to Macintosh .
Set Connection to the connection you just created previously in this
section.
Leave the User Name and Password entries blank.
Touch Details... and ensure that Conection type is set to PPP and IP
Address is checked. Uncheck Query DNS and enter the addresses of local
Primary and Secondary DNS servers for your network.
Set the Idle timeout to however long you'd like the connection to
remain active before timing out.
Touch Script... and make sure that the only entry in the script is End .
Touch OK twice.
You should now be able to connect to the Internet using Bluetooth on
your Palm Powered handheld by touching Connect in the Connection panel
or by using any TCP/IP application.
Food for Thought
This technique should also work for sharing serial PPP connections via
either a modem or a serial port such as a PC Card or USB serial adapter.
Simply replace the entry /dev/tty.Bluetooth-PDA-Sync on the line
invoking pppd in ISharing .
Because the PPP server listens for connections on
/dev/tty.Bluetooth-PDA-Sync , you cannot HotSync your Palm via
Bluetooth while the PPP server is running.
Bluetooth and 802.11b wireless networks appear to coexist quite well,
despite concerns expressed by many to the contrary. I am using a Power
Macintosh G4 in our office as a Bluetooth access point for my Clie,
while most of our office's computers use 802.11 from an Airport sitting
directly above the Power Macintosh G4. I've seen little difference in
either 802.11 or Bluetooth range with only one or the other of the
wireless networks running in comparison when both networks are
operational.
Obligatory Warning
I offer the following information to you free of charge with the
understanding that I do not make any warranty, express or implied,
regarding this procedure, including fitness for a particular purpose.
Your other alternative is to pick up a copy of the missing sync -
internet sharing edition, just released a few days ago. It doesn't
allow sharing over bluteooth, but it will work over your usb cradle
attached to your G4. this is more of an inelegant workaround. Find it
at <http://www.markspace.com/missingsyncinternet.html>
Dave
On Sunday, October 26, 2003, at 05:03 AM, WAMUG Mailing List wrote:
Message-Id: <[EMAIL PROTECTED]>
Date: Sat, 25 Oct 2003 10:16:47 +0800
From: Douglas Sheerer <[EMAIL PROTECTED]>
Subject: Re: Bluetooth Query ?
I have a Sony Clie TG-50 running Palm OS5 and I=20
would like to be able to utelise our internal=20
ADSL/Airport Extreme Network to connect via the=20
in built TG-50 Bluetooth and via my PBk G4 to the=20
internet.
eg BT Sony Clie TG50 >>>BT PBk G4 WiFi >>> WiFi=20
Airport Extreme >>>> ADSL Internet connection
Is this possible? I have no trouble TG50=20
bluetooth to Sony Ericsson T610 Mobile bluetooth.
I can't see a way to go direct to the Airport=20
Extreme Network as the TG-50 is not wireless=20
equipped.
Would be grateful of any suggestions or categoric answers eg You can't
do it=
!!!
cheers
Doug Sheerer
--
-------------------------------------
Napoleon Bonaparte : "The best way to keep one's word is not to give
it."