Belajar dan berbagi

Catatan ini murni 100% copas dari tutorial di suatu forum. Namun penulis lupa dimana link tutorial tersebut.

SETTING Venus Fast2 di UBUNTU

1. colokan modem, lalu ketik lsusb di terminal

Code:

~$lsusb
Bus 002 Device 008: ID 05c6:1000 Qualcomm, Inc. Mass Storage Device
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 13d3:5130 IMC Networks
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

2. ketik dmesg | grep “CD-ROM” untuk melihat device nya ada di mana.

Code:

~$dmesg | grep “CD-ROM”
[    2.439881] scsi 1:0:0:0: CD-ROM            MATSHITA DVD-RAM UJ8A0ASW 1.01 PQ: 0 ANSI: 5
[    2.443019] cdrom: Uniform CD-ROM driver Revision: 3.20
[    2.443159] sr 1:0:0:0: Attached scsi CD-ROM sr0
[  175.866431] scsi 7:0:0:0: CD-ROM            Qualcomm MMC Storage      2.31 PQ: 0 ANSI: 2
[  175.874062] sr 7:0:0:0: Attached scsi CD-ROM sr1
[  627.255999] scsi 9:0:0:0: CD-ROM            Qualcomm MMC Storage      2.31 PQ: 0 ANSI: 2
[  627.267652] sr 9:0:0:0: Attached scsi CD-ROM sr1

Disitu terlihat kalau modem terdeteksi sebagai CD-Rom di posisi sr1, maka eject device tersebut dengan perintah :

Code:

sudo eject /dev/sr1

Oke, lanjut dengan perintah lsusb untuk melihat vendor dan product code :

Code:

~$ lsusb
Bus 002 Device 008: ID 19f5:9909  
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 13d3:5130 IMC Networks
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

Perhatikan bagian paling atas, modem telah terbaca dengan vendor id = 19f5 dan product id = 9909

3. selanjutnya kasih perintah modprobe usbserial agar kernel mengenali modem sebagai usbserial (perhatikan 0x didepan vendor id dan product id) :

Code:

sudo modprobe usbserial vendor=0x19f5 product=0x9909

sampai langkah ini modem seharusnya telah terdeteksi sebagai Qualcomm CDMA Technologies MSM, tinggal setting dialupnya melalui wvdial atau Network Manager.
tapi setiap mau konek kita harus lakukan langkah langkah seperti diatas, ribet bukan
tp tenang dulu gan, ada cara membuat otomatis setiap kali colok modem langsung kedetek

4. Modul driver usb-storage harus tidak termuat/tidak aktif pada waktu ditancapkan. modul driver ini otomatis termuat setiap kali kita menancapkan media ke usb. untuk menonaktifkan modul driver yang telah termuat, setelah tidak satu pun media terpasang di usb (modem dilepas dulu jgn dicolok), lalu di terminal lakukan perintah

Code:

sudo rmmod usb-storage

5. atur supaya modul driver usb modem langsung dimuat saat booting

Code:

sudo gedit /etc/modules

lalu masukan baris seperti di bawah ini

Code:

usbserial vendor=0x19f5 product=0x9909

6. atur supaya usb cdrom yang teraktifkan langsung di eject

Code:

sudo gedit /lib/udev/rules.d/61-mobile-action.rules

masukan baris entri baru di akhir file tersebut.

Code:

ACTION==”add”, ENV{ID_CDROM}==”1″, ENV{ID_VENDOR_ID}==”05c6″, ENV{ID_MODEL_ID}==”1000″, RUN+=”/usr/bin/eject %k”

simpan semua perubahan di file-file tersebut dan selesailah instalasi.

restart aja dulu gan untuk melihat perubahan apakah modem sudah kedetek otomatis
kalo blm kedetek otomatis lakukan ulang langkah 1 – 3

Advertisements

Comments on: "Setting Modem Venus Fast2 di UBUNTU" (4)

  1. gemilang said:

    Sangat bermanfaat sekali.

  2. membantu bgt artikelnya…makasih

  3. @gemilang: sip deh..

    @bagoes: sama2 bos.. 🙂

  4. maaf saya gagal gan, ini hasilnya

    [root@localhost hafidh]# wvdial phone
    –> WvDial: Internet dialer version 1.61
    –> Cannot get information for serial port.
    –> Initializing modem.
    –> Sending: ATZ
    –> Sending: ATQ0
    –> Re-Sending: ATZ
    –> Modem not responding.
    [root@localhost hafidh]# nano /etc/udev
    [root@localhost hafidh]# nano /etc/udev/rules.d/option.rules
    [root@localhost hafidh]# cat /etc/udev/rules.d/option.rules
    ATTRS{idVendor}==”05c6″, ATTRS{idProduct}==”1000″, RUN+=”/usr/bin/usbModemScript”
    ATTRS{idVendor}==”05c6″, ATTRS{idProduct}==”1000″, RUN+=”/sbin/modprobe option”

    [root@localhost hafidh]# cat /usr/bin/usbModemScript
    #! /bin/bash
    echo 05c6 1000 > /sys/bus/usb-serial/drivers/generic/new_id
    [root@localhost hafidh]# lsusb |grep “1000”
    Bus 003 Device 004: ID 05c6:1000 Qualcomm, Inc. Mass Storage Device
    [root@localhost hafidh]# ls /dev/ttyUSB0
    /dev/ttyUSB0
    [root@localhost hafidh]# cat /etc/wvdial.conf
    [Dialer phone]
    Modem Type = Analog Modem
    Phone = #777
    ISDN = 0
    Baud = 460800
    Username = “smart”
    Password = “smart”
    Modem = /dev/ttyUSB0
    Init1 = ATZ
    Stupid Mode = 1
    [root@localhost hafidh]# wvdialconf
    Editing `/etc/wvdial.conf’.

    Scanning your serial ports for a modem.

    Modem Port Scan: S0 S1 S2 S3
    WvModem: Cannot get information for serial port.
    ttyUSB0: ATQ0 V1 E1 — failed with 2400 baud, next try: 9600 baud
    ttyUSB0: ATQ0 V1 E1 — failed with 9600 baud, next try: 9600 baud
    ttyUSB0: ATQ0 V1 E1 — and failed too at 115200, giving up.
    m

    Sorry, no modem was detected! Is it in use by another program?
    Did you configure it properly with setserial?

    Please read the FAQ at http://alumnit.ca/wiki/?WvDial
    [root@localhost hafidh]# wvdial phone
    –> WvDial: Internet dialer version 1.61
    –> Cannot get information for serial port.
    –> Initializing modem.
    –> Sending: ATZ
    –> Sending: ATQ0
    –> Re-Sending: ATZ
    –> Modem not responding.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Tag Cloud

%d bloggers like this: