Fórum Ubuntu CZ/SK
Ostatní => Archiv => Téma založeno: cz7asm 08 Listopadu 2007, 19:26:31
-
Ahoj...
dokazal by mi prosim nekdo pomoct s timto problemem?:
Pokousim se pripojit pres bluetooth k memu telefonu SE T630. Kvuli zalohovani kontaktu a pripojeni pres GPRS. Uz jsem vyzkousel nespocet navodu ale porad se mi nedari sparovat s telefonem. Kdyz se s nim snazim spojit tak me telefon vyzve k zadani sparovaciho pinu a po zadani se mi pokazde zobrazi ze klic nesouhlasi. Pritom mam v /etc/bluetooth/pin zapsano 1111 a hcid.conf mam myslim take dobre nastaveny. Prikladam vypisy configu.
Pomohl by mi prosim nekdo? Uz jsem nad tim stravil hromadu casu a porad zadny pokrok...
hcid.conf
# 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;
security auto;
# Pairing mode
# none - Pairing disabled
# multi - Allow pairing with already paired devices
# once - Pair once and deny successive attempts
pairing multi;
pin_helper /usr/local/bin/btpin;
}
# 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;
# Authentication and Encryption (Security Mode 3)
auth enable;
#encrypt enable;
}
pin
1111
btpin
#!/bin/bash
echo "PIN:1111"
rfcomm.conf
#
# RFCOMM configuration file.
#
rfcomm0 {
# # Automatically bind the device at startup
bind yes;
#
# # Bluetooth address of the device
device 00:0F:DE:6A:76:14;
#
# # RFCOMM channel for the connection
channel 1;
#
# # Description of the connection
comment "SE T630";
}
-
Skús v hcid.conf prepísať v sekcii security manager mode security na none, prípadne na user, ak nepomôže hodím ti sem moje confy, používam k700i a ide všetko ok (spárovaný, zálohujem, posielam SMS cez PC > BT> mobil)
-
Tak jsem to zkusil a nejaka zmena tam byla.... Pri zadani klice v telefonu to asi 30s pridavalo to zarizeni a nakonec opet ze klic nesouhlasi. Mohl by jsi mi teda ukazat ty tve konfiguraky?
Diky moc...
-
OK, nech sa páči:
hcid.conf
#
# 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;
# PIN helper
pin_helper /usr/bin/bluez-pin;
# D-Bus PIN helper
#dbus_pin_helper;
}
# Default settings for HCI devices
device {
# Local device name
# %d - device id
# %h - host name
name "%h-%d";
# Local device class
class 0x100;
# 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 ,hold,sniff,park;
# Authentication and Encryption (Security Mode 3)
#auth enable;
#encrypt enable;
}
rfcomm.conf:
rfcomm0 {
# Automatically bind the device at startup
bind yes;
# Bluetooth address of the device
device 00:16:20:19:C0:32;
# RFCOMM channel for the connection
channel 3;
# Description of the connection
comment "Example Bluetooth device";
}
Odporúčam tiež skúsiť kdebluetooth a kmobiletools, všetko riešim v podstate cez nich.
Dúfam že ti nejak pomôže, je to vytvorené pomocou cca 20 rôznych návodov, ktoré by som už asi nebol schopný dohľadať.