Differences between revisions 3 and 5 (spanning 2 versions)
Revision 3 as of 2007-11-21 15:06:48
Size: 993
Comment:
Revision 5 as of 2007-11-22 14:10:18
Size: 1334
Comment: Finalized the HOWTO
Deletions are marked like this. Additions are marked like this.
Line 25: Line 25:
Next thing is use pppconfig to create the peers, just run `pppconfig` and fill out everything according to what you ISP gives or requires. Next thing is use pppconfig to create the peers, just run `pppconfig` and fill out everything according to what you ISP gives or requires, this creates 2 files: `/etc/ppp/peers/something` and `/etc/chatscripts/something`. The `something` is a name you give to the system when you're creating it, with this name you're gonna connect to the device in this way:

{{{
pon something
poff something
}}}

With `pon` the connection is created, with `poff` the connection is ended.

This document is intended to be a guide for using a bluetooth device with support to GPRS in Debian GNU/Linux.

First of all you need to install bluez-utils and bluez-hcidump.

Run hcidump scan and check which is the MAC Address of your device.

Then goes to /etc/bluetooth/hcid.conf and edit this file in the options part and modify security to user (some says this should be auto but didn't work out that way for me), pairing to multi and passkey to whatever you want.

After that you need to edit /etc/bluetooth/rfcomm.conf and should say something like:

rfcomm0 {
bind yes;

device MACADDRESS;

channel 1;
# Name of this device
comment "some comment or description"
}

Now restart the daemon with /etc/init.d/bluetooth restart and this creates the node rfcomm0 and pared with your bluetooth device.

Next thing is use pppconfig to create the peers, just run pppconfig and fill out everything according to what you ISP gives or requires, this creates 2 files: /etc/ppp/peers/something and /etc/chatscripts/something. The something is a name you give to the system when you're creating it, with this name you're gonna connect to the device in this way:

pon something
poff something

With pon the connection is created, with poff the connection is ended.