HP (LG KG195) dengan Operator IM3
-
Tancapkan usb Bluetooth anda
-
Maka dipojok kanan akan mucul Bluetooth Manager
-
Klik kanan Bluetooth Manager, pilih Preference
-
Aktifkan Network Service pada tab menu Services
-
Kemudian lakukan pairing (penjodohan kali) HP anda dengan bluetooth di ubuntu, jika berhasil maka akan muncul;
Bonding with 00:0D:92:08:41:A5 (Lowo Ijo)
-
Setelah dapat dipairing maka buka Terminal
-
Cek usb bluetooth dengan perintah;
$lsusb
hasilnya:
Bus 005 Device 003: ID 090c:1000 Feiya Technology Corp. Memory Bar
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 003: ID 1131:1001 Integrated System Solution Corp. KY-BT100 Bluetooth Adapter
Bus 002 Device 002: ID 03f0:7604 Hewlett-Packard Deskjet 3940
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 004: ID 15ca:00c3
Bus 001 Device 001: ID 0000:0000
Kalau sudah muncul bluetooth anda (cetak tebal), maka berarti bluetooth terdeteksi
-
Edit hcid.conf, pada bagian Option; security user diganti dengan security auto (cetak tebal), save lalu tutup gedit.
Masukkan perintah;
$sudo gedit /etc/bluetooth/hcid.conf
maka akan muncul;
#
# 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 user;
# 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 “1234″;
}
# Default settings for HCI devices
device {
# Local device name
# %d – device id
# %h – host name
name “%h-%d”;
# Local device class
class 0×000100;
# Default packet type
#pkt_type DH1,DM1,HV1;
# Inquiry and Page scan
iscan enable; pscan enable;
discovto 0;
# Default link mode
# none – no specific policy
# accept – always accept incoming connections
# master – become master on incoming connections,
# deny role switch on outgoing connections
lm accept;
# Default link policy
# none – no specific policy
# rswitch – allow role switch
# hold – allow hold mode
# sniff – allow sniff mode
# park – allow park mode
lp rswitch,hold,sniff,park;
}
-
Restart bluetooth service dengan perintah;
$sudo /etc/init.d/bluetooth restart
maka pada bluetooth manager akan muncul notifikasi ubuntu discoverable (kalau tidak muncul, setting pada bluetooth manager ke discoverable)
-
Temukan MAC address bluetooth anda dengan perintah;
$hcitool scan
maka akan muncul;
Scanning …
00:0D:92:08:41:A5 Lowo Ijo
Nah muncul MAC address bluetooth anda (00:0D:92:08:41:A5 Lowo Ijo )
-
Kemudian cari channel (cetak tebal) dial up dengan perintah;
$sdptool search DUN
maka akan muncul;
Inquiring …
Searching for DUN on 00:0D:92:08:41:A5 …
Service Name: Dial-up networking
Service RecHandle: 0×10000
Service Class ID List:
“Dialup Networking” (0×00001103)
Protocol Descriptor List:
“L2CAP” (0×00000100)
“RFCOMM” (0×00000003)
Channel: 1
Profile Descriptor List:
“Dialup Networking” (0×00001103)
Version: 0×0100
-
Setelah mengetahui MAC address dan Channel bluetooth anda, maka masukkan perintah;
$sudo gedit /etc/bluetooth/rfcomm.conf
maka akan muncul;
#
# RFCOMM configuration file.
#
#rfcomm0 {
# # Automatically bind the device at startup
# bind no;
#
# # Bluetooth address of the device
# device 11:22:33:44:55:66;
#
# # RFCOMM channel for the connection
# channel 1;
#
# # Description of the connection
# comment “Example Bluetooth device”;
#}
ganti yang dicetak tebal dengan;
bind yes;
device 00:0D:92:08:41:A5; (address bluetooth anda tadi)
channel 1;
comment “im3”
-
Lalu jalankan perintah (sudo rfcomm bind 0 <MAC address> <Channel>)
$sudo rfcomm bind 0 00:0D:92:08:41:A5 1
-
Edit file wvdial.conf, dengan perintah;
$sudo gedit /etc/wvdial.conf
hasilnya;
[Dialer Defaults]
Phone =
Username =
Password =
New PPPD = yes
Ubah menjadi;
Untuk IM3 dan Mentari:
[Dialer im3]
Modem = /dev/rfcomm0
Baud = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = at+cgdcont=1,”ip”,”indosatgprs”
Modem Type = Analog Modem
ISDN = 0
Phone = *99***1#
Username = “indosat”
Password = “indosat”
New PPPD = yes
Untuk XL:
[Dialer xlgprs]
Modem = /dev/rfcomm0
Baud = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = at+cgdcont=1,”ip”,”www.xlgprs.net”
Modem Type = Analog Modem
ISDN = 0
Phone = *99***1#
Username = “xlgprs”
Password = “proxl”
New PPPD = yes
Untuk Telkomsel:
[Dialer telkomsel]
Modem = /dev/rfcomm0
Baud = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = at+cgdcont=1,”ip”,”telkomsel”
Modem Type = Analog Modem
ISDN = 0
Phone = *99***1#
Username = “wap”
Password = “wap123″
New PPPD = yes
Untuk Flexi:
[Dialer flexi]
Modem = /dev/rfcomm0
Baud = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = at+crm=1;+cso=33
Modem Type = Analog Modem
ISDN = 0
Phone = #777
Username = “telkomnet@flexi”
Password = “telkom”
New PPPD = yes
Untuk Starone:
[Dialer starone]
Modem = /dev/rfcomm0
Baud = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = at+crm=1;+cso=33
Modem Type = Analog Modem
ISDN = 0
Phone = #777
Username = “starone”
Password = “indosat”
New PPPD = yes
-
Sekarang kita coba dengan perintah ($wvdial <nama dialer>);
$wvdial im3
-
Lalu jalankan Firefox, semoga sukse.
-
Kalau ingin stop koneksi, tekan CTRL+C pada terminal
NB;
Kalau pingin konek lagi setelah komputer shutdown, coba pairing lagi dulu lalu jalankan wvdial