Connect to the internet via Bluetooth on WinXP
Aug 18, '03 09:17:00AM
Contributed by: Anonymous
If you need to get out onto the Internet via a connected Windows XP/2003 machine and don't have your WiFi Access Point or a Blutooth Access Point for your Apple Powerbook G4, here's a cheap alternative. I had a spare Epox BT-DG02 Bluetooth dongle laying around that I configured to accept PPP over RFComm (Bluetooth), and let me surf away. Read the rest of the hint for the setup instructions...
[robg adds: I haven't tested this one...]
Windows XP/2003:
Installing Blutooth Adapter:
- Install latest Bluetooth drivers (as of writing Widcomm Bluetooth Software v1.3.2.7)
- Configure your Bluetooth adapter and enable Bloothtooth Serial Port
- Note down the COMx port for later use in guide, mine is on COM4
Creating Direct Serial Link:- Control Panel -> Modems -> New Modem
- Select "Don't detect my modem; I will select it from a list."
- Click "Next." Highlight "Communications cable between two computers"
- Click "Next."
- On the next screen, under the question "On which ports do you want to install it?" choose "Selected ports." Then highlight the serial port used by your BT adapter for Serial Port, etc COM4 for mine.
- Click "Next," and when available, click "Finish."
Confuring the COM Port:- Control Panel -> Modems
- In the "Phone and Modem Options" window, highlight the modem added above and click "Properties."
- Click the "Modem" tab. Change the "Maximum Port Speed" to 115200 (or higher, if available).
- Click "OK" and then close the "Phone and Modem Options" window.
Set Up Incoming Connections:- Right click on "My network Places" select Properties
- Select "Create a new connection."
- Click "Next" in the "New Connection Wizard" window.
- Click the "Set up an advanced connection" radio button.
- Click "Next."
- Click the "Accept incoming connections radio button.
- Check ONLY the box containing the modem created previously (probably named "Communications cable between two computers").
- Click "Next."
- Click "Do not allow virtual private connections."
- Click "Next."
- At the "User Permissions" screen, check the new user you want to have dialin permissions.
- Click "Next,"
- Click "Finish"
On Mac OS X 10.2.6 (10.2.x):
You'll need to pair your devices together before you do this, I'll leave that to you talented people.
Creating Bluetooth Serial Port:- Open Applications
- Open Utilties
- Open Bluetooth Serial Utility
- Click "New"
- Under "Name", add a description for connection with no spaces, ie BlueNet
- Click "Outgoing" and "Select Device"
- Click the device name and "Bluetooth Serial Port"
- Tick "Show In Network Preferences"
- Change "Port Type" to RS-232
Creating PPP connection:- Open "System Preferences"
- Open "Network"
- Select "Show", select our Serial Port Name, ie BlueNet
- Select TCP/IP
- Select "Configure" to read Using PPP
- Select PPP
- "Account Name", is your dialin user you created under Windows XP/2003
- "Password", well your password
- Click "PPP Options"
- Have ths ticked, "Use TCP header compression"
- Have ths ticked, "Connect using a terminal (command line)"
- Close PPP Options
- Select "Modem"
- Click "Modem" and select "Null Modem 115200"
- Untick "Wait for dial tone before dialing"
- Click "Show modem status in menu bar"
- Click "Apply Now"
Connecting to the Internet:- Click your Modem Status on the Finder
- Select your description, ie BlueNet
- Click your Modem Status on the Finder
- Click Connect
- When Terminal Windows pops up type in, clientclient
- A message saying CLIENTSERVER will pop up, click "Continue"
- Grab yourself a Coke and a smile, you're connected!
As you can see, it's quite a lengthy procedure of connecting. If Apple could somehow all scripts to be used under the Null Modem connection then you wouldn't have to type in CLIENTCLIENT manually, as it stands you do. I've tested this on a Bash line using pppd and a chap script, all works fine, as much as I love my Unix prompts I love my Aqua interface more.
If anyone knows of how to automate this I'd be happy to hear your views -- post comments here or send an email to Kristof.Kowalski at staesis.net.
Enjoy!
Comments (7)
Mac OS X Hints
http://hints.macworld.com/article.php?story=20030814092633480