El blog de i5513, Bares, Debian gnu linux,
Sevilla FC y mucho más

Título histórico: "Páginas sorprendentes o habituales"
Descripción histórica: "Recordaré las páginas q me gusten o con las que me ría"
Descripción actual: No te calles, di lo que piensas y piensa lo que digas
Producciones i5513

Friday, January 20, 2012

 

Conexión bluetooth via línea de comandos [transferencia de ficheros]

Mi antiguo conector usb de bluetooth murió ... y hoy he estado haciendo pruebas con un conector que me han dejado.

Escribo por aquí para referencias en el futuro, lo que he tenido que hacer. Me parece bastante chapucero ... pero es lo que hay:

en un terminal
# adduser javi bluetooth # da igual por que actualmente parece que se repite el bug debian#387542

Introducir el usb y comprobar la salida del dmesg:
# dmesg
[ 603.632037] usb 5-1: new full speed USB device number 2 using uhci_hcd
[ 603.866397] usb 5-1: New USB device found, idVendor=0a12, idProduct=0001
[ 603.866405] usb 5-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 603.980557] Bluetooth: Generic Bluetooth USB driver ver 0.6
[ 604.085406] Intel AES-NI instructions are not detected.
[ 604.126510] padlock_aes: VIA PadLock not detected.
[ 604.143712] usbcore: registered new interface driver btusb

# hciconfig
hci0: Type: BR/EDR Bus: USB
| BD Address: 00:10:60:A2:D1:FE ACL MTU: 192:8 SCO MTU: 64:8
| UP RUNNING PSCAN
| RX bytes:923 acl:0 sco:0 events:23 errors:0
| TX bytes:595 acl:0 sco:0 commands:22 errors:0

# MIDIR=00:10:60:A2:D1:FE

Localizamos el móvil
# hcitool scan
84:00:D2:8F:A0:7A Xperia neo V

# NEO=84:00:D2:8F:A0:7A

## ACTUALIZADO FORMA RÁPIDA ###
# bluetooth-agent 0000 hci0
# obexpushd -n -o /tmp
## Y a enviar el fichero desde el teléfono

## POST ORIGINAL
# bluez-simple-agent

En otro terminal
# obexftp -b $NEO -B 10 -l

Mirar el móvil y poner por ejemplo 0000 (te debería estar pidiendo la contraseña a través de una notificación). Ir al terminal 1 (bluez-simple-agent y poner también el 0000)

Y ya están vinculados los dos dispositivos ... ya nos queda poner el ordenador a escuchar para recibir los ficheros:

# obexpushd -n -o /home/javi/Descargas

Mi primera entrada del 2012 !

Labels: , , ,


Comments: Post a Comment

Subscribe to Post Comments [Atom]





<< Home

Archives

09/01/2003 - 10/01/2003   09/01/2008 - 10/01/2008   10/01/2008 - 11/01/2008   11/01/2008 - 12/01/2008   12/01/2008 - 01/01/2009   03/01/2009 - 04/01/2009   05/01/2009 - 06/01/2009   06/01/2009 - 07/01/2009   07/01/2009 - 08/01/2009   08/01/2009 - 09/01/2009   09/01/2009 - 10/01/2009   10/01/2009 - 11/01/2009   11/01/2009 - 12/01/2009   12/01/2009 - 01/01/2010   02/01/2010 - 03/01/2010   03/01/2010 - 04/01/2010   04/01/2010 - 05/01/2010   05/01/2010 - 06/01/2010   06/01/2010 - 07/01/2010   07/01/2010 - 08/01/2010   08/01/2010 - 09/01/2010   09/01/2010 - 10/01/2010   10/01/2010 - 11/01/2010   11/01/2010 - 12/01/2010   12/01/2010 - 01/01/2011   01/01/2011 - 02/01/2011   02/01/2011 - 03/01/2011   03/01/2011 - 04/01/2011   04/01/2011 - 05/01/2011   05/01/2011 - 06/01/2011   10/01/2011 - 11/01/2011   01/01/2012 - 02/01/2012   08/01/2012 - 09/01/2012   11/01/2012 - 12/01/2012   02/01/2013 - 03/01/2013   03/01/2013 - 04/01/2013   03/01/2014 - 04/01/2014   05/01/2014 - 06/01/2014   09/01/2015 - 10/01/2015   11/01/2015 - 12/01/2015   12/01/2015 - 01/01/2016   02/01/2016 - 03/01/2016   05/01/2016 - 06/01/2016   12/01/2016 - 01/01/2017   11/01/2018 - 12/01/2018   12/01/2018 - 01/01/2019   03/01/2020 - 04/01/2020   06/01/2020 - 07/01/2020   07/01/2020 - 08/01/2020   05/01/2021 - 06/01/2021   03/01/2022 - 04/01/2022  

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]