Setting up the Reliance ZTE MG 880 USB Modem in Ubuntu 9.04 : Simplysimple.info

Setting up the Reliance ZTE MG 880 USB Modem in Ubuntu 9.04

By | Posted, April 30th, 2009 and modified on October 4th, 2010.

images1In Ubuntu 9.04 (Jaunty Jackalope) the usbserial module is already part of the kernel. So we need to pass the Product and vendor id’s to the kernel at bootup.

Plug in the USB Modem.

Then in a terminal type  cat /proc/bus/usb/devices |grep ZTE -B1

Look for  the Vendor id & Product id.

In my case :

P:  Vendor=19d2 ProdID=fffd Rev= 0.00
S:  Manufacturer=ZTE, Incorporated
S:  Product=ZTE CDMA Tech

where  19d2 is my vendor id and fffd is my Product id (Replace it with the values you got from running cat /proc/bus/usb/devices)

Edit /boot/grub/menu.lst (sudo nano /boot/grub/menu.lst)

Locate the block of text with the kernel label. In my case,

title        Ubuntu 9.04, kernel 2.6.28-11-generic
root        (hd0,1)
kernel        /boot/vmlinuz-2.6.28-11-generic root=/dev/md0 ro
initrd        /boot/initrd.img-2.6.28-11-generic

Note that I have removed quiet and splash as those options annoy me. Paste your vendor id and product id in the format as shown below (at the end of the line). Where 19d2 is my vendor id and fffd is my product id.

title        Ubuntu 9.04, kernel 2.6.28-11-generic
root        (hd0,1)
kernel        /boot/vmlinuz-2.6.28-11-generic root=/dev/md0 ro usbserial.vendor=0x19d2 usbserial.product=0xfffd
initrd        /boot/initrd.img-2.6.28-11-generic

Save the file and exit.

To configure wvdial, type sudo wvdialconf It should show you that it has detected a modem at the end of the commands output. (If you don’t have wvdial do a sudo apt-get install wvdial -You need to be online to do this)

Next edit /etc/wvdial.conf (sudo nano /etc/wvdial.conf) Make sure that in the line Modem = /dev/ttyUSB0 You replace USB0 with what wvdial detected in your case.

Copy and paste the following lines into your wvdial.conf

Note: If you are copying and pasting, the quotes will get mangled and you will need to delete and renter all the quotes/comma’s

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
Phone = #777
Username = 9310xxxxxx
Password = 9310xxxxxx
Baud = 9600
New PPPD = yes
Modem = /dev/ttyUSB0
ISDN = 0
Set Volume = 0
FlowControl = Hardware (CRTSCTS)
Modem = /dev/ttyUSB0
Dial Command = ATDT
Baud = 460800
Stupid Mode = 1

Now replace the 9310xxxxxx in username and password with the Reliance number of your data card.

Now you can connect by opening a terminal and typing in wvdial from the terminal. If you get any permission errors, try sudo wvdial. On some somputers it works without sudo, on some others, I need to use sudo to connect. I haven’t been able to figure out the reason for this yet.

 

Related Posts

  1. Setting up the Reliance Huawei EC121 USB Modem in Ubuntu 9.04
  2. Instructions for setting up the Reliance Huawei EC325 USB Modem in Ubuntu 9.04 (Jaunty Jackalope)
  3. Setting up the Reliance ZTE MG 880 USB data card on Ubuntu 8.10, Intrepid Ibex
  4. Setting up the Airtel USB EDGE/GPRS Card in Ubuntu 9.04/9.1/10
  5. Using Tomcat6 on Ubuntu Server
  6. Accelerated browsing through Squid on Ubuntu
  7. Installing an HP Network printer on Ubuntu 9.04/9.10
  8. Recovering from a broken array : Ubuntu Software RAID
  9. Installing the Tata Photon plus on ubuntu 10
  10. Ubuntu Server 10.04 LTS Installation

Comment on this post

If you would like to make a comment, please fill out the form below.

Name (required)

Email (required)

Website

Comments

IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)

What is 8 + 8 ?
Please leave these two fields as-is:

+(reset)-
Follow me
© 2009 Simplysimple.info webmaster simplysimple.info