[ubuntu-ar] Consulta bluetooth con celular

Cristian Molina megatux at gmail.com
Mon Aug 13 01:22:56 BST 2007


Hola gente! espero que alguien me pueda ayudar con algo.
  Tengo el siguiente problema: No puedo 'engancharme' con el celular.
A ver si me explico mejor...
Por ejemplo usando el konqueror para ver el vecindario bluetooth con

bluetooth:/

encuentro el teléfono y entro a ver sus servicios:

sdp://meganokia/uuid-0x0100/

pero cuando quiero usar alguno, x ej. la transferencia OBEX:

obex://[00:18:0f:1b:7c:ab]:10/

en el móvil me pide el PIN, entonces introduzco el que configure en el
archivo

/etc/bluetooth/givepin   o   /etc/bluetooth/pin

pero siempre falla. "Fallo de vínculo" dice el teléfono y "Autentication
error" el kde

Lo que sí funciona es el enviar archivos desde mi pc al teléfono con
gnome-obex-send  o el menú ENVIAR del Nautilus.

Muchas gracias!!

Adjunto contenido del hcid.conf  y givepin respectivamente :


--
#

  # HCI daemon configuration
file.


#

  # $Id: hcid.conf,v 1.3 2002/07/18 18:12:46 maxk Exp
$

#



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

#         pin_helper /etc/bluetooth/givepin;
#          pin_helper
/usr/lib/kdebluetooth/kbluepin;

          pin_helper
/usr/bin/bluez-pin;


}



  # Default settings for HCI
devices

  device
{

          # Local device
name

          #   %d - device
id

          #   %h - host
name

          name "BlueZ
(%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 master;
          lm accept,
master;



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


#

          lp
rswitch,hold,sniff,park;



          # Authentication and
Encryption

          #auth
enable;

          auth
disable;

          #encrypt
enable;

  }


-----------------------------fin hci.conf -----------------------

-----------------------------givepin -----------------------

#!/bin/sh

echo "PIN:1234"


------------------------------end------------------------------

-----------------------------------------------------
   .^. In an open world, who needs windows or gates?
   /V\    Cristian Molina
  //  \\    GNU/Linux User #73047
/( _ )\       BsAs-Argentina
  ^^ ^^ ---------------------------------------------
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: https://lists.ubuntu.com/archives/ubuntu-ar/attachments/20070812/eeb8d1d4/attachment-0001.htm 


More information about the Ubuntu-ar mailing list