Differences between revisions 1 and 12 (spanning 11 versions)
Revision 1 as of 2007-11-20 22:53:38
Size: 347
Comment:
Revision 12 as of 2017-08-30 23:02:55
Size: 2409
Editor: Diego Alonso
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#language en
##
## hints for wiki contributors about BluetoothGPRS:
## - write hints/guidelines here.
##
## Remember, it's important (for search engines) that title actually
## contains words relevant to the page content. ("introduction" don't help)
##
||<tablestyle="width: 100%;" style="border: 0px hidden">~-Translation(s): English - [[es/BluetoothGPRS|español]] -~||<style="text-align: right;border: 0px hidden"> (!) [[/Discussion|Discussion]]||
----
Line 3: Line 13:
First of all you need to install bluez-utils and bluez-hcidump. First of all you need to install `bluez-utils` and `bluez-hcidump`.
Line 5: Line 15:
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 17:
Then goes to /etc/bluetooth/hcid.conf and edit this file in the 'options' part and modify {{{
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.

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

== External links ==
 * http://julian.coccia.com/blog/index.php?m=200503&more=1 GPRS connection over Bluetooth with Linux
----
CategoryWireless | CategoryModem

Translation(s): English - español

(!) ?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