Email: pacolinux arroba inicia punto es
Web: http://aldarias.es/pacodebian
Con Linux Debian. En Valencia (España)
El documento tiene version .html, y .pdf, cambiando en el navegador la parte final podrás acceder a ambos.
Este documento es de libre reproducción siempre que se cite su fuente.
Realizado con: LATEX
Vamos a ver como conectar el movil nokia 6630 usando bluetooth con linux debian.
Posibles formas de conectarlo:
Linux debe tener activado el modulo para bluetooh:
lsmod | grep blue bluetooth 54532 6 bnep,hci_vhci,bfusb,bpa10x,hidp,l2cap
En el kernel:
cat /usr/src/linux/.config | grep BT | grep y CONFIG_BT_RFCOMM_TTY=y CONFIG_BT_BNEP_MC_FILTER=y CONFIG_BT_BNEP_PROTO_FILTER=y CONFIG_BT_HCIUSB_SCO=y CONFIG_BT_HCIUART_H4=y CONFIG_BT_HCIUART_BCSP=y CONFIG_BT_HCIUART_BCSP_TXCRC=y
Tambien uhci
lsmod | grep hc hci_usblsmod | grep hc hci_usb 17416 4 slhc 8704 1 ppp_generic hci_vhci 8320 0 bluetooth 54532 16 rfcomm,hci_usb,bnep,hci_vhci,bfusb,bpa10x,hidp,l2cap uhci_hcd 36240 0 ohci1394 38452 0 ohci_hcd 23428 0 ehci_hcd 37512 0 slhc 8704 1 ppp_generic hci_vhci 8320 0 bluetooth 54532 16 rfcomm,hci_usb,bnep,hci_vhci,bfusb,bpa10x,hidp,l2cap uhci_hcd 36240 0 ohci1394 38452 0 ohci_hcd 23428 0 ehci_hcd 37512 0
En el kernel:
cat /usr/src/linux/.config | grep HC | grep y CONFIG_IP_PNP_DHCP=y CONFIG_BT_HCIUSB_SCO=y CONFIG_BT_HCIUART_H4=y CONFIG_BT_HCIUART_BCSP=y CONFIG_BT_HCIUART_BCSP_TXCRC=y CONFIG_USB_ARCH_HAS_HCD=y CONFIG_USB_ARCH_HAS_OHCI=y CONFIG_USB_EHCI_SPLIT_ISO=y CONFIG_USB_EHCI_ROOT_HUB_TT=y CONFIG_USB_OHCI_LITTLE_ENDIAN=y
lsusb Bus 003 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Versiones:
dpkg -l | grep blue ii bluez-firmware 1.0-3 Firmware for Bluetooth devices ii bluez-hcidump 1.28-1 Analyses Bluetooth HCI packets ii bluez-pin 0.30-2 Bluetooth PIN helper with D-BUS support ii bluez-utils 2.24-1 Bluetooth tools and daemons ii gnome-bluetooth 0.6.0-1 GNOME Bluetooth tools. ii gtk2-engines-lighthouseblue 2.6.7-1 LighthouseBlue theme for GTK+ 2.x ii gtk2-engines-spherecrystal 0.7-11 A blue vector theme for GTK+ 2.x ii kdebluetooth 0.99+1.0beta1-6+b1 KDE Bluetooth Framework ii kdebluetooth-irmcsync 0.99+1.0beta1-6+b1 IrMCSync Konnector for kitchensync ii kernel-patdpkg -l | grep blue ii bluez-firmware 1.0-3 Firmware for Bluetooth devices ii bluez-hcidump 1.28-1 Analyses Bluetooth HCI packets ii bluez-pin 0.30-2 Bluetooth PIN helper with D-BUS support ii bluez-utils 2.24-1 Bluetooth tools and daemons ii gnome-bluetooth 0.6.0-1 GNOME Bluetooth tools. ii gtk2-engines-lighthouseblue 2.6.7-1 LighthouseBlue theme for GTK+ 2.x ii kdebluetooth 0.99+1.0beta1-6+b1 KDE Bluetooth Framework ii kernel-patch-2.6-bluez 20050328-1 Linux Bluetooth protocol stack kernel patche ii libbluetooth1 2.24-1 Library to use the BlueZ Linux Bluetooth sta ii libbluetooth1-dev 2.24-1 Development files for using the BlueZ Linux ch-2.6-bluez 20050328-1 Linux Bluetooth protocol stack kernel patche ii libbluetooth1 2.24-1 Library to use the BlueZ Linux Bluetooth sta ii libbluetooth1-dev 2.24-1 Development files for using the BlueZ Linux
cat bluetooh.sh #! /bin/bash modulos="rfcomm ppp_synctty ppp_async ppp_generic slhc bnep hci_vhci bluetooth \ bcm203x bfusb bpa10x irda hidp l2cap usbserial firmware_class bluetooth shpchp pci_hotplug" case "$1" in start) echo Encendiendo el bluetooth for i in $modulos do modprobe $i done hciconfig hci0 up ;; stop) echo Apagando el scanner for i in $modulos do modprobe -r $i done hciconfig hci0 down killall kio_obex killall kio_file ;; status) lsusb lsmod | grep blue lsmod | grep hci hcitool scan hciconfig hciconfig -a ;; *) echo "Uso: $0 start|stop" exit 1 ;; esac
#hcitool scan Scanning ... 00:16:4E:0A:ED:10 Nokia6630paco
#hciconfig hci0: Type: USB BD Address: 00:14:35:00:00:FA ACL MTU: 192:8 SCO MTU: 64:8 UP RUNNING PSCAN ISCAN RX bytes:95 acl:0 sco:0 events:13 errors:0 TX bytes:47 acl:0 sco:0 commands:10 errors:0
# hciconfig -a hci0: Type: USB BD Address: 00:14:35:00:00:FA ACL MTU: 192:8 SCO MTU: 64:8 UP RUNNING PSCAN ISCAN RX bytes:95 acl:0 sco:0 events:13 errors:0 TX bytes:47 acl:0 sco:0 commands:10 errors:0 Features: 0xff 0xff 0x8f 0xf8 0x18 0x18 0x00 0x80 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: Link mode: SLAVE ACCEPT Name: 'CSR - bc3' Class: 0x000000 Service Classes: Unspecified Device Class: Miscellaneous, HCI Ver: 1.2 (0x2) HCI Rev: 0x639 LMP Ver: 1.2 (0x2) LMP Subver: 0x639 Manufacturer: Cambridge Silicon Radio (10)
cat /etc/bluetooth/hcid.conf # HCI daemon configuration file. options { autoinit yes; security user; pairing multi; pin_helper /etc/bluetooth/pin; } device { name "BLuez Linux (%d)"; class 0x3e0100 iscan enable; pscan enable; lm accept; #encrypt enable; lp hold,sniff,park; }
cat /etc/bluetooth/pin #!/bin/sh echo "PIN:1234"
Yo me descarge el fichero de la web del proyecto: p3nfs-5.19.tar.gz
Hay que instalar el fichero .sys
Sistema de Ficheros:
df /mnt/psion/ Filesystem 1K-blocks Used Available Use% Mounted on localhost:/dev/rfcomm0 43004 22404 20600 53% /mnt/psion
Formatos:
Ubicaciones:
Fotos: /mnt/psion/E\:/Images/ MP3: /mnt/psion/E\:/Sounds/Digital/ Videos: /mnt/psion/E\:/Videos/
Crear el nodo:
mknod --mode 666 /dev/rfcomm0 c 216 0
Permisos:
chmod 0666 /dev/rfcomm*
Canal:
rfcomm rfcomm0: 00:16:4E:0A:ED:10 channel 13 closed
Conectar en linux:
rfcomm bind /dev/rfcomm0 00:16:4E:0A:ED:10 13 /sof/p3nfs/p3nfs-5.19/bin/p3nfsd -series60 -tty /dev/rfcomm0
Activar en el movil NFS
ls /mnt/psion dr-x------ 6 root root 1024 Dec 31 15:39 . drwxr-xr-x 12 paco users 4096 Dec 30 15:01 .. drwx------ 7 root root 1024 Dec 31 15:39 C: drwx------ 6 root root 1024 Dec 31 15:39 D: drwx------ 8 root root 1024 Dec 31 15:39 E: dr-x------ 6 root root 1024 Dec 31 15:39 Z:
Podemos exportar los contactos de kmail a formato vcard v.2.1 y después enviarlo al movil, para meter facilmente la agenda. Tambien se puede mandar del móvil al pc.
bluetooth:/
El telefono nokia puede ser programado para recoger radares de velocidad, cuando programes el móvil, el telefono recogera el radar y te alertara con un mensaje de audio.
Desafortunadamente sólo los móviles nokia tienen esta función.
La información de Celula necesita ser desactivada:
Cada vez que apages el telefono, o incluso cada vez que pierda conctacto con tu señal portadora, deberás activar lo otra vez el grupo cerrado.
*#0000# o *#51x0# o *#9999#
*#92772689#
*#06#
*3370# to activate EFR. Makes calls sound better, but decreases battery life about 5%. #3370# to deactivate EFR
*4720# to activate HFR. Decreases call quality but increases battery life by about 30%. #4270# to deactivate HFR.
12345
*#92702689# [*#war0anty#] asks warranty code. You can then type a number of
6232
7332
7832
9268
37832
87267
This document was generated using the LaTeX2HTML translator Version 2002-2-1 (1.71)
Copyright © 1993, 1994, 1995, 1996,
Nikos Drakos,
Computer Based Learning Unit, University of Leeds.
Copyright © 1997, 1998, 1999,
Ross Moore,
Mathematics Department, Macquarie University, Sydney.
The command line arguments were:
latex2html nokia -split 0 -local_icons 1 -show_section_numbers -no_auto_link -no_navigation
The translation was initiated by on 2006-02-16