Install Modem ZTE MF620 IM2 Unlimited On ubuntu 7.10, 8.04 and 8.10

Download Package usb_modeswitch-0.9.4.tar.bz2 from


$ wget http://www.draisberghof.de/usb_modeswitch/usb_modeswitch-0.9.4.tar.bz2


Then extract and install


$ tar jxvf usb_modeswitch-0.9.4.tar.bz2
$ cd usb_modeswitch-0.9.4.tar.bz2
$ sudo cp usb_modeswitch /usr/sbin
$ sudo cp usb_modeswitch.conf /etc


Create new file 15-zte-mf620.rules with command :

$ sudo gedit /etc/udev/rules.d/15-zte-mf620.rules

#--------------------------------------------------
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+="/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 ---------------

Connections for Using wvdial type the command:

$ sudo gedit/etc/wvdial.conf


[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 3600000
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
Init3 = AT+CGDCONT=1,"IP","indosatm2"
Area Code =
Phone = *99#
Username = username_anda
Password = password_anda
Ask Password = 0
Dial Command = ATDT
Stupid Mode = 1
Compuserve = 0
Force Address =
Idle Seconds = 0
DialMessage1 =
DialMessage2 =
ISDN = 0
Auto DNS = 1

to connect to the internet directly use the command:

$ wvdial

Then wait, if not connected repeat the above step until the correct

Thanks

No comments:

Post a Comment

Please Comment...!!