Differences between revisions 5 and 7 (spanning 2 versions)
Revision 5 as of 2007-11-22 14:10:18
Size: 1334
Comment: Finalized the HOWTO
Revision 7 as of 2007-12-30 18:43:22
Size: 1938
Editor: PeMac
Comment:
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 ||

== External links ==
* [http://julian.coccia.com/blog/index.php?m=200503&more=1 GPRS connection over Bluetooth with GNU/Linux (HOWTO)]
----
CategoryNetwork

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

* [http://julian.coccia.com/blog/index.php?m=200503&more=1 GPRS connection over Bluetooth with GNU/Linux (HOWTO)]


CategoryNetwork