Bluetooth GPRS Howto
This Howto will describe, how to set up a GPRS Internet connection using bluetooth device and compatible mobile phone.
- Linux compatible bluetooth device
- Bluetooth enabled mobile phone - I'm using Nokia N70
- Install bluez-utils, bluez-libs and dbus (install also ppp if you havent):
pacman -S bluez-utils bluez-libs dbus
- Start dbus and bluetooth service:
/etc/rc.d/dbus start /etc/rc.d/bluetooth start
- Scan for nearby bluetooth devices:
hcitool scan Scanning ... 00:19:79:89:13:8E Penpen N70Now, mark that above address, it's the bluetooth hardware address of your mobile phone (provided that the name in the right matches what you have written in the phone).
- Scan, which channel is used for Dial-Up Networking:
sdptool search DUN Inquiring ... Searching for DUN on 00:19:79:89:13:8E ... Service Name: Dial-Up Networking Service RecHandle: 0x10007 Service Class ID List: "Dialup Networking" (0x1103) Protocol Descriptor List: "L2CAP" (0x0100) "RFCOMM" (0x0003) Channel: 3 Language Base Attr List: code_ISO639: 0x454e encoding: 0x6a base_offset: 0x100 Profile Descriptor List: "Dialup Networking" (0x1103) Version: 0x0100Now check the line beginning with "Channel:" - it contains the channel which is used for Dial-Up Network and it is not necessarily 1 and so is the case with my Nokia N70; my phone uses channel 3.
- Next, edit /etc/bluetooth/hcid.conf . Set the following in options section:
autoinit yes; security auto;Editing the same file, comment out passkey, as it is not used actually. Also, in the device section change the line beginning with name to:
name "BlueZ (%h)";