Bluetooth authentication probleem

Pagina: 1
Acties:

  • Hardfreak
  • Registratie: Augustus 2004
  • Laatst online: 03-01 12:14
Ik heb dus een vreselijk ambetant probleem met bluetooth. Ik probeer dus mijn gsm (K700I) te verbinden met mijn pc. Telkens als ik mijn computer wil toevoegen op mijn gsm krijg ik iets in de trend van "Verbinding via Bluetooth is mislukt" of "De toegangscodes komen niet overeen" nadat ik op mijn gsm de pin heb ingegeven. kbluethd klaagt dan ook over een host timeout error

Vreemd genoeg ziet mijn gsm mijn computer als 'CSR - bc3', terwijl ie in hcid.conf dit heeft staan:
name "BlueZ (%d)";

nog vreemder is dat kbluetoothd bij het starten zegt:
To use the kbtobexsrv service, some other devices might require a modified class number for your bluetooth adapter in /etc/bluetooth/hcid.conf.
Currently the class is set to 0x0. We suggest you change this to something like 0x100000 instead and restart BlueZ's hcid. The service will be activated anyway.

terwijl er in hcid.conf dit "class 0x3e0100;" staat.

Dit is /etc/hcid/conf
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#
# 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 auto;

    # 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/bluepin;

    # D-Bus PIN helper
    #dbus_pin_helper;
}

# Default settings for HCI devices
device {
    # Local device name
    #   %d - device id
    #   %h - host name
    name "BlueZ (%d)";

    # Local device class
    class 0x3e0100;

    # 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;
}


ik heb ook al geprobeerd met auth enable, encrypt enable, security op user. Alles is geïnstalleerd wat geïnstalleerd zou moeten zijn (bluez libs en tools).
Help, iemand ???

btw: Slackware 10.2, kernel 2.6.15 met bluetooth ondersteuning (zo zou het moeten werken, want ik heb al eens een verbinding gehad, maar ik moet de computer telkens verwijderen als 'k switch tss linux en windows).

Things I wish my life had: a debug port, a try-catch feature and good memory management


  • Hardfreak
  • Registratie: Augustus 2004
  • Laatst online: 03-01 12:14
Nooit gedacht dat 'k er zo snel zelf op zou gekomen zijn :*)

Dit is de hcid.conf
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#
# 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 auto;

    # 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/bluepin;

    # D-Bus PIN helper
    #dbus_pin_helper;
}

# Default settings for HCI devices
device {
    # Local device name
    #   %d - device id
    #   %h - host name
    name "Slackware";

    # Local device class
    class 0x3e0100;

    # 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;
}


dan moet je enkel nog
hcid -f /etc/hcid.conf
uitvoeren.
'k doe er dan meestal nog eens
sdpd
hciconfig hci0 reset
bij om zeker te zijn dat alles is doorgevoerd.
Dan nog ff kbluethd starten en klaar is ie :+

Things I wish my life had: a debug port, a try-catch feature and good memory management