Tuesday, 4 October 2011

[Ubuntu 10.10] Prolink PCM100 UI linux


Di sistem Ubuntu sudah terinstall usb-modeswitch, usb-modeswitch-data dan wvdial. Colokin modemnya:
$ lsusb

Bus 002 Device 003: ID 1c9e:9d00 --- modem berada disini
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

$ modprobe usbserial vendor=0x1c9e product=0x9d00

$ 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

$ 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

$ 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 mengkoneksikannya

sudo wvdial

Sumber: http://ubuntu-indonesia.com/forums/ubbthreads.php/topics/55859/setting_modem_prolink_PCM100_d
◄ Posting Baru Posting Lama ►
 

Copyright © 2012. I wanna be - All Rights Reserved inovLy media online by inforZa