Connect a reliance netconnect data card on linux box

Hi

I am trying to connect a reliance netconnect data card on my linux box (
cent os ) , i am able to the detect the device /dev/ttyUSB0

these are the following steps I did :

Check your card is recognized by the kernel
# cat /proc/bus/usb/devices

…..
…..
T: Bus=07 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 11 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=19d2 ProdID=fff5 Rev= 0.00
S: Manufacturer=ZTE, Incorporated
S: Product=USB Storage
S: SerialNumber=000000000002
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50
Driver=usbserial_generic
E: Ad=89(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=0a(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
…..
…..

i use the usb_modeswitch to detach it as a storage dev and attach it to a
usb dev

usb_modeswitch -v 0x19d2 -p 0xfff5 -d 1 19d2:fff5

usb_modeswitch -v 0x19d2 -p 0xfff5 -H 1

now i modprobe the usbserial

modprobe -v -r usbserial

modprobe -v usbserial vendor=0x12d1 product=0×1001

now do I do a dmesg

::::::::::::::::::
usbcore: deregistering driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial deregistering driver generic
usbcore: deregistering driver usbserial
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbserial_generic 7-2:1.0: generic converter detected
usb 7-2: generic converter now attached to ttyUSB0
usbcore: registered new driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core

I edit the vi /etc/wvdial.conf

[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 57600
Setvolume = 0
Dial-AT-OK ATDT Command =
Init1 = ZTE
FlowControl = Hardware (CRTSCTS)
Phone = #777
Username = 7228412233
Password = 7228412233
New PPPD = yes
Carrier Check = no
Stupid Mode = yes

When i try to detect the modem it gives me a failure

wvdialconf /etc/wvdial.conf

At this step, you should see success message to be able to connect a reliance netconnect data card .
If you still having problem, Recheck your configuration and test your wvdial.

Comments