Sabtu, 05 November 2011

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

0 komentar:

Posting Komentar