Network Troublshooting > General Networking Support in Linux

Connecting CDMA (tata indicom) using serial cable for internet

(1/2) > >>

akashyak:
Hello Ricky,

This has reference to my earlier entry - the just-before-this entry regarding Tata Indicom phone.

The phone modem malfunctions, and the USB cable is not working. So ttyACM0 disappeared from /dev directory. The engineers from Tata Indicom tested that a serial cable is of good use with the same phone piece, and it worked in Windows XP.

Could you therefore tell me how I can make use of this new cable in Linux as well? I can't connect to Internet using "sudo wvdial tata" command. What changes could I make to my /etc/wvdial.conf, which is currently as below:

(start)
---------------------------------------------------------
[dialer defaults]
Init1 = ATZ
Init2 = AT+CRM = 1
ISDN = 0
Modem = /dev/ttyACM0
Baud = 460800
Flow control = Hardware (CRTSCTS)
Carrier check = no
Dial command = ATDT
SetVolume = 0

[Dialer tata]
Phone = #777
Username = internet
Password = internet

Stupid Mode = 1
-------------------------------------------------------
(end)

Thank you.
Akash.

Ricky:
Please use appropriate title for the question, it makes it easy to answer.

Its simple,
Change :
Modem = /dev/ttyACM0

To
Modem=/dev/input/ttyS0

If it doesn't work then re-run wvdialconf and shall tell you that on which port it found your modem.

akashyak:
Well it took me so many days to buy a serial cable, I'm sorry, but the USB cable was still working well in Linux although not in XP. They changed the phone piece, and again USB troubles me. So I went in for serial cable.

As you told me, Ricky, I ran sudo wvdialconf /etc/wvdial.conf and got this:

(begin)
****************************
akash@akash-desktop:~$ sudo wvdialconf /etc/wvdial.conf
Password:
Editing `/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.
ttyS1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S2   S3   
WvModem<*1>: Cannot get information for serial port.
ttySL0<*1>: ATQ0 V1 E1 -- OK
ttySL0<*1>: ATQ0 V1 E1 Z -- OK
ttySL0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttySL0<*1>: Modem Identifier: ATI -- SmartLink Soft Modem
ttySL0<*1>: Speed 4800: AT -- OK
ttySL0<*1>: Speed 9600: AT -- OK
ttySL0<*1>: Speed 19200: AT -- OK
ttySL0<*1>: Speed 38400: AT -- OK
ttySL0<*1>: Speed 57600: AT -- OK
ttySL0<*1>: Speed 115200: AT -- OK
ttySL0<*1>: Speed 230400: AT -- OK
ttySL0<*1>: Speed 460800: AT -- OK
ttySL0<*1>: Max speed is 460800; that should be safe.
ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found a modem on /dev/ttySL0.
Modem configuration written to /etc/wvdial.conf.
ttySL0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

*****************************
(end)

So what can I do now? It looks like my serial cable is not being detected at all. There's no ttyS0 in /dev/input

Kindly note that the PC-end of the cable has a serial interface, while the phone-end has, I think, USB interface.. just like the phone-end of my earlier USB cable had.

Regards,
Akash.

Ricky:
May I know which phone you have from TATA ?

akashyak:
LSP 350T

Got it, by the way. All I had to do was to set my phone's Data Baud from USB to 115200. Then I ran wvdialconf, and my phone was recognized on ttyS0. And not /dev/input/ttyS0.

With thanks in advance,
Akash.

Navigation

[0] Message Index

[#] Next page

Go to full version