Sunday, January 16, 2011 11:46:12

Modem Speedup 6350u di ubuntu

Article and tutorial that related to Linux Operating System  
Penulis baru mendapatkan modem CDMA SpeedUP 3G 6350U. Lalu apakah bisa terkoneksi melalui PC penulis yang kebetulan menggunakan ubuntu karmic 9.10?
Siapkan terlebih dahulu aplikasi wvdial. Jika terhubung dengan internet bisa dilakukan perintah
sudo apt-get install wvdial
Kemudian colokkan modem ke komputer, lalu lakukan perintah
dmesg
akan muncul tampilan seperti berikut
[   19.282640] USB Serial support registered for GSM modem (1-port)
[   19.282712] option 2-1:1.0: GSM modem (1-port) converter detected
[   19.282896] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB0
[   19.282928] option 2-1:1.1: GSM modem (1-port) converter detected
[   19.283014] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB1
[   19.283044] option 2-1:1.2: GSM modem (1-port) converter detected
[   19.283129] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB2
[   19.283155] usbcore: registered new interface driver option
[   19.283160] option: v0.7.2:USB Driver for GSM modems
Tunggu beberapa saat, sampai lampu indikator 'data' di modemnya menyala. Sebab kalau tidak, tidak bisa dikenali oleh Linux.
Setelah lampu indikator bagian 'data' sudah dalam posisi menyala, kita bisa menginisialisasi modem dengan perintah
sudo wvdialconf
Setelah menjalankan perintah diatas, jika tidak ada kendala maka perintah tersebut akan membuatkan konfigurasi file wvdial.conf yang terletak di /etc. Berikut hasil dari perintah diatas
$ sudo 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 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 Z -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB0<*1>: Modem Identifier: ATI -- CDMA1X Modem
ttyUSB0<*1>: Speed 9600: AT -- OK
ttyUSB0<*1>: Max speed is 9600; that should be safe.
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
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 -- CDMA1X Modem
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/ttyUSB0.
Modem configuration written to /etc/wvdial.conf.
ttyUSB0: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
ttyUSB2: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
Sekarang tinggal kita mencoba untuk mengkonfigurasi isian wvdial.conf sesuai dengan data yang diberikan ISP, isiannya seperti berikut
[Dialer Defaults]
Auto DNS = 1
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Stupid Mode = 1
Modem Type = Analog Modem
ISDN = 0
New PPPD = yes
Phone = #777
Modem = /dev/ttyUSB0
Username = xyz 
Password = xxx
Baud = 9600
Rubah bagian username dan password sesuai dengan ISP Anda. lalu simpan konfigurasi tersebut.
Kemudian tinggal jalankan perintah
sudo wvdial
Sesaat kemudian akan didapatkan hasil yang kurang lebih seperti berikut
--> 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
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Sun Jan 16 11:43:42 2011
--> Pid of pppd: 4258
--> Using interface ppp0
--> pppd: P��[08]@��[08]
--> pppd: P��[08]@��[08]
--> pppd: P��[08]@��[08]
--> pppd: P��[08]@��[08]
--> pppd: P��[08]@��[08]
--> local  IP address a.b.c.d
--> pppd: P��[08]@��[08]
--> remote IP address b.b.b.b
--> pppd: P��[08]@��[08]
--> primary   DNS address x.x.x.x
--> pppd: P��[08]@��[08]
--> secondary DNS address y.y.y.y
--> pppd: P��[08]@��[08]
Sekarang anda sudah bisa terhubung dengan internet dan melakukan aktifitas cyber :)

Permalink logo del.icio.usadd to del.icio.us | view as pdfview as pdf