
In 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.
If you would like to make a comment, please fill out the form below.