27 September 2007

Huawei E220 di Ubuntu

Kemaren setelah melakukan testing koneksi 3.5G di Pondok Indah, saat ini saya berkesempatan akan menguji di UbuntuBox saya. Adapun langkah-langkahnya sebagai berikut :
1. Memastikan kernel yang digunakan diatas 2.60.20.
$ uname -r
2.6.20-16-generic

2. Dicolokan modem Huaweinya.
3. Memastikan modem terdeteksi dengan baik.
$ dmesg |grep GSM
[10130.769272] drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM modem (1-port)
[10130.769625] option 4-2:1.0: GSM modem (1-port) converter detected
[10130.770422] usb 4-2: GSM modem (1-port) converter now attached to ttyUSB0
[10130.770445] drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.1
[10164.237650] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[10178.511788] option 4-2:1.0: GSM modem (1-port) converter detected
[10178.512182] usb 4-2: GSM modem (1-port) converter now attached to ttyUSB0

4. Download tools huawei di http://www.kanoistika.sk/bobovsky/archiv/umts/huaweiAktBbo-i386.out
5. Rubah permission-nya supaya bisa dieksekusi, chmod 755 huaweiAktBbo-i386.out
6. Jalankan tools tersebut, ./huaweiAktBbo-i386.out
7. Deteksi modem menggunakan wvdial.
$ sudo wvdialconf /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.
...............
ttyUSB2<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB2<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyUSB2<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.

Found a modem on /dev/ttyUSB0.
Modem configuration written to /etc/wvdial.conf.
ttyUSB0: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
ttyUSB1: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

8. Modem telah terdeteksi di /dev/ttyUSB0.
9. Siap dikonfigurasi sesuai dengan operator 3G.

No comments:

Post a Comment

Disqus for Dedy selalu Milisdad