Page 4 of 5

Posted: 15 May 2009, 18:16
by khurtsiya
I did not get what you say, so I am trying to connect by wvdial.

And I connected for 4 seconds! =))))))

But then it automagically disconnected...

Here is my /etc/wvdial.conf

Code: Select all

[Dialer Defaults]
Phone = #777
Username = login
Password = password
New PPPD = yes
Modem = /dev/ttyUSB0
Baud = 3686400
and here is output

Code: Select all

khurtsiya@khurtsiya-laptop:~$ wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT
--> Carrier detected.  Waiting for prompt.
--> Connected, but carrier signal lost!  Retrying...
--> Sending: ATDT#777
--> Waiting for carrier.
~[7f]}#@!}!}!} }9}"}&} } } } }#}%B#}%}%}&[03]E`'}'}"}(}"xr~~[7f]}#@!}!}"} }9}"}&} } } } }#}%B#}%}%}&[03]E`'}'}"}(}"4[1f]~~[7f]}#@!}!}#} }9}"}&} } } } }#}%B#}%}%}&[03]E`'}'}"}(}"pD~~[7f]}#@!}!}$} }9}"}&} } } } }#}%B#}%}%}&[03]E`'}'}"}(}"=L~~[7f]}#@!}!}%} }9}"}&} } } } }#}%B#}%}%}&[03]E`'}'}"}(}"y}7~~[7f]}#@!}!}&} }9}"}&} } } } }#}%B#}%}%}&[03]E`'}'}"}(}"5z~~[7f]}#@!}!}'} }9}"}&} } } } }#}%B#}%}%}&[03]E`'}'}"}(}"q!~~[7f]}#@!}!}(} }9}"}&} } } } }#}%B#}%}%}&[03]E`'}'}"}(}">c~~[7f]}#@!}!})} }9}"}&} } } } }#}%B#}%}%}&[03]E`'}'}"}(}"z8~~[7f]}#@!}!}*} }9}"}&} } } } }#}%B#}%}%}&[03]E`'}'}"}(}"6U~
And plus one problem: after disconnection you should restart computer because modem no more initializes...

Posted: 15 May 2009, 18:55
by Josh
khurtsiya wrote:And plus one problem: after disconnection you should restart computer because modem no more initializes...
You mean disconnection of the device? Or disconnection from the call?

The strange lines you see with lots of }}}} are produced by the pppd program, trying to negotiate a network connection. You really should let gnome-ppp or a similar program do the job, now that you know it works.

Just make sure it uses "ttyUSB0" as the modem device.

Posted: 16 May 2009, 09:11
by khurtsiya
I mean device.

If you connect and then disconnect even in GNOME-PPP you can not connect again because system does not see modem.

If you will try to Detect it with GNOME-PPP it shows

Image

Posted: 16 May 2009, 09:12
by khurtsiya
And one more.

I finally get connected with GNOME-PPP and surf in Opera, BUT FireFox didn't work at the same time! How is this possible? =)

Posted: 16 May 2009, 13:30
by Josh
It has to be a setting in Firefox; that's logical.

Look for "Proxy Settings" or similar and see if it is set to "No Proxy". That is the only issue I can think of ...

Do you have other browsers?

You can also use the "ping" command to test if the connection and the name resolution is good ("ping www.heise.de", stop with ctrl-c).

Posted: 16 May 2009, 13:34
by khurtsiya
Correct. No problem with FF now.

But what I need to do to disconnect modem?

After pushing Disconnect I can not connect again =)

Posted: 16 May 2009, 14:45
by Josh
First, we need to find out if something is happening to the modem on the USB level. You know now how it looks if the device is switched alright - you see "ttyUSB0" if you call "dmesg".

Now, what does "dmesg" show after you connected and disconnected again?

Posted: 16 May 2009, 15:09
by khurtsiya
dmesg before connection

Code: Select all

[  189.527582] wlan0: associated

[  189.550447] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

[  190.698779] padlock: VIA PadLock not detected.

[  200.053018] wlan0: no IPv6 routers present

[  583.123539] scsi 5:0:0:0: rejecting I/O to dead device

