Differences between revisions 5 and 6
Revision 5 as of 2007-11-22 14:10:18
Size: 1334
Comment: Finalized the HOWTO
Revision 6 as of 2007-12-16 00:58:52
Size: 1776
Comment: Fixed some erratas, added the license and added some better formatting
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
Run `hcidump scan` and check which is the MAC Address of your device. Run `hcitool scan` and check which is the MAC Address of your device, the output should look something like:
Line 7: Line 7:
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. {{{
ghostbar@hyperion:~$ hcitool scan
Scanning ...
 00:19:B7:30:B7:45 ghb's Nokia 6103
}}}

The left column is the data you'll use, that's the MAC.

The
n 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.
Line 23: Line 31:
Now restart the daemon with `/etc/init.d/bluetooth restart` and this creates the node rfcomm0 and pared with your bluetooth device. Now restart the daemon with `/etc/init.d/bluetooth restart` and this creates the node `rfcomm0` and pared with your bluetooth device.
Line 25: Line 33:
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: 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:
Line 33: Line 41:

||||<tablestyle="width: 200px; background: #F2F4F7; font-size:12px;" rowstyle="background: #B8C5D9; font-size:14px;" >''' Page Copyright'''||
||<^)> '''License''' || ["BSDLicense"]||
||<^(> '''Authors''' || JoseLuisRivas ||

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 hcitool scan and check which is the MAC Address of your device, the output should look something like:

ghostbar@hyperion:~$ hcitool scan
Scanning ...
        00:19:B7:30:B7:45       ghb's Nokia 6103

The left column is the data you'll use, that's the MAC.

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.

Page Copyright

License

["BSDLicense"]

Authors

JoseLuisRivas