running reliance usb mg880 modem on linux
1. plugin the usb modem and do "dmesg" to see if it is being detected
output should be somewhat like
<snip>
[ 4089.904000] ISOFS: changing to secondary root
[ 4434.112000] usb 3-1: new full speed USB device using uhci_hcd and address 7
[ 4434.232000] usb 3-1: device descriptor read/64, error -71
[ 4434.460000] usb 3-1: device descriptor read/64, error -71
[ 4434.676000] usb 3-1: new full speed USB device using uhci_hcd and address 8
[ 4434.796000] usb 3-1: device descriptor read/64, error -71
[ 4435.020000] usb 3-1: device descriptor read/64, error -71
[ 4436.132000] usb 3-1: new full speed USB device using uhci_hcd and address 10
[ 4436.352000] usb 3-1: configuration #1 chosen from 1 choice
<snip>
2. Check out the vendorid and productid of the device
command: lsusb -v
<snip>
Bus 003 Device 010: ID 19d2:fffd
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.01
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 16
idVendor 0x19d2
idProduct 0xfffd
bcdDevice 0.00
iManufacturer 1 ZTE, Incorporated
iProduct 2 ZTE CDMA Tech
iSerial 3 Serial Number
bNumConfigurations 1
<snip>
3. run modprobe to create ttyUSB* devices
command: modprobe usbserial vendor=0x19d2 product=0xfffd
4. do a "dmesg" check if usb devices were created.
<snip>
[ 5791.852000] /build/buildd/linux-source-2.6.22-2.6.22/drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
[ 5791.852000] usbserial_generic 3-1:1.0: generic converter detected
[ 5791.856000] usb 3-1: generic converter now attached to ttyUSB0
[ 5791.856000] usbserial_generic 3-1:1.1: generic converter detected
[ 5791.856000] usb 3-1: generic converter now attached to ttyUSB1
[ 5791.856000] usbserial_generic 3-1:1.2: generic converter detected
[ 5791.856000] usb 3-1: generic converter now attached to ttyUSB2
[ 5791.856000] usbcore: registered new interface driver usbserial_generic
[ 5791.856000] /build/buildd/linux-source-2.6.22-2.6.22/drivers/usb/serial/usb-serial.c: USB Serial Driver core
<snip>
5. create the wvdial.conf script
[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 115200
SetVolume = 0
Dial-AT-OK ATDT Command =
Init1 = ATZ
Init2 = AT+CRM=1
FlowControl = Hardware (CRTSCTS)
Phone = #777
Username = <phone no>
Password = <phone no>
New PPPD = yes
Carrier Check = no
Stupid Mode = 1
6. Run wvdial as root...
1 comment:
Really useful information and it indeed helped me at a point when I was looking for this info. Thanks a lot... keep up the good work.
Post a Comment