transfer file antara etch – e398 via bluetooth..

karena koneksi kabel usb bawaan motorola e398(rokr hacked..)ku agak payah…iseng2 aku nyoba transfer file pake bluetooth ke e398ku….ternyata debian (linux) dahsyat banget…aku kira bakalan sulit nyetting bluetooth di linux….ternyata mengasyikkan…(perlu kesabaran + gak nyerah….hehe…)

pertama…linux menyediakan library bluez buat koneksi dengan bluetooth….makanya install-lah paket2 berikut :

#aptitude install bluetooth bluez-utils

jika service belum aktif….jalankan service bluetooth… dg cara:

#/etc/init.d/bluetooth start

hubungkan bluetooth km dg pc via usb, berikut yg terjadi di pc saya:

root@icarus:~# lsusb
Bus 002 Device 002: ID 1131:1001 Integrated System Solution Corp. KY-BT100 Bluetooth Adapter
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 002: ID 03f0:7804 Hewlett-Packard
Bus 001 Device 001: ID 0000:0000

baris kedua menyatakan jenis bluetooth saya, aktifkan bluetooth hp lalu scan pake:

root@icarus:/etc# hcitool scan
Scanning …
00:14:9A:E3:D8:AF Sid

akan didapatkan alamat device bluetooth tadi, serta nama bluetoothnya (Sid). sedangkan bluetooth yg ada di pc akan mempunyai alamat 11:11:11:11:11:11 dan bernama hostname-0

sekarang koneksikan bluetoothnya:

root@icarus:/etc# hcitool cc 00:14:9A:E3:D8:AF

and then…tes kualitas koneksinya…

root@icarus:/etc# hcitool lq 00:14:9A:E3:D8:AF
Link quality: 255

coba ping hpmu…ya…di ping….hehe :D

root@icarus:/etc# l2ping 00:14:9A:E3:D8:AF
Ping: 00:14:9A:E3:D8:AF from 11:11:11:11:11:11 (data size 44) …
44 bytes from 00:14:9A:E3:D8:AF id 0 time 47.35ms
44 bytes from 00:14:9A:E3:D8:AF id 1 time 42.42ms
44 bytes from 00:14:9A:E3:D8:AF id 2 time 44.56ms
44 bytes from 00:14:9A:E3:D8:AF id 3 time 43.93ms
44 bytes from 00:14:9A:E3:D8:AF id 4 time 44.75ms
44 bytes from 00:14:9A:E3:D8:AF id 5 time 42.47ms
44 bytes from 00:14:9A:E3:D8:AF id 6 time 43.24ms

klo keluar seperti itu selamat…hpmu udah konek sama pc…:)

lalu klo udah konek mau ngapain….sebenarnya klo sudah begini km bisa lakukan banyak dg hp mu….bisa internetan pk gprs kayak ini, atau ini. bisa juga jadi voice gateway….ato juga buat file transfer kayak yang aku coba ini…

agar pc bisa membuka dan saling bertukar file di hpmu dibutuhkan utilities yg sesuai dg filesystem hp…install-lah paket berikut:

#apt-get install obexfs obexftp obexpushd

untuk mengirim file dari pc ke hpmu, pake obexftp….perintahnya sbg berikut :

root@icarus:~# obexftp -b 00:14:9A:E3:D8:AF -p /dari_c/Ringtone/Message.mp3
Browsing 00:14:9A:E3:D8:AF …
Channel: 9
Connecting…done
Sending “Message.mp3″…\done
Disconnecting…done

ada cara yg lebih mudah pake gui…klo km pake kde pakelah kdebluetooth, klo km cinta mati gnome…ada bluez-gnome koq…tenang aja…kebetulan aku lagi pake kde, jadi:

#aptitude install kdebluetooth

jalankan programnya di apps > internet > kdebluetoothd Bluetooth Server, hingga muncul icon bluetooth pada systray anda. klik-kanan pilih open-recent > nama_bluetoothmu akan di load konqueror dg url sdp://nama_bluetoothmu/

sdp

terlihat banyak service yg tersedia….selanjutnya pilihlah OBEX file transfer

obex

akan terlihat struktur direktori seperti pada hpmu… dg url obex://[device addres]:channel/ disini km bisa copy and paste file2 yang mau km transfer layaknya fs biasa…..(itu lah fungsinya obexfs…)

semoga bermanfaat….:D

thx to: ini, ini dan ini

0 Responses to “transfer file antara etch – e398 via bluetooth..”



  1. No Comments Yet

Leave a Reply




i’m being hibernate

see you next time...

 

July 2007
M T W T F S S
« Jun   Aug »
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Archives