Pages

Sunday, August 29, 2010

Setting Ivio 3G CDMA Modem di Ubuntu 10.04


Modem yang saya pakai adalah modem ivio 2002 U, dengan flexinet unlimited dan berhasil konek, mudah kok gak ribet sama sekali...aku pake di ubuntu 10.04, nih caranya:

1. Colokin modem trus ketik di terminal lsusb, jika muncul seperti inBus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubBus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 016: ID 10c4:ea60 Cygnal Integrated Products,            Inc. CP210x Composite Device <<------ modem terdeteksi dengan baik



2. Ketikkan perintah dmesg untuk melakukan konfigurasi modem tersebut $ sudo dmesg, ketikkan password anda bila diminta dan bila muncul seperti ini
[  247.836066] usb 6-1: new full speed USB device using uhci_hcd and address 2
[  248.001279] usb 6-1: configuration #1 chosen from 1 choice
[  248.067080] usbcore: registered new interface driver usbserial
[  248.067417] USB Serial support registered for generic
[  248.067748] usbcore: registered new interface driver usbserial_generic
[  248.067752] usbserial: USB Serial Driver core
[  248.080106] USB Serial support registered for cp210x
[  248.080440] cp210x 6-1:1.0: cp210x converter detected
[  248.192062] usb 6-1: reset full speed USB device using uhci_hcd and address 2
[  248.341270] usb 6-1: cp210x converter now attached to ttyUSB0
[  248.341309] usbcore: registered new interface driver cp210x
[  248.341312] cp210x: v0.09:Silicon Labs CP210x RS232 serial adaptor driver
berarti modem sudah dapat digunakan

3. Jika belum melakukan instalasi wvdial, install wvdial dengan mengetikkan perintah
    $sudo apt-get install wvdial

4. Editlah file konfigurasi di /etc/wvdial.conf, dan tambahakan konfigurasi seperti dibawah ini
[Dialer flexi]
Phone = #777
Username = xxxxxx@free
Password = telkom
New PPPD = yes
Modem = /dev/ttyUSB0
Baud = 230400
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Stupid Mode = on
Auto DNS = on
Modem Type = USB Modem
Auto Reconnect = on
# Abort on Busy = off
# Carrier Check = on
Check Def Route = on
# Abort on No Dialtone = on

5. Dan ketik sudo wvdial flexi, akan nampak seperti ini..
iqbal@iqbal-laptop:~$ sudo wvdial flexi
--> 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 Sat Aug 28 20:02:05 2010
--> Pid of pppd: 8239
--> Using interface ppp0
--> local  IP address 10.1.101.166
--> remote IP address 172.17.163.80
--> primary   DNS address 202.134.0.155
--> secondary DNS address 202.134.1.10



happy browsing

2 comments: