Re: [ubuntu-in] BSNL Huawei CDMA problem (Ramnarayan.K)

2009-07-02 Thread Ninad Pundalik
Hi Ram,

Selectively showing some part of your output.  I might be wrong here,
but it seems that there seems to be a problem with the permissions for
the device (/dev/ttyUSB0), which are being created by default.  It is
shown in {2).  Even running wvdial with sudo is giving errors.  Also,
wvdial can't find pppd.  Try 'whereis pppd' and see if the path to it
is the same as '/usr/sbin/pppd', or is in a folder in your PATH
variable (env | grep PATH or echo $PATH)

Also, (1) looks wierd.  Is there some problem in detecting the device
correctly?  You might need to report the details of that the device to
Launchpad and wait a little to get it fixed.  'lsusb -v -d
[vendorid]:[productid]' will give you a dump on the USB device, which
could be useful

1.
> [ 2464.755125] usb 2-2: device firmware changed
> [ 2464.755151] ti_usb_3410_5052: probe of 2-2:1.0 failed with error -5

> [ 2465.145180] ti_usb_3410_5052: probe of 2-2:1.0 failed with error -5

2.
> --> Unable to run /usr/sbin/pppd.
> --> Check permissions, or specify a "PPPD Path" option in wvdial.conf.

> r...@ram-laptop:~$ sudo wvdial 93
> [sudo] password for ram:
--> WvDial: Internet dialer version 1.60
--> Cannot open /dev/ttyUSB0: Input/output error

> gnome ppp
> --> Ignoring malformed input line: ";Do NOT edit this file by hand!"
> --> WvDial: Internet dialer version 1.60
> --> Cannot open /dev/ttyUSB0: Input/output error

This isn't solving your problem much, but I can't think of anything.
:) Maybe someone on the list could be more specific.

Ninad S. Pundalik
http://ninadpundalik.co.cc/blog
GPG Key Fingerprint: 2DF7 B856 C75E C9F9 0504 C0EF D456 1946 7C45 2C69

-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


Re: [ubuntu-in] BSNL Huawei CDMA problem

2009-07-01 Thread Ramnarayan.K
Hi Ninad,

following your suggestions

On Mon, Jun 15, 2009 at 5:43 PM, Ninad Pundalik wrote:

> Kindly check the mail I had sent in response to your earlier mail.
> This is a problem with wvdial and not the kernel, if you are unable to
> connect to the internet.  I too had similar problems with a different
> dialer.  I used ppoeconfig to set it up, and successfully connect to
> the net.  The directions are posted at my blog, on this post.
>
> http://ninadpundalik.co.cc/blog/2009/05/lg-lxu800-dialer-on-ubuntu-jaunty/
>
> Please revert with your progress, and any problems that you have.
>
>
I have tried to set it up under pppoeconfig and it still does not work.

This is the present situation
$ dmesg
[ 2463.820056] usb 2-2: new full speed USB device using uhci_hcd and address
6
[ 2464.011217] usb 2-2: configuration #1 chosen from 1 choice
[ 2464.017144] ti_usb_3410_5052 2-2:1.0: TI USB 3410 1 port adapter
converter detected
[ 2464.017151] usb 2-2: firmware: requesting ti_usb-v0451-p3410.fw
[ 2464.028810] usb 2-2: firmware: requesting ti_3410.fw
[ 2464.612056] usb 2-2: reset full speed USB device using uhci_hcd and
address 6
[ 2464.755125] usb 2-2: device firmware changed
[ 2464.755151] ti_usb_3410_5052: probe of 2-2:1.0 failed with error -5
[ 2464.756857] usb 2-2: USB disconnect, address 6
[ 2464.924057] usb 2-2: new full speed USB device using uhci_hcd and address
7
[ 2465.143219] usb 2-2: configuration #1 chosen from 2 choices
[ 2465.145169] ti_usb_3410_5052 2-2:1.0: TI USB 3410 1 port adapter
converter detected
[ 2465.145180] ti_usb_3410_5052: probe of 2-2:1.0 failed with error -5
[ 2465.147201] ti_usb_3410_5052 2-2:2.0: TI USB 3410 1 port adapter
converter detected
[ 2465.147273] usb 2-2: TI USB 3410 1 port adapter converter now attached to
ttyUSB0

$ wvdial 93
--> WvDial: Internet dialer version 1.60
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT
--> Carrier detected.  Starting PPP immediately.
--> Unable to run /usr/sbin/pppd.
--> Check permissions, or specify a "PPPD Path" option in wvdial.conf.
^CCaught signal 2:  Attempting to exit gracefully...
--> Disconnecting at Wed Jul  1 22:03:21 2009
r...@ram-laptop:~$ sudo wvdial 93
[sudo] password for ram:
--> WvDial: Internet dialer version 1.60
--> Cannot open /dev/ttyUSB0: Input/output error
--> Cannot open /dev/ttyUSB0: Input/output error
--> Cannot open /dev/ttyUSB0: Input/output error