[  583.217093] usb 5-1: USB disconnect, address 2

[  584.696391] usb 5-1: new full speed USB device using uhci_hcd and address 3

[  584.859114] usb 5-1: configuration #1 chosen from 1 choice

[  584.861381] usbserial_generic 5-1:1.0: generic converter detected

[  584.861505] usb 5-1: generic converter now attached to ttyUSB0

[  584.887080] usbserial_generic 5-1:1.1: generic converter detected

[  584.887183] usb 5-1: generic converter now attached to ttyUSB1

[  584.894482] usbserial_generic 5-1:1.2: generic converter detected

[  584.894581] usb 5-1: generic converter now attached to ttyUSB2

[  584.898183] usbserial_generic 5-1:1.3: generic converter detected

[  584.898278] usb 5-1: generic converter now attached to ttyUSB3
dmesg after disconnect

Code: Select all

[  189.527582] wlan0: associated

[  189.550447] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

[  190.698779] padlock: VIA PadLock not detected.

[  200.053018] wlan0: no IPv6 routers present

[  583.123539] scsi 5:0:0:0: rejecting I/O to dead device

[  583.217093] usb 5-1: USB disconnect, address 2

[  584.696391] usb 5-1: new full speed USB device using uhci_hcd and address 3

[  584.859114] usb 5-1: configuration #1 chosen from 1 choice

[  584.861381] usbserial_generic 5-1:1.0: generic converter detected

[  584.861505] usb 5-1: generic converter now attached to ttyUSB0

[  584.887080] usbserial_generic 5-1:1.1: generic converter detected

[  584.887183] usb 5-1: generic converter now attached to ttyUSB1

[  584.894482] usbserial_generic 5-1:1.2: generic converter detected

[  584.894581] usb 5-1: generic converter now attached to ttyUSB2

[  584.898183] usbserial_generic 5-1:1.3: generic converter detected

[  584.898278] usb 5-1: generic converter now attached to ttyUSB3

[  705.897522] PPP BSD Compression module registered

[  705.929481] PPP Deflate Compression module registered

Posted: 16 May 2009, 17:29
by Josh
So the modem is still there. It must be some other cause. I'm afraid I have no idea ...

zte ac8710 log

Posted: 19 May 2009, 06:31
by akhilesh_s
http://pastebin.com/m2afe3cc6

Now I've capture using the 0xfffd 0xff6 device which are actually the storage device and after they gets switched to modem mode which 0xfff1


Any clues ?

Posted: 19 May 2009, 22:45
by Josh
Yes, that's the right one. And look at the second last bulk transfer "going down" (starting at line 639). That's the same message as khurtsiya's.

So just try the same steps but with your slightly different IDs.

Posted: 25 Jun 2009, 22:40
by khurtsiya
Hi there! I am back again :)

Just bought Asus Eee PC 901 and trying to use modem there.

Copied there my usb_modeswitch.conf and wvdial.conf.

When typing sudo usb_modeswithch it freezes here:

Code: Select all

Looking for default devices
Found default devices (1)
Accessing device 005 on bus 002 ...
Using endpoints 0x05 (out) and 0x84 (in) ...
Inquiring device details; driver will be detached ...
Looking for active driver ...
OK, driver found ("usb-storage")
OK, Driver "usb-storage" detached 
and that is all...

Any ideas why on Acer Aspire works and on Eee PC not?

TIA

Michael

Posted: 25 Jun 2009, 23:09
by Josh
Are you able to stop the hang with <ctrl-c> ?

If not, can you use a second terminal at the same time and call "dmesg" right after the freeze?

Posted: 25 Jun 2009, 23:19
by khurtsiya
I stopped it and this is what I've got:

http://paste.ubuntu.com/203797/

Posted: 26 Jun 2009, 00:09
by Josh
The last line shows the problem:

Code: Select all

scsi 3:0:0:0: rejecting I/O to dead device
This may be a hardware problem (try annother port, try a powered hub) or a kernel problem of your distribution. If you can, try a plain vanilla (original, unpatched) kernel.