Translation(s): none

(!) ?Discussion


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


CategoryWireless | CategoryModem