Agnello George
2011-Mar-31 11:28 UTC
[CentOS] reliance netconnect as on a Linux system ( centos5.5 ) Modem not responding.
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=0x1001 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 with the following content [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 wen i try to detect the modem it gives me a failure wvdialconf /etc/wvdial.conf ::::::: Scanning your serial ports for a modem. ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up. Port Scan<*1>: S1 S2 S3 WvModem<*1>: Cannot get information for serial port. ttyUSB0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud ttyUSB0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud ttyUSB0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up. Sorry, no modem was detected! Is it in use by another program? Did you configure it properly with setserial? Please read the FAQ at http://open.nit.ca/wvdial/ ::::::::::::::: when i try to run the wvdial command it give me a Modem not responding. -qa ~]# wvdial --> WvDial: Internet dialer version 1.54.0 --> Cannot get information for serial port. --> Initializing modem. --> Sending: ATZ --> Sending: ATQ0 --> Re-Sending: ATZ --> Modem not responding. Can some one please help me with this , i searched ever forum available Thanks a lot . -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20110331/9a91dadb/attachment-0001.html>