alberkman, un Universitario Libre

Información

Tu N# de IP es: 38.107.191.96

Buscador


Enlaces de Interés

Internet + Nokia 5200 + Bluetooth + ASUKA (Mi Ex-Laptop)

Hace unos días me compré un teléfono digitel, un Nokia 5200 (pueden ver especificaciones en la página mesma de digitel), Leyendo el blog de Jhuss y el de Phenobarbital, encontré la manera de como conectar mi teléfono via bluetooth con mi portátil, aquí les dejo lo que hice:

Necesitas los siguientes paquetes:

  • bluez-libs
  • bluez-utils
  • bluez-firmware
  • bluez-hcidump
  • ppp
  • wvdial

$ hcitool scan

XX:XX:XX:XX:XX:A0

$ sdptool browse XX:XX:XX:XX:XX:A0


Browsing XX:XX:XX:XX:XX:A0 ...

Service Name: Dial-up networking

Service RecHandle: 0x10078

Service Class ID List:

"Dialup Networking" (0x1103)

"Generic Networking" (0x1201)

Protocol Descriptor List:

"L2CAP" (0x0100)

"RFCOMM" (0x0003)

Channel: 1

Language Base Attr List:

code_ISO639: 0x656e

encoding: 0x6a

base_offset: 0x100

Profile Descriptor List:

"Dialup Networking" (0x1103)

Version: 0x0100

$ vim /etc/bluetooth/rfcomm.conf


rfcomm0 {

# Automatically bind the device at startup

bind yes;

# Bluetooth address of the device

device XX:XX:XX:XX:XX:A0;

# RFCOMM channel for the connection

channel 1;

# Description of the connection

comment "Example Bluetooth device";

}

Ahora, procedemos a hacer una conexion hacia nuestro celular:

$ hcitool cc XX:XX:XX:XX:XX:A0

Luego enlazar nuestro celular al dispositivo rfcomm0:

$ rfcomm bind /dev/rfcomm0 XX:XX:XX:XX:XX:A0

Editamos el wvdial.conf (también se puede usar pppconfig):

$ vim /etc/wvdial.conf


[Dialer digitel]

Modem = /dev/rfcomm0

Baud = 115200

Init1 = ATZ

Init2 = ATQ0 V1 E1 S0=0 &C1 &D2

Area Code =

Phone = *99#

Username = guest

Password = guest

Ask Password = 0

Dial Command = ATD

Stupid Mode = 1

Compuserve = 0

Force Address =

Idle Seconds = 3000

DialMessage1 =

DIalMessage2 =

ISDN = 0

Auto DNS = 1

Luego como root: $ wvdial digitel

Listo !, tengo conectado nuestro teléfono via bluetooth con mi laptop.

  • NOTA [1]: Para lograr que el teléfono se conectara, tuve que bajar el manual del teléfono que se encuentra en la misma página de digitel para configurar la conexión web.
  • NOTA [2]: Puede que haga falta configurar el bluetooth, eso se hace editando el archivo /etc/bluetooth/hcid.conf.