A. Sidiq Purnomo

Universitas Mercu Buana Yogyakarta

You are here: » Konfigurasi Modem Prolink PHS100 + IM2 (GSM) card Ubuntu Manual (Wvdial)

Konfigurasi Modem Prolink PHS100 + IM2 (GSM) card Ubuntu Manual (Wvdial)

Library yang dibutuhkan yaitu :

  1. Wvdial (klik link ini)
  2. usb-modeswitch
    >> http://packages.ubuntu.com

Konfigurasi :

  • Pastikan modem telah terpasang pada port USB.
  • Edit file “wvdial.conf”.
  • root@riyaniezt:~# gedit /etc/wvdial.conf

    [Dialer Defaults]
    Init1 = ATZ
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    Modem Type = Analog Modem
    Baud = 9600
    New PPPD = yes
    Modem = /dev/ttyUSB2
    ISDN = 0
    ; Phone = Target-Number-Phone
    ; Password = Your-Password
    ; Username = Your-Login-Name

    Ubah menjadi :

    [Dialer Defaults]
    Init1 = ATZ
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    Init3 = AT+CGDCONT=1,"IP","APN"
    Modem Type = Analog Modem
    Baud = 9600
    New PPPD = yes
    Modem = /dev/ttyUSB2
    ISDN = 0
    Phone = phone-Operator-Anda
    Password = password-Operator-Anda
    Username = username-Operator-Anda

    Keterangan :

    • APN adalah APN dari operator yang kita gunakan misal : indosatm2 (IM2), indosatgprs (IM3).
    • Phone adalah phone dari operator yang kita gunakan misal : *99# (IM2)
  • Konfigurasi ulang wvdial, untuk melakukan konfigurasi otomatis keberadaan port usb yang digunakan untuk modem dengan :
  • root@riyaniezt:~# wvdialconf 
    Editing `/etc/wvdial.conf'.

    Scanning your serial ports for a modem.

    ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
    ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
    ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
    Modem Port Scan<*1>: S1 S2 S3
    WvModem<*1>: Cannot get information for serial port.
    ttyUSB0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
    ttyUSB0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
    ttyUSB0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
    WvModem<*1>: Cannot get information for serial port.
    ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
    ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
    ttyUSB1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
    WvModem<*1>: Cannot get information for serial port.
    ttyUSB2<*1>: ATQ0 V1 E1 -- OK
    ttyUSB2<*1>: ATQ0 V1 E1 Z -- OK
    ttyUSB2<*1>: ATQ0 V1 E1 S0=0 -- OK
    ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
    ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
    ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
    ttyUSB2<*1>: Modem Identifier: ATI -- Manufacturer: PROLINK
    ttyUSB2<*1>: Speed 9600: AT -- OK
    ttyUSB2<*1>: Max speed is 9600; that should be safe.
    ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

    Found a modem on /dev/ttyUSB2.
    Modem configuration written to /etc/wvdial.conf.
    ttyUSB2: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
    root@riyaniezt:~#

  • Mulai berselancar ria (connect) dengan :
  • root@riyaniezt:~# 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 +FCLASS=0
    ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    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. Waiting for prompt.
    --> Don't know what to do! Starting pppd and hoping for the best.
    --> Starting pppd at Wed Nov 17 11:56:30 2010
    --> Pid of pppd: 10850
    --> Using interface ppp0
    --> pppd: (�[12] @�[12] �[12]
    --> pppd: (�[12] @�[12] �[12]
    --> pppd: (�[12] @�[12] �[12]
    --> pppd: (�[12] @�[12] �[12]
    --> pppd: (

    Print Friendly, PDF & Email
Posted by 0 Responses
 

Free Email Newsletter

Stay Updates with this Blog. Get Free email newsletter updates..

And then confirm your email subcription

   

No Comment to “Konfigurasi Modem Prolink PHS100 + IM2 (GSM) card Ubuntu Manual (Wvdial)”

  1. No Comment yet. Be the first to comment...
Leave your comment here:

Secure * Time limit is exhausted. Please reload the CAPTCHA.

Jul
8
2010