ts-7000
[Top] [All Lists]

Re: [ts-7000] wvdial USB Modem: pppd error

To:
Subject: Re: [ts-7000] wvdial USB Modem: pppd error
From: Jim Jackson <>
Date: Tue, 13 Mar 2007 20:32:30 +0000 (GMT)


On Tue, 13 Mar 2007, javipapi2005 wrote:

> Dear Friends,
>
> I'm making an application on TS7260 and I want to connect USBModem
> with wvdial. When wvdial executes pppd, this exit by error code 1:
>
>   _________________________________________
>
>   PPP generic driver version 2.4.2
>   --> Disconnecting at Tue Mar 13 08:37:01 2007
>   --> The PPP daemon has died: Fatal pppd error (exit code = 1)
>   --> man pppd explains pppd error codes in more detail.
>   --> Try again and look into /var/log/messages and the wvdial and
>   pppd man pages for more information.
>   _________________________________________

Have you got the ppp modules loaded?

  slhc
  ppp_generic
  ppp_async

maybe others depending on setup.


>
>
> In pppd man pages the exit code 1 says:
>
>   _________________________________________
>
>   1  An immediately fatal error of some  kind  occurred,
>      such  as  an essential system call failing, or run­
>      ning out of virtual memory.
>   _________________________________________
>
>
> I'm looking for some response for this error, whitout having luck.
> I'ts error only in a USB Modems?
> Can someone help me?
>
> Thank You,
> Javier Gonzàlez.
>
>
> I put the sequence I use:
>
> 0. System information:
>   ___________________________________________
>   Linux ts7200 2.4.26-ts11 #22 Tue Jun 6 12:23:09 MST 2006 armv4l unknown
>   ___________________________________________
>
>
> 1. To see the usb bus
>   ___________________________________________
>   ts7200:~# more /proc/bus/usb/devices
>
>   T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 3
>   B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
>   D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
>   P:  Vendor=0000 ProdID=0000 Rev= 0.00
>   S:  Product=USB OHCI Root Hub
>   S:  SerialNumber=e0020000
>   C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
>   I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
>   E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms
>   T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
>   D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
>   P:  Vendor=0781 ProdID=5150 Rev= 0.10
>   S:  Manufacturer=SanDisk Corporation
>   S:  Product=Cruzer Mini
>   S:  SerialNumber=200515364209DD620431
>   C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
>   I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50
> Driver=usb-storage
>   E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
>   E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
>   T:  Bus=01 Lev=01 Prnt=01 Port=02 Cnt=02 Dev#=  3 Spd=12  MxCh= 0
>   D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
>   P:  Vendor=12d1 ProdID=1003 Rev= 0.00
>   S:  Manufacturer=HUAWEI Technologies
>   S:  Product=HUAWEI Mobile
>   C:* #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr=500mA
>   I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
>   E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=128ms
>   E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
>   E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
>   I:  If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
>   E:  Ad=85(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
>   E:  Ad=05(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
>   I:  If#= 2 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50
> Driver=usb-storage
>   E:  Ad=83(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
>   E:  Ad=04(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
>   ___________________________________________
>
>
> 2. To modify to USB serial mod.
>   ___________________________________________
>   ts7200:~# modprobe usbserial vendor=0x12d1 product=0x1003
>
>   usb.c: registered new driver serial
>   usbserial.c: USB Serial support registered for Generic
>   usbserial.c: Generic converter detected
>   usbserial.c: Generic converter now attached to ttyUSB0 (or usb/tts/0
> for devfs)
>   usbserial.c: Generic converter detected
>   usbserial.c: Generic converter now attached to ttyUSB1 (or usb/tts/1
> for devfs)
>   usbserial.c: USB Serial Driver core v1.4
>   ___________________________________________
>
> 3. The usb bus now:
>   ___________________________________________
>   T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 3
>   B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
>   D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
>   P:  Vendor=0000 ProdID=0000 Rev= 0.00
>   S:  Product=USB OHCI Root Hub
>   S:  SerialNumber=e0020000
>   C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
>   I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
>   E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms
>   T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
>   D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
>   P:  Vendor=0781 ProdID=5150 Rev= 0.10
>   S:  Manufacturer=SanDisk Corporation
>   S:  Product=Cruzer Mini
>   S:  SerialNumber=200515364209DD620431
>   C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
>   I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50
> Driver=usb-storage
>   E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
>   E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
>   T:  Bus=01 Lev=01 Prnt=01 Port=02 Cnt=02 Dev#=  3 Spd=12  MxCh= 0
>   D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
>   P:  Vendor=12d1 ProdID=1003 Rev= 0.00
>   S:  Manufacturer=HUAWEI Technologies
>   S:  Product=HUAWEI Mobile
>   C:* #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr=500mA
>   I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=serial
>   E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=128ms
>   E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
>   E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
>   I:  If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=serial
>   E:  Ad=85(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
>   E:  Ad=05(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
>   I:  If#= 2 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50
> Driver=usb-storage
>   E:  Ad=83(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
>   E:  Ad=04(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
>   ___________________________________________
>
> 4. The /etc/wvdial.conf file
>   ___________________________________________
>   [Dialer Defaults]
>   Phone = *99***1#
>   Username = vodafone
>   Password = vodafone
>   Stupid Mode = 1
>   Dial Command = ATDT
>
>   [Dialer vodafone]
>   Modem = /dev/usb/tts/0
>   Baud = 460800
>   Init2 = ATZ
>   Init3 = ATQ0V1E1S0=0&C1&D2+FCLASS=0
>   ISDN = 0
>   Modem Type = Analog Modem
>
>   [Dialer internet]
>   init3 = AT+CGDCONT=1,"IP","ac.vodafone.es";
>   ___________________________________________
>
> 5. The connection
>   ___________________________________________
>   ts7200:~# wvdial vodafone internet
>
>   --> WvDial: Internet dialer version 1.54.0
>   --> Cannot get information for serial port.
>   --> Initializing modem.
>   --> Sending: ATZ
>   ATZ
>   OK
>   --> Sending: ATZ
>   ATZ
>   OK
>   --> Sending: ATQ0V1E1S0=0&C1&D2+FCLASS=0
>   ATQ0V1E1S0=0&C1&D2+FCLASS=0
>   OK
>   --> Modem initialized.
>   --> Sending: ATDT*99***1#
>   --> Waiting for carrier.
>   ATDT*99***1#
>   CONNECT
>   --> Carrier detected.  Starting PPP immediately.
>   --> Starting pppd at Tue Mar 13 08:36:59 2007
>   --> pid of pppd: 394
>   CSLIP: code copyright 1989 Regents of the University of California
>   PPP generic driver version 2.4.2
>   --> Disconnecting at Tue Mar 13 08:37:01 2007
>   --> The PPP daemon has died: Fatal pppd error (exit code = 1)
>   --> man pppd explains pppd error codes in more detail.
>   --> Try again and look into /var/log/messages and the wvdial and
> pppd man pages for more information.
>   --> Auto Reconnect will be attempted in 5 seconds
>   --> Cannot get information for serial port.
>   --> Initializing modem.
>   --> Sending: ATZ
>   --> Sending: ATQ0
>   --> Re-Sending: ATZ
>   ___________________________________________
>
>
>


------------------------ Yahoo! Groups Sponsor --------------------~-->
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/kOt0.A/gOaOAA/yQLSAA/CFFolB/TM
--------------------------------------------------------------------~->


Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
    
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU