Thursday, February 12, 2009

Akses IndosatM2 dengan WVDIAL dan Gnome-PPP

cara ini menggunakan cara mode teks, dengan menggunakan aplikasi wvdial, hampir semua modem deteksi dan konfigurasinya menggunakan wvdial jika menggunakan interface console/terminal, beda apabila menggunakan interface GUI/Desktop kita bisa menggunakan gnome-ppp atau kppp...
silahkan dicoba...!!!!


  • pake WVDIAL, install dulu wvdialnya kalau belum ada
    # apt-get install wvdial
    buat/edit file /etc/wvdial.conf, berisi
    [Dialer Defaults]
    Init1 = ATZ
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
    Init3 = AT+CGDCONT=1,"IP","indosatm2"
    Modem = /dev/ttyUSB0
    Baud = 3600000
    Area Code =
    Phone = *99#
    Username = namauser
    Password = password
    Ask Password = 0
    Dial Command = ATDT
    Stupid Mode = 1
    Compuserve = 0
    Force Address =
    Idle Seconds = 0
    DialMessage1 =
    DialMessage2 =
    ISDN = 0
    Auto DNS = 1

    --> konek dengan cara
    # wvdial
    --> 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
    ATQ0 V1 E1 S0=0 &C1 &D2
    OK
    --> Sending: AT+CGDCONT=1,"IP","indosatm2"
    AT+CGDCONT=1,"IP","indosatm2"
    OK
    --> Modem initialized.
    --> Sending: ATDT*99#
    --> Waiting for carrier.
    ATDT*99#
    CONNECT
    --> Carrier detected. Starting PPP immediately.
    --> Starting pppd at Wed Feb 11 19:28:51 2009
    --> Pid of pppd: 19991
    --> pppd: [18][08]+[08]
    --> Using interface ppp0
    --> pppd: [18][08]+[08]
    --> pppd: [18][08]+[08]
    --> pppd: [18][08]+[08]
    --> pppd: [18][08]+[08]
    --> pppd: [18][08]+[08]
    --> pppd: [18][08]+[08]
    --> pppd: [18][08]+[08]
    --> local IP address 114.58.77.150
    --> pppd: [18][08]+[08]
    --> remote IP address 10.64.64.64
    --> pppd: [18][08]+[08]
    --> primary DNS address 10.11.12.13
    --> pppd: [18][08]+[08]
    --> secondary DNS address 10.11.12.14
    --> pppd: [18][08]+[08]

    cara disconect-nya dengan tombol control+C (^C)


  • Menggunakan Gnome-PPP

    1. Installasi,
      # apt-get install gnome-ppp

    2. Klik menu Application --> Internet --> Gnome PPP

      ==> Isikan "Username" dan "Password" dengan yang Anda miliki.

    3. Klik Setup
      * Untuk deteksi modem yang terpasang, klik tombol "Detect"


    4. Klik Init Strings..

    5. Koneksi Internet

      Klik "Connect" kalau berhasil akan muncul kotak:


Baca lanjutannya ...

Akses Indosat M2 dengan KPPP

Setelah setting modemnya di ubuntu intrepid ibex (8.10), selain koneksi dengan menggunakan wvdial melalui command-line (console), bisa juga menggunakan aplikasi GUI seperti kppp dan gnome-ppp,

  1. Pertama menggunakan KPPP


    1. Istalasi
      # apt-get install kppp

    2. Klik menu Application --> Internet --> KPPP, menampilkan aplikasi kppp,

    3. Klik tombol Configure...,

    4. Buat Account dengan klik tombol New.. klik Manual Setup, isikan pada "Connection name:" "indosatm2"
      pada "Phone number:" klik Add.. isikan nomor telpon indosatm2 "*99#"

    5. Setting modem, klik tab Modems kemudian klim "New.. sehingga berisi seperti gambar ini: kemudian pada tab Modem klik "Modem Commands.." pada baris "Initialization string 1" bisa diisi "ATZ +CGDCONT=1,"ip","indosatm2"" atau "AT+CGDCONT=1,"ip","indosatm2"" kemudian klik "OK"

    6. Kemudian konek ke IndosatM2,
      Sesuaikan "Login ID" dan "Password" dengan yang Anda miliki.
      Kalau sudah berhasil tersambung, akan muncul "billing box",

Baca lanjutannya ...

