====== G.P.L. ======
(c) De Leo Francesco
=================
In questo momento, mentre scrivo, sto utilizzando il mio videofonino umts LG U900 per navigare in internet - opzione naviga 3 7 giorni della Tre - tramite bluetooth, dopo che nei giorni scorsi mi sono connesso tramite cavo usb. Dimenticavo, uso Debian Lenny - Gnome.
Prima di tutto, attivate il bluetooth sul telefonino, controllate che in "Rete accesso" sia scelta l'opzione "Bluetooth".
Procedura:
- nel file
/etc/default/bluetooth
opzione DUND_ENABLED da 0 a 1
poi come root tramite terminale date un bel
/etc/init.d/bluetooth restart
sdptool browse indirizzo_dispositivo - 00:11:22:33:44:55
per es. - vi saranno elencati i servizi a cui potete accedere tramite blutooth; a noi interessa questa parte:
... Service Name: Bluetooth Modem Service RecHandle: 0x10007 Service Class ID List: "Dialup Networking" (0x1103) Protocol Descriptor List: "L2CAP" (0x0100) "RFCOMM" (0x0003) Channel: 8 Language Base Attr List: code_ISO639: 0x656e encoding: 0x6a base_offset: 0x100 Profile Descriptor List: "Dialup Networking" (0x1103) Version: 0x0100
Il canale usato per il modem è il numero 8 (Channel: 8);
/etc/bluetooth/rfcomm
Il mio (inserite in device l'indirizzo del vostro telefonino - vedi punto 2); in channel il canale che dovrebbe essere 8 anche per voi):
# # RFCOMM configuration file. # rfcomm0 { # # Automatically bind the device at startup bind yes; # # # Bluetooth address of the device device 00:11:22:33:44:55; # # # RFCOMM channel for the connection channel 8; # # # Description of the connection comment "LG U900 Modem Bluetooth Device"; }
il mio:
# # 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; # Default PIN code for incoming connections passkey "6666"; }
[Dialer Defaults] Modem = /dev/rfcomm0 Baud = 460800 Init1 = AT&F Init2 = AT+CGDCONT=1,"IP","naviga.tre.it",,0,0 ISDN = 0 Modem Type = Analog Modem Carrier Check = no Phone = *99# Username = tre Password = tre
/etc/init.d/bluetooth restart
wvdial --config lgu900-BT.wvdial
[+]per controllare il traffico (gli unici valori da prendere in considerazione sono quelli rilevabili dall'area clienti):
come root:
pppstats -a -w 20
(ovvero mostra tra l'altro il traffico cumulativo in entrata e in uscita ogni venti secondi);
Allegato | Dimensione |
---|---|
btLGu900.png | 65.73 KB |
Commenti
Inviato da brandnewtoy il Sab, 28/08/2010 - 16:08.
Re: LG U900: in internet - UMTS - tramite bluetooth. How-To.
Ottima guida....