Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Ubuntu User (http://www.linux-archive.org/ubuntu-user/)
-   -   USB Modem issue (http://www.linux-archive.org/ubuntu-user/229984-usb-modem-issue.html)

Sundar Dhanasekaran 01-18-2009 06:30 PM

USB Modem issue
 
Hi,

I am using USB datacard on my Ubuntu 8.04. I am able to connect and use
the internet services. But when the connection fails, I am not able to
connect back without rebooting the system. The modem does not seem to
be identified. Not sure why.

Error I get -

--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.

$lsusb
Bus 005 Device 001: ID 0000:0000 Bus 004 Device 001: ID 0000:0000 *Bus
003 Device 003: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem*
Bus 003 Device 001: ID 0000:0000 Bus 002 Device 001: ID 0000:0000 Bus
001 Device 001: ID 0000:0000

Any pointers on why I have to reboot and how to avoid it?

-Sundar


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

"Tommy Trussell" 01-19-2009 09:54 PM

USB Modem issue
 
On Sun, Jan 18, 2009 at 1:30 PM, Sundar Dhanasekaran
<sundar261@gmail.com> wrote:
> Hi,
>
> I am using USB datacard on my Ubuntu 8.04. I am able to connect and use
> the internet services. But when the connection fails, I am not able to
> connect back without rebooting the system. The modem does not seem to
> be identified. Not sure why.
>
> Error I get -
>
> --> WvDial: Internet dialer version 1.60
> --> Cannot get information for serial port.
> --> Initializing modem.
> --> Sending: ATZ
> --> Sending: ATQ0
> --> Re-Sending: ATZ
> --> Modem not responding.
>
> $lsusb
> Bus 005 Device 001: ID 0000:0000 Bus 004 Device 001: ID 0000:0000 *Bus
> 003 Device 003: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem*
> Bus 003 Device 001: ID 0000:0000 Bus 002 Device 001: ID 0000:0000 Bus
> 001 Device 001: ID 0000:0000
>
> Any pointers on why I have to reboot and how to avoid it?
>
> -Sundar

It sounds like the modem isn't "handshaking" properly, or it doesn't
return to command mode when it should.

You didn't say exactly what model modem you are using, but from your
lsusb dump it looks like you have a Huawei. I see some Ubuntu
documentation for a Huawei E220
https://help.ubuntu.com/community/DialupModemHowto/Huawei/E220

It looks like the recommended initialization strings are different
from the ones you are using, so you might try making your wvdial
configuration look like the examples -- notice especially the line
that says "Init2 = ATQ0 V1 E1 S0=0 &C1 &D2" -- some of those parts
after ATQ0 are probably important for its correct operation.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

"Karl F. Larsen" 01-19-2009 10:09 PM

USB Modem issue
 
Tommy Trussell wrote:
> On Sun, Jan 18, 2009 at 1:30 PM, Sundar Dhanasekaran
> <sundar261@gmail.com> wrote:
>
>> Hi,
>>
>> I am using USB datacard on my Ubuntu 8.04. I am able to connect and use
>> the internet services. But when the connection fails, I am not able to
>> connect back without rebooting the system. The modem does not seem to
>> be identified. Not sure why.
>>
>> Error I get -
>>
>> --> WvDial: Internet dialer version 1.60
>> --> Cannot get information for serial port.
>> --> Initializing modem.
>> --> Sending: ATZ
>> --> Sending: ATQ0
>> --> Re-Sending: ATZ
>> --> Modem not responding.
>>
>> $lsusb
>> Bus 005 Device 001: ID 0000:0000 Bus 004 Device 001: ID 0000:0000 *Bus
>> 003 Device 003: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem*
>> Bus 003 Device 001: ID 0000:0000 Bus 002 Device 001: ID 0000:0000 Bus
>> 001 Device 001: ID 0000:0000
>>
>> Any pointers on why I have to reboot and how to avoid it?
>>
>> -Sundar
>>
>
> It sounds like the modem isn't "handshaking" properly, or it doesn't
> return to command mode when it should.
>
> You didn't say exactly what model modem you are using, but from your
> lsusb dump it looks like you have a Huawei. I see some Ubuntu
> documentation for a Huawei E220
> https://help.ubuntu.com/community/DialupModemHowto/Huawei/E220
>
> It looks like the recommended initialization strings are different
> from the ones you are using, so you might try making your wvdial
> configuration look like the examples -- notice especially the line
> that says "Init2 = ATQ0 V1 E1 S0=0 &C1 &D2" -- some of those parts
> after ATQ0 are probably important for its correct operation.
>
>
You didn't say your using a Serial to USB converter. But your error
message assures me you are. These converters are poor at best. This is
your problem I think and better just live with the problem.

Karl


--

Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
PGP 4208 4D6E 595F 22B9 FF1C ECB6 4A3C 2C54 FE23 53A7


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Nils Kassube 01-20-2009 07:12 AM

USB Modem issue
 
Karl F. Larsen wrote:
> > On Sun, Jan 18, 2009 at 1:30 PM, Sundar Dhanasekaran
> > <sundar261@gmail.com> wrote:
> >> $lsusb
> >> Bus 005 Device 001: ID 0000:0000 Bus 004 Device 001: ID 0000:0000
> >> *Bus 003 Device 003: ID 12d1:1001 Huawei Technologies Co., Ltd. E620
> >> USB Modem* Bus 003 Device 001: ID 0000:0000 Bus 002 Device 001: ID
> >> 0000:0000 Bus 001 Device 001: ID 0000:0000
>
> You didn't say your using a Serial to USB converter. But your error
> message assures me you are. These converters are poor at best. This is
> your problem I think and better just live with the problem.

I don't think so. The lsusb output doesn't show a USB->serial converter
and Huawei modems _are_ USB devices which you can see from the lsusb
output as well.


Nils

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Sundar Dhanasekaran 01-23-2009 06:39 PM

USB Modem issue
 
On Tue, 2009-01-20 at 09:12 +0100, Nils Kassube wrote:
> Karl F. Larsen wrote:
> > > On Sun, Jan 18, 2009 at 1:30 PM, Sundar Dhanasekaran
> > > <sundar261@gmail.com> wrote:
> > >> $lsusb
> > >> Bus 005 Device 001: ID 0000:0000 Bus 004 Device 001: ID 0000:0000
> > >> *Bus 003 Device 003: ID 12d1:1001 Huawei Technologies Co., Ltd. E620
> > >> USB Modem* Bus 003 Device 001: ID 0000:0000 Bus 002 Device 001: ID
> > >> 0000:0000 Bus 001 Device 001: ID 0000:0000
> >
> > You didn't say your using a Serial to USB converter. But your error
> > message assures me you are. These converters are poor at best. This is
> > your problem I think and better just live with the problem.
>
> I don't think so. The lsusb output doesn't show a USB->serial converter
> and Huawei modems _are_ USB devices which you can see from the lsusb
> output as well.
>
>
> Nils
>

I am using an USB based modem. I do expect the connectivity to fail due
to signal strength at my location can vary occasionally. The signal
fluctuations are momentory and the service gets disconnected.

My bigger problem is having to reboot everytime the connection fails.
Is this because of USB / Datacard modem driver crash and gets loaded
properly when I reboot? If so, is there a command / program (for
loading the driver) that is run at start up which I can execute without
having to reboot.

One solution suggested to me was to disconnect the modem and connect it
back after 15-30 secs. But it didnt help in my case.



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


All times are GMT. The time now is 05:26 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.