[fsug-tvm] Re: EVDO wvdial problem, waiting for carrier indefinitely

Kevin Martin <[email protected]> Tue, 19 Jul 2016 06:56:08 -0700 (PDT)
Newsgroups gmane.org.user-groups.linux.ilug-tvm,gmane.org.user-groups.linux.ilugc
Message-ID <[email protected]>
------=_Part_182_1513864063.1468936568545
Content-Type: multipart/alternative; 
	boundary="----=_Part_183_1946076221.1468936568546"

------=_Part_183_1946076221.1468936568546
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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


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

--=20
--=20
"Freedom is the only law".=20
"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-tv=
m/subscribe
To post to this group, send email to ilug-tvm-/[email protected]
To unsubscribe from this group, send email to
ilug-tvm-unsubscribe-/[email protected]



For details visit the google group page: http://groups.google.com/group/ilu=
g-tvm?hl=3Den

---=20
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 e=
mail to ilug-tvm+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
For more options, visit https://groups.google.com/d/optout.

------=_Part_183_1946076221.1468936568546
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Never tried with bsnl but I had a very similar problem wit=
h MTS huawei dongle. Never resolved it. Your best bet would be to write a s=
cript to redial/reconfigure on disconnect.<div><br></div><div><br>On Monday=
, 27 June 2016 14:23:27 UTC+5:30, sooraj kenoth  wrote:<blockquote class=3D=
"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;border-left: 1px #ccc s=
olid;padding-left: 1ex;">Hi all,
<br>
<br>I am trying connect my bsnl modem using wvdial. It is CDMA device. In
<br>gnome network manager it is detecting it as GSM 3G modem. So I tried
<br>with wvdial. Sometimes it connects but sometime it does not. It shows
<br>waiting for carrier indefinitely. Also I am forced run wvdialconf at
<br>every time, because whenever I reconnect the modem the port will
<br>change.
<br>
<br>This problems &lt;<a href=3D"https://www.centos.org/forums/viewtopic.ph=
p?t=3D26581" target=3D"_blank" rel=3D"nofollow" onmousedown=3D"this.href=3D=
&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.centos.org%2Fforums%=
2Fviewtopic.php%3Ft%3D26581\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG6LdRu6=
t8sdhiIOD1KyjNy4rPybA&#39;;return true;" onclick=3D"this.href=3D&#39;https:=
//www.google.com/url?q\x3dhttps%3A%2F%2Fwww.centos.org%2Fforums%2Fviewtopic=
.php%3Ft%3D26581\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG6LdRu6t8sdhiIOD1K=
yjNy4rPybA&#39;;return true;">https://www.centos.org/<wbr>forums/viewtopic.=
php?t=3D26581</a>&gt;
<br>seems to be similar to mine.
<br>
<br>The usb_modeswitch -c /etc/usb_modeswitch.conf returns the following me=
ssage.
<br>
<br>&quot; No default vendor/product ID given. Abort&quot;
<br>
<br>
<br>This is the wvdial.conf
<br>
<br>[Dialer Defaults]
<br>Init1 =3D ATZ
<br>Init2 =3D ATQ0 V1 E1 S0=3D0 &amp;C1 &amp;D2 +FCLASS=3D0
<br>Stupid Mode =3D 1
<br>Modem Type =3D USB Modem
<br>ISDN =3D 0
<br>Phone =3D #777
<br>Modem =3D /dev/ttyACM0
<br>Username =3D 9180606050
<br>Password =3D 9180606050
<br>Baud =3D 460800
<br>
<br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
<br>I am using debian jessie. The following is the lsusb result of modem
<br>
<br>Bus 001 Device 054: ID 15eb:1231
<br>
<br>
<br>The following is the dmsg output while connecting the modem:
<br>
<br>[25866.684278] cdc_acm 1-1.1:1.0: failed to set dtr/rts
<br>[25881.974253] usb 1-1.1: new full-speed USB device number 59 using ehc=
i-pci
<br>[25882.046213] usb 1-1.1: device descriptor read/64, error -32
<br>[25882.244096] usb 1-1.1: New USB device found, idVendor=3D15eb, idProd=
uct=3D1231
<br>[25882.244103] usb 1-1.1: New USB device strings: Mfr=3D1, Product=3D2,
<br>SerialNumber=3D11
<br>[25882.244106] usb 1-1.1: Product: CDS7
<br>[25882.244109] usb 1-1.1: Manufacturer: BSNL
<br>[25882.244112] usb 1-1.1: SerialNumber: =C3=BF=C3=BF=C3=BF=C3=BF=C3=BF=
=C3=BF=C3=BF=C3=BF=C3=BF=C3=BF
<br>[25882.245000] usb-storage 1-1.1:1.0: USB Mass Storage device detected
<br>[25882.245139] scsi36 : usb-storage 1-1.1:1.0
<br>[25883.242685] scsi 36:0:0:0: CD-ROM =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0BSNL =C2=A0 =C2=A0 Mass Storage
<br>CD =C2=A07.00 PQ: 0 ANSI: 2
<br>[25883.262415] usb 1-1.1: USB disconnect, device number 59
<br>[25883.269599] sr1: scsi3-mmc drive: 372x/23x caddy
<br>[25883.269906] sr 36:0:0:0: Attached scsi CD-ROM sr1
<br>[25883.270209] sr 36:0:0:0: Attached scsi generic sg2 type 5
<br>[25883.501314] usb 1-1.1: new full-speed USB device number 60 using ehc=
i-pci
<br>[25883.594985] usb 1-1.1: New USB device found, idVendor=3D15eb, idProd=
uct=3D1231
<br>[25883.594991] usb 1-1.1: New USB device strings: Mfr=3D1, Product=3D2,
<br>SerialNumber=3D0
<br>[25883.594994] usb 1-1.1: Product: CDS7
<br>[25883.594997] usb 1-1.1: Manufacturer: BSNL\xffffffc2\xffffff84D
<br>[25887.150656] usb 1-1.1: USB disconnect, device number 60
<br>[25889.138334] usb 1-1.1: new full-speed USB device number 61 using ehc=
i-pci
<br>[25889.210199] usb 1-1.1: device descriptor read/64, error -32
<br>[25889.408317] usb 1-1.1: New USB device found, idVendor=3D15eb, idProd=
uct=3D1231
<br>[25889.408325] usb 1-1.1: New USB device strings: Mfr=3D1, Product=3D2,
<br>SerialNumber=3D11
<br>[25889.408330] usb 1-1.1: Product: CDC Modem
<br>[25889.408333] usb 1-1.1: Manufacturer: BSNL
<br>[25889.408336] usb 1-1.1: SerialNumber: =C3=98
<br>[25889.409498] cdc_acm 1-1.1:1.0: This device cannot do calls on its
<br>own. It is not a modem.
<br>[25889.409542] cdc_acm 1-1.1:1.0: ttyACM0: USB ACM device
<br>[25889.410557] usb-storage 1-1.1:1.2: USB Mass Storage device detected
<br>[25889.410705] scsi37 : usb-storage 1-1.1:1.2
<br>[25890.464217] scsi 37:0:0:0: CD-ROM =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0BSNL =C2=A0 =C2=A0 Mass Storage
<br>CD =C2=A07.00 PQ: 0 ANSI: 2
<br>[25890.465167] scsi 37:0:0:1: Direct-Access =C2=A0 =C2=A0 BSNL =C2=A0 =
=C2=A0 Mass Storage
<br>SD =C2=A07.00 PQ: 0 ANSI: 0 CCS
<br>[25890.468795] sr1: scsi-1 drive
<br>[25890.469024] sr 37:0:0:0: Attached scsi CD-ROM sr1
<br>[25890.469178] sr 37:0:0:0: Attached scsi generic sg2 type 5
<br>[25890.471244] sd 37:0:0:1: Attached scsi generic sg3 type 0
<br>[25890.498523] sd 37:0:0:1: [sdb] Attached SCSI removable disk
<br>
<br>
<br>
<br>--=20
<br>Regards
<br>Sooraj Kenoth
<br>&quot;I am Being the Change I Wish to See in the World&quot;
<br></blockquote></div></div>

