Posted by: agusray | May 19, 2008

Internet GPRS via Bluetooth di Linux

HP (LG KG195) dengan Operator IM3

  1. Tancapkan usb Bluetooth anda

  2. Maka dipojok kanan akan mucul Bluetooth Manager

  3. Klik kanan Bluetooth Manager, pilih Preference

  4. Aktifkan Network Service pada tab menu Services

  5. 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)

  6. Setelah dapat dipairing maka buka Terminal

  7. 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

  8. 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 0x000100;

    # 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;

    }

  9. 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)

  10. 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 )

  11. 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: 0x10000

    Service Class ID List:

    “Dialup Networking” (0x00001103)

    Protocol Descriptor List:

    “L2CAP” (0x00000100)

    “RFCOMM” (0x00000003)

    Channel: 1

    Profile Descriptor List:

    “Dialup Networking” (0x00001103)

    Version: 0x0100

  12. 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”

  13. Lalu jalankan perintah (sudo rfcomm bind 0 <MAC address> <Channel>)

    $sudo rfcomm bind 0 00:0D:92:08:41:A5 1

  14. 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

  15. Sekarang kita coba dengan perintah ($wvdial <nama dialer>);

    $wvdial im3

  16. Lalu jalankan Firefox, semoga sukse.

  17. Kalau ingin stop koneksi, tekan CTRL+C pada terminal

    NB;

    Kalau pingin konek lagi setelah komputer shutdown, coba pairing lagi dulu lalu jalankan wvdial

Advertisements
Posted by: agusray | May 17, 2008

Merestore GRUB

1. Masukkan Live CD Ubuntu

2. Masuk ke Terminal

3. Pindah ke root

$su

4. Jalankan perintah

# /sbin/grub

grub>

grub>help

grub>root (hd0,1)

grub>find /grub/stage1

grub>setup (hd0)

grub>quit

sukses

atau dengan perintah:

#grub-install hd0

« Newer Posts

Categories