Selamat Datang ! Semoga Mendapat Banyak Informasi Berguna Dari Blog ruszly proxsyverzs-comunity ini. Buat ditunggu kunjungan berikutnya, Terimakasih.
WELCOME TO MY BLOG RUSLI PROXSYVERZS-COMUNITY

Selasa, 09 November 2010

cara menyambungkan bluethoot sbagai jaringan internet

ini tidak dijamin 100% aman, tapi berjalan dengan baik…

Config file anda yang terletak di :

/etc/bluetooth
-
edit rfcomm.conf and main.conf

/etc/bluetooth/rfcomm.conf
#
# RFCOMM configuration file.

#

rfcomm0 {
# # Automatically bind the device at startup
bind yes;
#
# # Bluetooth address of the device
device 00:26:CC:8A:24:59; #MAC asli saya, hack me
#
# # RFCOMM channel for the connection
# run sdptool browse to get the DUN chan
channel 1; #S40 DUN
#
# # Description of the connection
comment “Dial-Up Networking”;
}

/etc/bluetooth/main.conf
[General]
# List of plugins that should not be loaded on bluetoothd startup
#DisablePlugins = network,input

# Default adaper name
# %h – substituted for hostname
# %d – substituted for adapter id
#Name = %h-%d
Name = BT4_BOX_AndA

# Default device class.
#Class = 0×000100
Class = 0x0a010c # run “hciconfig hci0 class”

# How long to stay discoverable
# The value is in seconds. Default is 180, i.e. 3 minutes.
# 0 = disable timer, i.e. stay discoverable forever
DiscoverableTimeout = 0

# Use other page timeout than the controller default one
# (16384 = 10 seconds)
PageTimeout = 8192

# Behaviour for Adapter.SetProperty(“mode”, “off”)
# Possible values: “DevDown”, “NoScan” (default)
OffMode = NoScan

# Discover scheduler interval used in Adapter.DiscoverDevices
# The value is in seconds.
# Defaults is 0 to use controller scheduler
DiscoverSchedulerInterval = 0

/etc/ppp/peers
-
Buat file “BluetoothDialup”

/etc/ppp/peers/BluetoothDialup

debug
noauth
connect “/usr/sbin/chat -v -f /etc/chatscripts/BluetoothDialup”
usepeerdns
/dev/rfcomm0 115200
defaultroute
crtscts
lcp-echo-failure 0

/etc/chatscripts
-
Buat file “BluetoothDialup” ( ya, nama yang sama seperti diatas)

/etc/chatscripts/BluetoothDialup
TIMEOUT 35
ECHO ON
ABORT ‘\nBUSY\r’
ABORT ‘\nERROR\r’
ABORT ‘\nNO ANSWER\r’
ABORT ‘\nNO CARRIER\r’
ABORT ‘\nNO DIALTONE\r’
ABORT ‘\nRINGING\r\n\r\nRINGING\r’
” \rAT
OK ‘AT+CGDCONT=1, “IP”, “INTERNET”‘
OK ATD*99#
CONNECT “”

note: Di baris
OK ATD*99# ini adalah dial-up nomor anda (default),

note: Di baris
OK ‘AT+CGDCONT=1, “IP”, “INTERNET”‘

bagian ini sangat penting terutama pada entry “INTERNET” , ini harus sesuai dengan layanan ponsel anda tapi info yang benar untuk skrip adalah “INTERNET” . jika anda mendapatkan error dan dibutuhkan untuk berlangganan, anda mendapatkan suatu kesalahan.

/var/lib/MAC_BT4_BLUETOOTHDEVICE_ANDA/
-
Buatlah sebuah file dengan nama “pincodes”
Masukkan dalam satu baris…
/var/lib/MAC_BT4_BLUETOOTHDEVICE_Anda/pincodes

YOUR_PHONES_MAC PIN

contoh:
00:11:22:33:44:55 1234

-

restart bt daemon…
user@bt~#/etc/init.d/bluetooth restart

untuk menghubungkan gunakan perintah…
user@bt~#pon BluetoothDialup

untuk disconnect gunakan perintah…
user@bt~#poff BluetoothDialup

0 komentar:

Posting Komentar

rusli proxsyverzs © 2008 Template by:
SkinCorner