want to earn money from internet. Just click & register at here
well, let try to connect our PC/notebook to internet via bluetooth modem. Tentunya ini untuk OS under Linux ya, kalo Om Win mah tinggal click2 next aja dah bisa connect.. :-)
want to earn money from internet. Just click & register at here
Ok, untuk trial kali ini, perangkat yang akan menjadi 'korban' adalah
Desktop: OS Linux Ubuntu 9.10
Gadget: O2 XDA Graphite (WM 5.0)
Install bluetooth package:
apt-get install bluez-utils
Check bluetooth HW:
check HW bluetooth yang terinstall di Desktop.
root@mamadzus21:~# lsusb | grep -i bluetooth
Bus 003 Device 002: ID 03f0:171d Hewlett-Packard Wireless (Bluetooth + WLAN) Interface [Integrated Module]
want to earn money from internet. Just click & register at here
View bluetooth device:
melihat PIN bluetooth device di Desktop
root@mamadzus21:~# hcitool dev
Devices:
hci0 00:1E:37:DD:8A:74
Scan active bluetooth gadget:
root@mamadzus21:~# hcitool scan
Scanning ...
00:1A:92:68:F2:97 O2 Graphite
Pairing active bluetooth with Ubuntu:
disini kita menggunakan bluez-gnome

Check connection Ubuntu to Gadget:
ini nge-test ping biasa aja, tapi via bluetooth
root@mamadzus21:~# l2ping 00:1A:92:68:F2:97
Ping: 00:1A:92:68:F2:97 from 00:1E:37:DD:8A:74 (data size 44) ...
94 bytes from 00:1A:92:68:F2:97 id 0 time 271.15ms
94 bytes from 00:1A:92:68:F2:97 id 1 time 32.75ms
okeh... sampai sini pastikan dulu, semua dah clear. Lanjut gan.. sunduull teruss...
want to earn money from internet. Just click & register at here
Create rfcomm script:
Selanjutnya kita edit file
mamadzus@mamadzus21:~$ nano /etc/bluetooth/rfcomm.conf
#
# RFCOMM configuration file.
#
rfcomm0 {
# # Automatically bind the device at startup
bind yes;
#
# # Bluetooth address of the device
device 00:1A:92:68:F2:97;
#
# # RFCOMM channel for the connection
channel 4;
#
# # Description of the connection
comment "Dial-up using Bluetooth";
}
yang perlu di-edit yaitu:
device [PIN bluetooth gadget]
channel [channel dial-up modem]
*) untuk meng-check channel berapa gunakan:
root@mamadzus21:~# sdptool browse 00:1A:92:68:F2:97
cari channel diap-up bluetooth modem.
Create dial up script:
next step, install wvdial: root@mamadzus21:~# apt-get install wvdial
berikutnya create file:
root@mamadzus21:~# nano /etc/wvdial.conf
[Dialer Defaults]
#Phone = *99***1 #alternative dial-up number
Phone = *99#
Username = xlgprs # untuk telkomsel, pakai ini juga tidak apa-apa
Password = proxl # idem dgn penjelasan di atas
Stupid Mode = 1
Dial Command = ATDT
want to earn money from internet. Just click & register at here
[Dialer XL]
Modem = /dev/rfcomm0
Baud = 115200
Dial Command = ATDT
Init2 = ATZ
Init3 = ATM0
Init4 = AT+CGDCONT=1,"IP","www.xlgprs.net"
Phone = *99#
Username = xlgprs # untuk telkomsel, pakai ini juga tidak apa-apa
Password = proxl # idem dgn penjelasan di atas
FlowControl= crtscts
Modem Type = Analog Modem
berikut adalah script untuk operator XL Axiata, untuk operatot lainnya not recommended lah pokoknya. Pakai XL harganya murah, koneksi cepat, Nyambung terusss...
Connect to Gadget:
ok, setelah semua configuration file di-edit, tinggal connect aja Gaann...
root@mamadzus21:~# rfcomm connect rfcomm0
Connected /dev/rfcomm0 to 00:1A:92:68:F2:97 on channel 4
Press CTRL-C for hangup
Dial to Provider:
dial pakai Jaringan XL donng...
root@mamadzus21:~# wvdial xl
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATZ
A
OK
--> Sending: ATM0
ATM0
OK
--> Sending: AT+CGDCONT=1,"IP","www.xlgprs.net"
AT+CGDCONT,"",ww.xgps.et
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Mon Jan 11 00:54:26 2010
--> Pid of pppd: 2684
--> Using interface ppp0
--> local IP address 10.199.28.173
--> remote IP address 10.0.0.1
--> primary DNS address 202.152.254.245
--> secondary DNS address 202.152.254.246
akhirnya Linux dan Windows bisa 'kawin' dah... let's enjoy your suft time dude!!! :-)
Any question, please don't shy to contact me direct.
want to earn money from internet. Just click & register at here
thanks
regard,
Mamadzus
ma2d_te@yahoo.com
+62 817 540 4448
2 comments:
ok ok
ok ok...
Post a Comment