Sabtu, 28 Maret 2009

Koneksi Internet Dengan Bluetooth Sony Ericsson K630i di openSUSE 11.0

1.Pairing bluetooth HP anda terlebih dahulu.
2.Gunakan tool ’sdptool’ untuk mendapatkan informasi address bluetooth hp.

syahal@redarix:~> sdptool search dun
Inquiring …
Searching for dun on 00:1F:E4:4E:41:A7 …
Service Name: Dial-up Networking
Service RecHandle: 0x2008003
Service Class ID List:
"Dialup Networking" (0x1103)
"Generic Networking" (0x1201)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 1
Profile Descriptor List:
"Dialup Networking" (0x1103)
Version: 0x0101

3. Masuk sebagai root, kemudian konfigurasi file /etc/bluetooth/rfcomm.conf:
isi dari file rfcomm.conf.

rfcomm0 {
# Automatically bind the device at startup
bind yes;

# Bluetooth address of the device
device 00:1F:E4:4E:41:A7;

# RFCOMM channel for the connection ( ikuti channel 1, berdasarkan hasil dari ’sdptool’ )
channel 1;

# Description of the connection
comment "SE K630i";
}

4. Binding address bluetooth hp ke device /dev/rfcomm0, gunakan perintah ini :

redarix:/home/syahal # rfcomm bind 0 00:1F:E4:4E:41:A7

5. Periksa hasil binding device :

redarix:/home/syahal # ls -l /dev/rfcomm0
crw-rw—- 1 root root 216, 0 2009-03-28 09:32 /dev/rfcomm0

6. Gunakan wvdial untuk dial ke internet. konfigurasi /etc/wvdial.conf

[Dialer K630i]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","indosatm2"
Modem = /dev/rfcomm0
Phone = *99#
Username = UsernameAnda
Password = PasswordAnda
Stupid Mode = 1
Dial Command = ATDT
Auto DNS = 1

Simpan, untuk "indosatm2", gunakan acess point provider anda.

7. Siap untuk dial ke internet:

redarix:~ # wvdial K630i
–> WvDial: Internet dialer version 1.60
–> Cannot get information for serial port.
–> Initializing modem.
–> Sending: ATZ
ATZ
OK
–> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
–> Sending: AT+CGDCONT=1,"IP","indosatm2"
AT+CGDCONT=1,"IP","indosatm2"
OK
–> Modem initialized.
–> Idle Seconds = 300, disabling automatic reconnect.
–> Sending: ATDT*99#
–> Waiting for carrier.
ATDT*99#
CONNECT
~[7f]}#@!}!}!} }9}#}%B#}%}(}"}’}"}"}&} } } } }%}&UA; L}-~
–> Carrier detected. Starting PPP immediately.
–> Starting pppd at Sat Mar 28 09:55:00 2009
–> Pid of pppd: 13261
–> Using interface ppp0
–> pppd: p�[06][08]��[06][08]@�[06][08]
–> pppd: p�[06][08]��[06][08]@�[06][08]
–> pppd: p�[06][08]��[06][08]@�[06][08]
–> pppd: p�[06][08]��[06][08]@�[06][08]
–> pppd: p�[06][08]��[06][08]@�[06][08]
–> local IP address 114.58.63.98
–> pppd: p�[06][08]��[06][08]@�[06][08]
–> remote IP address 10.64.64.64
–> pppd: p�[06][08]��[06][08]@�[06][08]
–> primary DNS address 202.155.0.10
–> pppd: p�[06][08]��[06][08]@�[06][08]
–> secondary DNS address 202.155.0.15
–> pppd: p�[06][08]��[06][08]@�[06][08]
–> Script /etc/ppp/ip-up run successful
–> Default route Ok.
–> Nameserver (DNS) Ok.

8. Selesai.

1 comments:

justsigit mengatakan...

thanks bro buat tipnsya,..its worked!!!

oya ada tips buat konekin hp sebagai server smsc pake bluetooth gak?aku bingung ne konfigurasinya,..thx b4

Posting Komentar