Note from wvdial.conf
[Modem0]
Modem = /dev/ttyUSB0
Baud = 115200
SetVolume = 0
Dial Command = ATDT
Init1 = ATZ
FlowControl = Hardware (CRTSCTS)
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
# Init3 = at+crm=1;+cmux=1;+cps=33;+cta=0
Modem Type = Analog Modem
Baud = 115200
New PPPD = yes
Modem = /dev/ttyUSB0
Idle Seconds = 90
Auto Reconnect = off

[Dialer 93]
Modem = /dev/ttyUSB0
Baud = 230400
Phone = #777
Init1 = ATZ
Stupid Mode = 1
Dial Command = ATDT
Username = 5961211393
Password = 5961211393
# below line error in spelling crtcts which should be crtscts
# PPPD Options = crtcts multilink usepeerdns lock defaultroute
# PPPD Options = crtscts multilink usepeerdns lock defaultroute
Inherits = Modem0

**
gnome ppp
--> Ignoring malformed input line: ";Do NOT edit this file by hand!"
--> WvDial: Internet dialer version 1.60
--> Cannot open /dev/ttyUSB0: Input/output error
--> Cannot open /dev/ttyUSB0: Input/output error
--> Cannot open /dev/ttyUSB0: Input/output error

kppp
unable to open modem

gpppon
gives no response  and does not show any connection

***
So what next would be grateful for ideas

ram
-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


Re: [ubuntu-in] BSNL Huawei CDMA problem

2009-06-15 Thread Ninad Pundalik
Hi Ram,

As per the following output, which you pasted, the kernel is
recognising your dialer, and creating the nodes for it and mounting it
at the right location.  Hence, the kernel *has detected* your dialer.

> This last  output  is selectively copied and pasted below is with ref
> to the device ( am not sure if you want the whole dmesg)
>> [  230.392069] usb 2-2: new full speed USB device using uhci_hcd and address 
>> 2
>> [  230.583651] usb 2-2: configuration #1 chosen from 1 choice
>> [  230.710421] USB Serial support registered for TI USB 3410 1 port adapter
>> [  230.710448] USB Serial support registered for TI USB 5052 2 port adapter
>> [  230.710486] ti_usb_3410_5052 2-2:1.0: TI USB 3410 1 port adapter 
>> converter detected
>> [  230.710496] usb 2-2: firmware: requesting ti_usb-v0451-p3410.fw
>> [  230.717968] usb 2-2: firmware: requesting ti_3410.fw
>> [  231.344074] usb 2-2: reset full speed USB device using uhci_hcd and 
>> address 2
>> [  231.544143] usb 2-2: device firmware changed
>> [  231.544174] ti_usb_3410_5052: probe of 2-2:1.0 failed with error -5
>> [  231.544213] usbcore: registered new interface driver ti_usb_3410_5052
>> [  231.544218] ti_usb_3410_5052: v0.9:TI USB 3410/5052 Serial Driver
>> [  231.544405] usb 2-2: USB disconnect, address 2
>> [  231.660105] usb 2-2: new full speed USB device using uhci_hcd and address 
>> 3
>> [  231.879285] usb 2-2: configuration #1 chosen from 2 choices
>> [  231.881218] ti_usb_3410_5052 2-2:1.0: TI USB 3410 1 port adapter 
>> converter detected
>> [  231.881237] ti_usb_3410_5052: probe of 2-2:1.0 failed with error -5
>> [  231.883204] ti_usb_3410_5052 2-2:2.0: TI USB 3410 1 port adapter 
>> converter detected
>> [  231.883299] usb 2-2: TI USB 3410 1 port adapter converter now attached to 
>> ttyUSB0

Kindly check the mail I had sent in response to your earlier mail.
This is a problem with wvdial and not the kernel, if you are unable to
connect to the internet.  I too had similar problems with a different
dialer.  I used ppoeconfig to set it up, and successfully connect to
the net.  The directions are posted at my blog, on this post.

http://ninadpundalik.co.cc/blog/2009/05/lg-lxu800-dialer-on-ubuntu-jaunty/

Please revert with your progress, and any problems that you have.

Ninad S. Pundalik
http://ninadpundalik.co.cc/blog
GPG Key Fingerprint: 2DF7 B856 C75E C9F9 0504 C0EF D456 1946 7C45 2C69

-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in