Setting Modem Indosat MF622 di Ubuntu 8.10 Intrepid Ibex

Pengalaman saat melakukan instalasi modem MF 622 (bundling IM2) pada Ubuntu 8.10 Intrepid Ibex, modem dikenali tetapi sebagai internet broadband. Setelah menginput username dan password, tetap saja laptop tidak mau terhubung dengan internet.

Akhirnya setelah lama googling, aku menemukan web ini dan juga ini.

Langkah-langkah yang harus dilakukan adalah:
1. download USB Mode Switch dari sini.
2. extract file tersebut dengan perintah:
$ tar -jxvf usb_modeswitch-0.9.5.tar.bz2
$ ls
usb_modeswitch-0.9.5.tar.bz2

$ tar -xvjf usb_modeswitch-0.9.5.tar.bz2
usb_modeswitch-0.9.5/
usb_modeswitch-0.9.5/compile.sh
usb_modeswitch-0.9.5/usb_modeswitch
usb_modeswitch-0.9.5/usb_modeswitch.conf
usb_modeswitch-0.9.5/usb_modeswitch.c
usb_modeswitch-0.9.5/usb_modeswitch.h
usb_modeswitch-0.9.5/COPYING
usb_modeswitch-0.9.5/README

$ ls
usb_modeswitch-0.9.5 usb_modeswitch-0.9.5.tar.bz2
$ cd usb_modeswitch-0.9.5/

~/usb_modeswitch-0.9.5$ ls
compile.sh
README
usb_modeswitch.c
usb_modeswitch.h
COPYING
usb_modeswitch
usb_modeswitch.conf

3. Login sebagai root

$ su atau
$ sudo su

4. Copy file executable "usb_modeswitch" pada directory "/sbin" atau "/usr/sbin"

~/usb_modeswitch-0.9.5# cp usb_modeswitch /sbin/usb_modeswitch

atau

~/usb_modeswitch-0.9.5# cp usb_modeswitch /usr/sbin/usb_modeswitch

Pada Linux basis debian seperti Ubuntu, dll, default ada di /usr/sbin/. Namun untuk basis Redhat sperti fedora, opensuse ada di /sbin.

5. Copy file "usb_modeswitch.conf" ke directory "/etc"

~/usb_modeswitch-0.9.5# cp usb_modeswitch.conf /etc/usb_modeswitch.conf


6. Buat file rules di /etc/udev/rules.d/15-zte-mf620.rules yang berisikan :

#--------------------------------------------------
ACTION!="add", GOTO="ZTE_End"

# Is this the ZeroCD device?
SUBSYSTEM=="usb", SYSFS{idProduct}=="2000",
SYSFS{idVendor}=="19d2", GOTO="ZTE_ZeroCD"

# Is this the actual modem?
SUBSYSTEM=="usb", SYSFS{idProduct}=="0001",
SYSFS{idVendor}=="19d2", GOTO="ZTE_Modem"

LABEL="ZTE_ZeroCD"
# This is the ZeroCD part of the card, remove
# the usb_storage kernel module so
# it does not get treated like a storage device
#RUN+="/sbin/rmmod usb_storage"
RUN+="/usr/sbin/usb_modeswitch -d 1 -v 0x19d2 -p 0x2000 -V 0x19d2 -P 0x0001"

LABEL="ZTE_Modem"
# This is the Modem part of the card, let's
# load usbserial with the correct vendor
# and product ID's so we get our usb serial devices
RUN+="/sbin/modprobe usbserial vendor=0x19d2 product=0x0001",
# Make users belonging to the dialout group
# able to use the usb serial devices.
MODE="660", GROUP="dialout"

LABEL="ZTE_End"
#-------------------- eof ---------------

Pastikan permision filenya sama dengan rule yang lain.
# chmod 644 15-zte-mf622.rules

Dan arah kan RUN+ pada script diatas sesuai dengan distro yang dipakai :
RUN+="/usr/sbin/usb_modeswitch -d 1 -v 0x19d2 -p 0x2000 -V 0x19d2 -P 0x0001" ==>> Perhatian Untuk Linux basis debian seperti Ubuntu, dll, default ada di /usr/sbin/. Namun untuk basis Redhat sperti fedora, opensuse ada di /sbin/.


7. Pastikan Anda telah menginstall wvdial di Linux, (di Debian atau Ubuntu tinggal install melalui apt-get atau melalui Synaptic).

# apt-get install wvdial

8. Buat script di /etc/wvdial.conf berisikan :

[Dialer IM2]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,”IP”,”indosatm2″
Username = ( isi sesuai username IM2 yang didapat )
Password = ( isi dengan password yang telah diberikan )
Ask Password = 0
Phone = *99#
Idle Seconds = 0
Modem Type = Analog Modem
Stupid Mode = 1
Compuserve = 0
Baud =3600000
Auto DNS = 1
Dial Command = ATDT
Modem = /dev/ttyUSB0
ISDN = 0


9. Restart Linux anda sekarang

10. Setelah selesai restart coba tancapkan modem ZTE MF622 pada slot USB yang ada, tunggu sampai indikator led berwarna hijau (tunggu kira-kira 30 detik) sebab ini memerlukan waktu untuk pengenalan modem ZTE itu sendiri.

11. Jalankan program wvdial nya

12. Gud Luck.

Credit to Dony Ramansyah @ this blog

0 Responses to "Setting Modem Indosat MF622 di Ubuntu 8.10 Intrepid Ibex" (Leave A Comment)