Wednesday, February 11, 2009

Setting Indosatm2 pada HUAWEI E220 (Vodafone) di UBuntu/LinuxMint

Critanya gini... kemarin, tgl 10Feb09 ada yang minta tlg, cara koneksi ke indosatm2 menggunakan modem usb HUAWEI-E220 keluaran Vodafone, diUbuntu Ibex(8.10), meskipun pas dipasang di PC, device usbnya sudah dikenali oleh Ibex, tapi kalau di konfigurasi dengan cara yang ada pada situs indosatnya.. ga konek-konek.. ah bingung nih...
trus, karena dulu waktu pake Wimode bisa kenapa pake HUAWEI-E220 keluaran Vodafone kok ga bisa y??? nah akal trus mikiirrrrrrrrrrrrrrrr... eh setelah coba2 alhamdulillah bisaaa' percaya ga?? uh senangnya..

caranya sih, ga jauh beda di situs indosatnya.. tapi ada sedikit modifikasi dan tambahan yang perlu dilakukan ...


  1. Download packet ini usb_modeswitch-0.9.4.tar.bz2

  2. extrack file hasil download,
    $ tar jxvf usb_modeswitch-0.9.4.tar.bz2
    nanti menghasilkan direktori/folder usb_modeswitch-0.9.4

  3. copy file usb_modeswitch dan usb_modeswitch.conf, jangan lupa jadi root dulu!
    $ sudo su
    password: xxxxxxx
    # cp usb_modeswitch-0.9.4/usb_modeswitch /usr/sbin
    # cp usb_modeswitch-0.9.4/usb_modeswitch.conf /etc

  4. buat file di /etc/udev/rules.d/ dg nama "15-huawei-e220.rules",
    # vim /etc/udev/rules.d/15-huawei-e220.rules, dengan isi

    #--------------------------------------------------
    ACTION!="add", GOTO="HUAWEI_End"

    # Is this the ZeroCD device?
    SUBSYSTEM=="usb", SYSFS{idProduct}=="1003",
    SYSFS{idVendor}=="12d1", GOTO="HUAWEI_ZeroCD"

    # Is this the actual modem?
    SUBSYSTEM=="usb", SYSFS{idProduct}=="0002",
    SYSFS{idVendor}=="12d1", GOTO="HUAWEI_Modem"

    LABEL="HUAWEI_ZeroCD"
    # This is the ZeroCD part of the card, remove
    # the usb_storage kernel module so
    # it does not get treated like a storage device
    #RUN+="/sbin/rmmod usb_storage"
    RUN+="/usr/sbin/usb_modeswitch -d 1 -v 0x12d1 -p 0x1003 -V 0x12d1 -P 0x0002"

    LABEL="ZTE_Modem"
    # This is the Modem part of the card, let's
    # load usbserial with the correct vendor
    # and product ID's so we get our usb serial devices
    RUN+="/sbin/modprobe usbserial vendor=0x12d1 product=0x0002",
    # Make users belonging to the dialout group
    # able to use the usb serial devices.
    MODE="660", GROUP="dialout"

    LABEL="HUAWEI_End"
    #-------------------- eof ---------------

  5. edit file /etc/usb_modeswitch.conf,
    # vim /etc/usb_modeswitch.conf, cari baris :

    ########################################################
    # Huawei E220 (aka "Vodafone EasyBox II", aka "T-Mobile wnw Box Micro")
    # Huawei E270
    # Huawei E870
    #
    # Two options: 1. removal of "usb-storage" 2. the special control
    # message found by Miroslav Bobovsky
    #
    # Contributor: Hans Kurent, Denis Sutter

    ;DefaultVendor= 0x12d1; <--- hapus tanda ; yg ada didepan baris ini
    ;DefaultProduct= 0x1003 <--- hapus tanda ; yg ada didepan baris ini

    # choose one of these:
    ;DetachStorageOnly=1
    ;HuaweiMode=1 <--- hapus tanda ; yg ada didepan baris ini
    (catatan: jangan lupa pastikan hanya 3 baris ini yang akan kita aktifkan!! tanpa tanda ; atau #)


nah kalau sudah.. untuk koneksinya bisa pakai wvdial atau kppp atau gnome-ppp
Tapi apabila belum bisa, silahkan siKom di reboot dulu
Baca lanjutannya ...