<p></p>

-- <br />
-- <br />
&quot;Freedom is the only law&quot;. <br />
&quot;Freedom Unplugged&quot;<br />
<a href=3D"http://www.ilug-tvm.org">http://www.ilug-tvm.org</a><br />
&nbsp;<br />
You received this message because you are subscribed to the Google<br />
Groups &quot;ilug-tvm&quot; group.<br />
To control your subscription visit <a href=3D"http://groups.google.co.in/gr=
oup/ilug-tvm/subscribe">http://groups.google.co.in/group/ilug-tvm/subscribe=
</a><br />
To post to this group, send email to ilug-tvm-/[email protected]<br />
To unsubscribe from this group, send email to<br />
ilug-tvm-unsubscribe-/[email protected]<br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />
For details visit the google group page: <a href=3D"http://groups.google.co=
m/group/ilug-tvm?hl=3Den">http://groups.google.com/group/ilug-tvm?hl=3Den</=
a><br />
<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;Free Software Users Group,  Thiruvananthapuram&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:ilug-tvm+unsubscribe-/[email protected]">ilug-tvm+u=
nsubscribe-/[email protected]</a>.<br />
For more options, visit <a href=3D"https://groups.google.com/d/optout">http=
s://groups.google.com/d/optout</a>.<br />

------=_Part_183_1946076221.1468936568546--

------=_Part_182_1513864063.1468936568545--