How to install bluetooth in liunx.
Follow these steps:Su
- /etc/init.d/bluetooth start
- Turn on your mobile’s bluetooth
- Use sdptool browse command to find channel number that is used for dial up networking:
... Service Name: Dial-Up Networking Service RecHandle: 0x10052 Service Class ID List: "Dialup Networking" (0x1103) Protocol Descriptor List: "L2CAP" (0x0100) "RFCOMM" (0x0003) Channel: 1 ...
- find bluetooth address of your phone using hcitool scan command.
-
Scanning ... 00:1B:33:F3:5B:10 Kapurus
-
- edit /etc/bluetooth/rfcomm.conf to configure RFCOMM port:
...
rfcomm1 {
# Automatically bind the device at startup
bind yes;
# Bluetooth address of the device found using hcitool
device 00:1B:33:F3:5B:10;
# RFCOMM channel for the connection found using sdptool
channel 1;
# Description of the connection
comment "Modem (Nokia ... )";
}
...
- add RFCOMM_ENABLE = true in /etc/sysconfig/bluetooth
- configure edit /etc/wvdial.conf
=========================================================
[Dialer bt] Modem = /dev/rfcomm1 Baud = 460800 Init1 = ATZ Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Init3 = AT+CGDCONT=,,"gpinternet" ISDN = 0 Phone = *99***1# Username = 1 Password = 1

No Comments on "bluetooth"