View Full Version : fedora 7 rfcomm bluez
maal
2007-07-30, 06:38 AM CDT
Hello,
I am connecting to internet through gprs on sony k750i. Everything is fine and installed but everytime I restart the computer I have to go and give the command
rfcomm bind 0 00:12:EE:2D:95:B7 1
what is the way to make the rfcomm bind default?
my rfcomm.conf file reads
#
# RFCOMM configuration file.
#
#rfcomm0 {
# # Automatically bind the device at startup
# bind yes;
#
# # Bluetooth address of the device
# device 00:12:EE:2D:95:B7;
#
# # RFCOMM channel for the connection
# channel 1;
#
# # Description of the connection
# comment "Al";
#}
Thanks
genesiss
2007-07-30, 08:01 PM CDT
your rfcomm.conf file should go like this
==========
rfcomm0 {
# Automatically bind the device at startup
bind yes;
#
# Bluetooth address of the device
device 00:12:EE:2D:95:B7;
#
# RFCOMM channel for the connection
channel 1;
#
# Description of the connection
comment "Al";
}
============
and your hcid.conf file should go like this
============
#
# HCI daemon configuration file.
#
# HCId options
options {
# Automatically initialize new devices
autoinit yes;
# Security Manager mode
# none - Security manager disabled
# auto - Use local PIN for incoming connections
# user - Always ask user for a PIN
#
security user;
# Pairing mode
# none - Pairing disabled
# multi - Allow pairing with already paired devices
# once - Pair once and deny successive attempts
pairing multi;
# Default PIN code for incoming connections
passkey "BlueZ";
}
# Default settings for HCI devices
device {
# Local device name
# %d - device id
# %h - host name
name "%h-%d";
# Local device class
class 0x120104;
# Default packet type
#pkt_type DH1,DM1,HV1;
# Inquiry and Page scan
iscan enable; pscan enable;
# Default link mode
# none - no specific policy
# accept - always accept incoming connections
# master - become master on incoming connections,
# deny role switch on outgoing connections
lm accept;
# Default link policy
# none - no specific policy
# rswitch - allow role switch
# hold - allow hold mode
# sniff - allow sniff mode
# park - allow park mode
lp rswitch,hold,sniff,park;
}
===============
pairing is working fine under gnome... find your comp in mobile type pass and retype it on comp
if u use kde do the same since the kdebluetooth is still unsolved issue (it worked fine but since 3.5.7 the package has disappeared...it's connected with maintenance changes (guy form kmobiletools ) and probably new ideas of kde4 and redesign bluez modules in fc
wilq
maal
2007-07-30, 11:51 PM CDT
Hi wilq,
The files hcid.conf and rfcomm.conf match the descriptions you have given me and the pairing is picked up automatically once I give the rfcomm bind command. I seem to be missing something else.....?? It is a pain albeit a minor one that I have to be present to give the command everytime the computer is switched on and one of my students want to check mail........
Thanks
maal
rfcomm0 {
# Automatically bind the device at startup
bind yes;
#
# Bluetooth address of the device
device 00:12:EE:2D:95:B7;
#
# RFCOMM channel for the connection
channel 1;
#
# Description of the connection
comment "Al";
}
============
and your hcid.conf file should go like this
pairing is working fine under gnome... find your comp in mobile type pass and retype it on comp
if u use kde do the same since the kdebluetooth is still unsolved issue (it worked fine but since 3.5.7 the package has disappeared...it's connected with maintenance changes (guy form kmobiletools ) and probably new ideas of kde4 and redesign bluez modules in fc
wilq[/QUOTE]
vBulletin® v3.7.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.