Home » » Cara Install Wvdial pada Backtrack 5/Linux

Cara Install Wvdial pada Backtrack 5/Linux

Disini saya akan sharing tentang software Linux. Salah satunya Wvdial. Wvdial ini dibutuhkan, jika kita menggunakan koneksi Internet, terutama Modem. Terkadang ada Modem yang hanya bisa di koneksikan dengan windows saja, tetapi tidak bisa di koneksikan melalui Linux. Jadi, kita harus download wvdial tersebut melalui windows. File yang harus di download antara lain :

Untuk Linux x86

1. libwvstreams4.6-base_4.6-2_i386.deb
2. libwvstreams4.6-extras_4.6-2_i386.deb
3. libxplc0.3.13_0.3.13-2ubuntu2_i386.deb
4. usb-modeswitch_1.0.2-1_i386.deb
5. libuniconf4.6_4.6-2_i386.deb
6. libnss3-1d_3.12.6-0ubuntu0.8.04.1_i386.deb
7. wvdial_1.60.1+nmu2ubuntu1_i386.deb

Kalian dapat download file lengkap-nya disini

Untuk Linux x64

1. libwvstreams4.6-base_4.6-2_amd64.deb
2. libwvstreams4.6-extras_4.6-2_amd64.deb
3. libxplc0.3.13_0.3.13-2ubuntu2_amd64.deb
4. usb-modeswitch_1.0.2-1_amd64.deb
5. libuniconf4.6_4.6-2_amd64.deb
6. libnss3-1d_3.12.6-0ubuntu0.8.04.1_amd64.deb
7. wvdial_1.60.1+nmu2ubuntu1_amd64.deb

Jika semua file sudah di download, mari kita install pada Linux. Pertama-tama buka terminal, kemudian ketikkan perintah ini :

Untuk Linux x86

$ sudo dpkg -i libwvstreams4.6-base_4.6-2_i386.deb
$ sudo dpkg -i libwvstreams4.6-extras_4.6-2_i386.deb
$ sudo dpkg -i libxplc0.3.13_0.3.13-2ubuntu2_i386.deb
$ sudo dpkg -i usb-modeswitch_1.0.2-1_i386.deb
$ sudo dpkg -i libuniconf4.6_4.6-2_i386.deb
$ sudo dpkg -i libnss3-1d_3.12.6-0ubuntu0.8.04.1_i386.deb
$ sudo dpkg -i wvdial_1.60.1+nmu2ubuntu1_i386.deb

 Untuk Linux x64

$ sudo dpkg -i libwvstreams4.6-base_4.6-2_amd64.deb
$ sudo dpkg -i libwvstreams4.6-extras_4.6-2_amd64.deb
$ sudo dpkg -i libxplc0.3.13_0.3.13-2ubuntu2_amd64.deb
$ sudo dpkg -i usb-modeswitch_1.0.2-1_amd64.deb
$ sudo dpkg -i libuniconf4.6_4.6-2_amd64.deb
$ sudo dpkg -i libnss3-1d_3.12.6-0ubuntu0.8.04.1_amd64.deb
$ sudo dpkg -i wvdial_1.60.1+nmu2ubuntu1_amd64.deb

Setelah menginstall wvdial dengan cara di atas, kemudian lanjutkan dengan perintah ini :

$ lsusb
(muncul seperti ini. carilah letak usb modem kalian)

Bus 002 Device 003: ID 1c9e:9d00 --- modem berada disini ( Contoh )
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0c45:641d Microdia
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Setelah itu, ketik perintah ini :

$ modprobe usbserial vendor=0x1c9e product=0x9d00

Kemudian ketik perintah ini :

$ dmesg

[ 465.718011] USB Serial support registered for generic
[ 465.718025] usbserial_generic 2-1.1:1.0: generic converter detected
[ 465.718108] usb 2-1.1: generic converter now attached to ttyUSB0
[ 465.718116] usbserial_generic 2-1.1:1.1: generic converter detected
[ 465.718151] usb 2-1.1: generic converter now attached to ttyUSB1
[ 465.718157] usbserial_generic 2-1.1:1.2: generic converter detected
[ 465.718193] usb 2-1.1: generic converter now attached to ttyUSB2
[ 465.718202] usbserial_generic 2-1.1:1.3: generic converter detected
[ 465.718254] usb 2-1.1: generic converter now attached to ttyUSB3
[ 465.718264] usbserial_generic 2-1.1:1.4: generic converter detected
[ 465.718324] usb 2-1.1: generic converter now attached to ttyUSB4
[ 465.718338] usbcore: registered new interface driver usbserial_generic
[ 465.718339] usbserial: USB Serial Driver core


Kemduian, ketik perintah terakhir :



$ sudo wvdialconf


Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

Modem Port Scan<*1>: S0 S1 S2 S3
ttyUSB0<Info>: Device or resource busy
Modem Port Scan<*1>: USB0
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 -- failed with 2400 baud, next try: 9600 baud
ttyUSB2<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
ttyUSB2<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
WvModem<*1>: Cannot get information for serial port.
ttyUSB3<*1>: ATQ0 V1 E1 -- OK
ttyUSB3<*1>: ATQ0 V1 E1 Z -- OK
ttyUSB3<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyUSB3<*1>: ATQ0 V1 E1 S0=0 &C1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB3<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB3<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- failed with 9600 baud, next try: 9600 baud
ttyUSB3<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- ATQ0 V1 E1 S0=0 &C1 &D2
ttyUSB3<*1>: ATQ0 V1 E1 S0=0 &C1 +FCLASS=0 -- failed with 9600 baud, next try: 9600 baud
ttyUSB3<*1>: ATQ0 V1 E1 S0=0 &C1 +FCLASS=0 -- ATQ0 V1 E1 S0=0 &C1 +FCLASS=0
ttyUSB3<*1>: Modem Identifier: ATI -- Manufacturer: Manufacturer
ttyUSB3<*1>: Max speed is 9600; that should be safe.
ttyUSB3<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
WvModem<*1>: Cannot get information for serial port.
ttyUSB4<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB4<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
ttyUSB4<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.

Found a modem on /dev/ttyUSB3.
Modem configuration written to /etc/wvdial.conf. --- modem ketemu

*Untuk merubah settingan wvdial, ketikkan pada terminal perintah ini.

$ sudo gedit /etc/wvdial.conf

[Dialer default]
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Stupid Mode = yes
Modem Type = Analog Modem
Phone = #777
Modem = /dev/ttyUSB3
Username = smart
Dial Command = ATDT
Password = smart
Baud = 460800

* disini saya menggunakan smart, untuk flexi, tinggal diubah aja, sama kok prosesnya.
* setelah di save dan quit

Untuk mengkoneksikan modem, ketik perintah.

$ sudo wvdial


Note : Jika tetap belum bisa terkoneksi dengan internet, coba cek di internet melalui Windows, bagaimana modem yang kalian miliki dapat terkoneksi di Linux. Jangan lupa cantumkan nama provider yang kalian pakai. (Flexi, Smart, dan lain-lain).



Semoga Berhasil. :)

2 komentar:

  1. cara bedain linux yang kita pakai itu linux x86 atau linux x64 gimana?

    BalasHapus
  2. Thank's bro
    jikalau untuk modem gsm huawei e173 apakah cara sama? dan hanya dirubah seringan wvdialnya? trims...

    BalasHapus

 
Support : Blog Teknologi dan Komputer Copyright © 2013. Pisisuka - All Rights Reserved
Template Created by Mahendra Rama D P Proudly powered by Blogger