Never tried with bsnl but I had a very similar problem with MTS huawei 
dongle. Never resolved it. Your best bet would be to write a script to 
redial/reconfigure on disconnect.


On Monday, 27 June 2016 14:23:27 UTC+5:30, sooraj kenoth wrote:
>
> Hi all, 
>
> I am trying connect my bsnl modem using wvdial. It is CDMA device. In 
> gnome network manager it is detecting it as GSM 3G modem. So I tried 
> with wvdial. Sometimes it connects but sometime it does not. It shows 
> waiting for carrier indefinitely. Also I am forced run wvdialconf at 
> every time, because whenever I reconnect the modem the port will 
> change. 
>
> This problems <https://www.centos.org/forums/viewtopic.php?t=26581> 
> seems to be similar to mine. 
>
> The usb_modeswitch -c /etc/usb_modeswitch.conf returns the following 
> message. 
>
> " No default vendor/product ID given. Abort" 
>
>
> This is the wvdial.conf 
>
> [Dialer Defaults] 
> Init1 = ATZ 
> Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 
> Stupid Mode = 1 
> Modem Type = USB Modem 
> ISDN = 0 
> Phone = #777 
> Modem = /dev/ttyACM0 
> Username = 9180606050 
> Password = 9180606050 
> Baud = 460800 
>
> ====================== 
> I am using debian jessie. The following is the lsusb result of modem 
>
> Bus 001 Device 054: ID 15eb:1231 
>
>
> The following is the dmsg output while connecting the modem: 
>
> [25866.684278] cdc_acm 1-1.1:1.0: failed to set dtr/rts 
> [25881.974253] usb 1-1.1: new full-speed USB device number 59 using 
> ehci-pci 
> [25882.046213] usb 1-1.1: device descriptor read/64, error -32 
> [25882.244096] usb 1-1.1: New USB device found, idVendor=15eb, 
> idProduct=1231 
> [25882.244103] usb 1-1.1: New USB device strings: Mfr=1, Product=2, 
> SerialNumber=11 
> [25882.244106] usb 1-1.1: Product: CDS7 
> [25882.244109] usb 1-1.1: Manufacturer: BSNL 
> [25882.244112] usb 1-1.1: SerialNumber: ÿÿÿÿÿÿÿÿÿÿ 
> [25882.245000] usb-storage 1-1.1:1.0: USB Mass Storage device detected 
> [25882.245139] scsi36 : usb-storage 1-1.1:1.0 
> [25883.242685] scsi 36:0:0:0: CD-ROM            BSNL     Mass Storage 
> CD  7.00 PQ: 0 ANSI: 2 
> [25883.262415] usb 1-1.1: USB disconnect, device number 59 
> [25883.269599] sr1: scsi3-mmc drive: 372x/23x caddy 
> [25883.269906] sr 36:0:0:0: Attached scsi CD-ROM sr1 
> [25883.270209] sr 36:0:0:0: Attached scsi generic sg2 type 5 
> [25883.501314] usb 1-1.1: new full-speed USB device number 60 using 
> ehci-pci 
> [25883.594985] usb 1-1.1: New USB device found, idVendor=15eb, 
> idProduct=1231 
> [25883.594991] usb 1-1.1: New USB device strings: Mfr=1, Product=2, 
> SerialNumber=0 
> [25883.594994] usb 1-1.1: Product: CDS7 
> [25883.594997] usb 1-1.1: Manufacturer: BSNL\xffffffc2\xffffff84D 
> [25887.150656] usb 1-1.1: USB disconnect, device number 60 
> [25889.138334] usb 1-1.1: new full-speed USB device number 61 using 
> ehci-pci 
> [25889.210199] usb 1-1.1: device descriptor read/64, error -32 
> [25889.408317] usb 1-1.1: New USB device found, idVendor=15eb, 
> idProduct=1231 
> [25889.408325] usb 1-1.1: New USB device strings: Mfr=1, Product=2, 
> SerialNumber=11 
> [25889.408330] usb 1-1.1: Product: CDC Modem 
> [25889.408333] usb 1-1.1: Manufacturer: BSNL 
> [25889.408336] usb 1-1.1: SerialNumber: Ø 
> [25889.409498] cdc_acm 1-1.1:1.0: This device cannot do calls on its 
> own. It is not a modem. 
> [25889.409542] cdc_acm 1-1.1:1.0: ttyACM0: USB ACM device 
> [25889.410557] usb-storage 1-1.1:1.2: USB Mass Storage device detected 
> [25889.410705] scsi37 : usb-storage 1-1.1:1.2 
> [25890.464217] scsi 37:0:0:0: CD-ROM            BSNL     Mass Storage 
> CD  7.00 PQ: 0 ANSI: 2 
> [25890.465167] scsi 37:0:0:1: Direct-Access     BSNL     Mass Storage 
> SD  7.00 PQ: 0 ANSI: 0 CCS 
> [25890.468795] sr1: scsi-1 drive 
> [25890.469024] sr 37:0:0:0: Attached scsi CD-ROM sr1 
> [25890.469178] sr 37:0:0:0: Attached scsi generic sg2 type 5 
> [25890.471244] sd 37:0:0:1: Attached scsi generic sg3 type 0 
> [25890.498523] sd 37:0:0:1: [sdb] Attached SCSI removable disk 
>
>
>
> -- 
> Regards 
> Sooraj Kenoth 
> "I am Being the Change I Wish to See in the World" 
>

-- 
-- 
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To control your subscription visit 
http://groups.google.co.in/group/ilug-tvm/subscribe
To post to this group, send email to ilug-tvm@googlegroups.com
To unsubscribe from this group, send email to
ilug-tvm-unsubscr...@googlegroups.com



For details visit the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en

--- 
You received this message because you are subscribed to the Google Groups "Free 
Software Users Group,  Thiruvananthapuram" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ilug-tvm+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to