Re: Alexey, Latvia

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Jacques,

I repeated the test with wvdial as you requested but the outcome is virtually 
identical, NO CARRIER after slmodem saying something like:

V8AGC, overflow = 0xfffffde2,
V8: Time Out Waiting For ANSam...

I tried with Stupid Mode set to 1 and 0, both to the same effect.
I hope the new log helps ...

=====================================================================

# wvdial
--> WvDial: Internet dialer version 1.56 (abuild@balli)
--> Cannot get information for serial port.
--> 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.
--> Idle Seconds = 300, disabling automatic reconnect.
--> Sending: ATDT9008080
--> Waiting for carrier.
ATDT9008080
NO CARRIER
--> No Carrier!  Trying again.
--> Sending: ATDT9008080
--> Waiting for carrier.
ATDT9008080
Caught signal 2:  Attempting to exit gracefully...
--> Disconnecting at Sun Jan 13 18:34:42 2008
==============================================================
# cat /etc/wvdial.conf

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem = /dev/ttySL0
Phone = 9008080
Idle Seconds = 300
Password = 1111
Modem Type = Analog Modem
Stupid Mode = 1
Compuserve = 0
Baud = 460800
Auto DNS = 1
Dial Command = ATDT
Ask Password = 0
ISDN = 0
Username = 1111
Carrier Check = no


==============================================================
slmodemd -a hw:0,6 -d 9 -c LATVIA
SmartLink Soft Modem: version 2.9.11 Jan  5 2008 22:13:27
<591.920858> SmartLink Soft Modem: version 2.9.11 Jan  5 2008 22:13:27
<591.920904> hw:0,6: startup modem...
<591.921009> hw:0,6: update termios...
symbolic link `/dev/ttySL0' -> `/dev/pts/2' created.
modem `hw:0,6' created. TTY is `/dev/pts/2'
<591.921253> open file: /var/lib/slmodem/data.hw:0,6...
<591.922931> main: rt applyed: SCHED_FIFO, pri 99
Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
<597.344905> main: termios changed.
<597.344926> hw:0,6: update termios...
<597.422755> main: termios changed.
<597.422778> hw:0,6: update termios...
<597.522676> hw:0,6: run cmd: ATZ
<597.522701> hw:0,6: modem reset...
<597.522707> hw:0,6: modem set state: 1 --> 1...
<597.522714> hw:0,6: modem set mode: -> 0...
<597.522718> hw:0,6: modem report result: 0 (OK)
<597.622860> hw:0,6: run cmd: ATQ0V1E1S0=0&C1&D2+FCLASS=0
<597.622893> hw:0,6: modem set mode: -> 0...
<597.622903> hw:0,6: modem report result: 0 (OK)
<597.722811> hw:0,6: run cmd: ATDT9008080
<597.722837> hw:0,6: modem dial: T9008080...
<597.722842> hw:0,6: modem_dial_start...
<597.722847> call: create...
<597.722856> CallProgFP_Create >>
<597.722860> APPLY_FILTER = 0
<597.722866> Detection Thresholds: levle_fix=45,--> LEVEL_THRESHOLD=90
<597.722872> ============> 0
<597.722876> Cadence: Busy Tone loose detection is 0
<597.722882> TYPE BUSY
<597.722886> Filter index 0
<597.722889> Filter SubIndex 0
<597.722893> MAX_ON_TIME 27 Buffers     MIN_ON_TIME 10 Buffers
<597.722898> MAX_OFF_TIME 27 Buffers    MIN_OFF_TIME 10 Buffers
<597.722902> OFF_TIME_THAT_RESETS_CYCLE 81
<597.722906> BUFFER LENGTH 160 samples.
<597.722910> INTEGRATION_LENGTH 0[ms]
<597.722914> LEVEL 90
<597.722921> INTEGRATION_TIME = 0 Buffers.
<597.722926> Detection Thresholds: levle_fix=45,--> LEVEL_THRESHOLD=90
<597.722931> TYPE DIAL
<597.722935> Filter index 3
<597.722938> Filter SubIndex 0
<597.722942> MAX_ON_TIME 0 Buffers     MIN_ON_TIME 0 Buffers
<597.722946> MAX_OFF_TIME 0 Buffers    MIN_OFF_TIME 0 Buffers
<597.722950> OFF_TIME_THAT_RESETS_CYCLE 0
<597.722954> BUFFER LENGTH 666 samples.
<597.722958> INTEGRATION_LENGTH 200[ms]
<597.722962> LEVEL 90
<597.722966> INTEGRATION_TIME = 1 Buffers.
<597.722972> CALLPROG Create <<
<597.722976> CALLPROG Dialing T9008080
<597.722981> Configuration->tone_DigitLength 100
<597.722985> Configuration->pulse_OffHookTime 40
<597.722989> Configuration->pulse_OnHookTime 60
<597.722992> Configuration->dialPauseTime 4
<597.722996> Configuration->flashTime 7
<597.723000> Configuration->toneOrPulseFlag 0
<597.723004> Configuration->dialModifierValidationFlag 0
<597.723008> Configuration->ABCD_PermittedFlag 0
<597.723012> Configuration->pulseAndToneInSameStringPermittedFlag 0
<597.723017> Configuration->callingToneFlag 0
<597.723020> Configuration->commaPauseDurLimit 30
<597.723025> Configuration->digitPattern 1
<597.723028> Configuration->tone_BetweenDigitsInterval 100
<597.723032> Configuration->pulse_BetweenDigitsInterval 800
<597.723037> DTMF_Gain1 = 10337
<597.723041> DTMF_Gain2 = 13014
<597.723045> AnalyzeDialString: Updated 17 May 1999 00:50
<597.723050> AnalyzeDialString: LAST_DIALABLE_SYMBOL is 7
<597.723054> Dial String Syntax is VALID
<597.723060> GetNoAnswerTimeOut. 60
<597.723064> WAIT DIAL TIMEOUT = 4
<597.723068> CALLPROG_Dial was exited.
<597.723072> call: create RC: 9600 <-> 8000...
<597.723079> hw:0,6: modem_start..
<597.723084> hw:0,6: modem set state: 1 --> 2...
<597.723090> hw:0,6: new state: DP_ESTAB
<597.723094> main: alsa_ioctl: cmd 8, arg 3...
<597.723098> hw:0,6: modem set hook: 0 --> 1...
<597.723102> main: alsa_ioctl: cmd 2, arg 1...
<597.723253> main: alsa_ioctl: cmd 11, arg 0...
<597.723320> main: alsa_ioctl: cmd 4, arg 2580...
<597.723324> main: alsa_ioctl: cmd 7, arg 30...
<597.723328> main: alsa_start...
Hardware PCM card 0 'HDA Intel' device 6 subdevice 0
Its setup is:
  stream       : PLAYBACK
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 1
  rate         : 9600
  exact rate   : 9600 (9600/1)
  msbits       : 16
  buffer_size  : 2048
  period_size  : 64
  period_time  : 6666
  tick_time    : 4000
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 4
  xfer_align   : 4
  start_threshold  : 2147483647
  stop_threshold   : 2048
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Hardware PCM card 0 'HDA Intel' device 6 subdevice 0
Its setup is:
  stream       : CAPTURE
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 1
  rate         : 9600
  exact rate   : 9600 (9600/1)
  msbits       : 16
  buffer_size  : 2048
  period_size  : 64
  period_time  : 6666
  tick_time    : 4000
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 4
  xfer_align   : 4
  start_threshold  : 2147483647
  stop_threshold   : 2048
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
<597.754820> main: startup write: 384...
<597.761596> call: process: msg 18 --> 0
<598.341572> tone detected by cadence dial
<598.341594> STATE:  CALLPROG_WAIT_DIAL --> CALLPROG_DIALING
<598.341619> call: process: msg 0 --> 3
<598.348243> DIALER_INITIAL_STATE
<598.348257> Digit is T
<598.348264> Dialer.c: GetNextDigit... TONE_OR_PULSE_FLAG became TONE_DIALING
<598.348271> Digit is 9
<598.348278> Samples left = 800
<598.348300> call: process: msg 3 --> 0
<598.428228> tone detected by cadence dial
<598.441580> Done Generating digit
<598.508240> tone detected by cadence dial
<598.541597> Done Generating silence between digits
<598.541631> Digit is 0
<598.541640> Samples left = 800
<598.574973> CYCLES_COUNTER= 1
<598.594911> CYCLES_COUNTER= 1
<598.641565> Done Generating digit
<598.741588> Done Generating silence between digits
<598.741615> Digit is 0
<598.741623> Samples left = 800
<598.841607> Done Generating digit
<598.941594> Done Generating silence between digits
<598.941622> Digit is 8
<598.941630> Samples left = 800
<599.041584> Done Generating digit
<599.141588> Done Generating silence between digits
<599.141615> Digit is 0
<599.141622> Samples left = 800
<599.241572> Done Generating digit
<599.341588> Done Generating silence between digits
<599.341615> Digit is 8
<599.341624> Samples left = 800
<599.354904> DCR: initial DC Evaluation done, DC level -207, enabled
<599.441576> Done Generating digit
<599.541592> Done Generating silence between digits
<599.541619> Digit is 0
<599.541627> Samples left = 800
<599.641595> Done Generating digit
<599.648261> DIALER_END_STATE
<599.648274> STATE:  CALLPROG_DIALING --> CALLPROG_WAIT_RING
<599.648293> call: process: msg 0 --> 4
<599.654935> call: process: msg 4 --> 0
<603.275032> CYCLES_COUNTER= 2
<610.721760> Found 2250
<610.721796> call: process: msg 0 --> 17
<610.721805> hw:0,6: 124416: change dp: --> 8...
<610.721815> v8: create: caller 1, automode 0, dp id 92.
<610.721827> V8: Create called, V8 version 23/09/03 .
<610.721833> ############################################################
<610.721841> V8: local configuration :
<610.721847>    Side = Caller
<610.721855>    Operation Mode = 0
<610.721863>    Modulations - V90=1, V34=1, V34HD=0, V32=1, V22=0, V17=0, 
V29=0, V27=0, V23=0, V21=0
<610.721874>    Call Functions - Data=1, CallRxFax=0, CallTxFax=0, V.80=0
<610.721884>    Protocol - LAPM V.42
<610.721891>    v8bisIndication - 0
<610.721899>    timeouts - signal detect 12 sec, message detect 7 sec
<610.721908>    quickConnectEnabled - 1
<610.721915>    lapmIndication - 1
<610.721923>    ucodeForQts - 9
<610.721930>    ansPcmLevel - 0
<610.721937> ############################################################
<610.721950> V8: Initial CM message length is 9 octets
<610.721959> call: delete...
<610.721965> Dialer was aborted.
<610.721972> CALLPROG_Delete is entered
<610.721978> cadence_delete with CADENCE_DIAL_OBJ is invoked
<610.721986> cadence_delete with CADENCE_OBJ is invoked
<610.721994> CALLPROG_Delete is exited
<610.722014> V8: State changed from V8_INIT to V8_ORG_WAITING_FOR_ANSAM
<610.722022> v8: status (6) V8_ORG_WAITING_FOR_ANSAM
<618.428577> V8AGC, overflow = 0x216,
<621.135240> V8AGC, overflow = 0x265,
<621.135266> V8AGC, overflow = 0xfffffda2,
<622.488593> V8AGC, overflow = 0xfffffde2,
<622.721969> V8: Time Out Waiting For ANSam...
<622.721997> V8: State changed from V8_ORG_WAITING_FOR_ANSAM to 
V8_ORG_TIME_OUT_WAITING_FOR_ANSAM
<622.722009> v8: process: timeout.
<622.722015> v8: status (11) V8_ORG_TIME_OUT_WAITING_FOR_ANSAM
<622.722022> hw:0,6: modem_update_status: 512
<622.722029> hw:0,6: --> FINISH.
<622.722035> hw:0,6: modem_hup...
<622.722041> hw:0,6: modem set state: 2 --> 9...
<622.722053> hw:0,6: new state: DP_DISC
<622.722060> hw:0,6: modem_stop..
<622.722066> main: alsa_stop...
<622.740195> hw:0,6: modem set hook: 1 --> 0...
<622.740221> main: alsa_ioctl: cmd 2, arg 0...
<622.740369> main: alsa_ioctl: cmd 8, arg 0...
<622.740381> v8: delete...
<622.740390> hw:0,6: modem set state: 9 --> 1...
<622.740411> hw:0,6: new state: MODEM_IDLE
<622.740418> hw:0,6: modem report result: 3 (NO CARRIER)
<622.740437> main: dev write = 0
<623.040431> hw:0,6: run cmd: ATDT9008080
<623.040457> hw:0,6: modem dial: T9008080...
<623.040464> hw:0,6: modem_dial_start...
<623.040472> call: create...
<623.040483> CallProgFP_Create >>
<623.040490> APPLY_FILTER = 0
<623.040499> Detection Thresholds: levle_fix=45,--> LEVEL_THRESHOLD=90
<623.040508> ============> 0
<623.040514> Cadence: Busy Tone loose detection is 0
<623.040524> TYPE BUSY
<623.040530> Filter index 0
<623.040536> Filter SubIndex 0
<623.040543> MAX_ON_TIME 27 Buffers     MIN_ON_TIME 10 Buffers
<623.040550> MAX_OFF_TIME 27 Buffers    MIN_OFF_TIME 10 Buffers
<623.040558> OFF_TIME_THAT_RESETS_CYCLE 81
<623.040564> BUFFER LENGTH 160 samples.
<623.040571> INTEGRATION_LENGTH 0[ms]
<623.040578> LEVEL 90
<623.040588> INTEGRATION_TIME = 0 Buffers.
<623.040597> Detection Thresholds: levle_fix=45,--> LEVEL_THRESHOLD=90
<623.040605> TYPE DIAL
<623.040612> Filter index 3
<623.040618> Filter SubIndex 0
<623.040624> MAX_ON_TIME 0 Buffers     MIN_ON_TIME 0 Buffers
<623.040631> MAX_OFF_TIME 0 Buffers    MIN_OFF_TIME 0 Buffers
<623.040639> OFF_TIME_THAT_RESETS_CYCLE 0
<623.040645> BUFFER LENGTH 666 samples.
<623.040652> INTEGRATION_LENGTH 200[ms]
<623.040659> LEVEL 90
<623.040666> INTEGRATION_TIME = 1 Buffers.
<623.040675> CALLPROG Create <<
<623.040682> CALLPROG Dialing T9008080
<623.040689> Configuration->tone_DigitLength 100
<623.040696> Configuration->pulse_OffHookTime 40
<623.040703> Configuration->pulse_OnHookTime 60
<623.040710> Configuration->dialPauseTime 4
<623.040717> Configuration->flashTime 7
<623.040724> Configuration->toneOrPulseFlag 0
<623.040730> Configuration->dialModifierValidationFlag 0
<623.040737> Configuration->ABCD_PermittedFlag 0
<623.040744> Configuration->pulseAndToneInSameStringPermittedFlag 0
<623.040751> Configuration->callingToneFlag 0
<623.040758> Configuration->commaPauseDurLimit 30
<623.040765> Configuration->digitPattern 1
<623.040771> Configuration->tone_BetweenDigitsInterval 100
<623.040778> Configuration->pulse_BetweenDigitsInterval 800
<623.040786> DTMF_Gain1 = 10337
<623.040792> DTMF_Gain2 = 13014
<623.040800> AnalyzeDialString: Updated 17 May 1999 00:50
<623.040807> AnalyzeDialString: LAST_DIALABLE_SYMBOL is 7
<623.040814> Dial String Syntax is VALID
<623.040821> GetNoAnswerTimeOut. 60
<623.040828> WAIT DIAL TIMEOUT = 4
<623.040835> CALLPROG_Dial was exited.
<623.040841> call: create RC: 9600 <-> 8000...
<623.040851> hw:0,6: modem_start..
<623.040858> hw:0,6: modem set state: 1 --> 2...
<623.040867> hw:0,6: new state: DP_ESTAB
<623.040874> main: alsa_ioctl: cmd 8, arg 3...
<623.040882> hw:0,6: modem set hook: 0 --> 1...
<623.040889> main: alsa_ioctl: cmd 2, arg 1...
<623.041021> main: alsa_ioctl: cmd 11, arg 0...
<623.041116> main: alsa_ioctl: cmd 4, arg 2580...
<623.041125> main: alsa_ioctl: cmd 7, arg 30...
<623.041132> main: alsa_start...
Hardware PCM card 0 'HDA Intel' device 6 subdevice 0
Its setup is:
  stream       : PLAYBACK
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 1
  rate         : 9600
  exact rate   : 9600 (9600/1)
  msbits       : 16
  buffer_size  : 2048
  period_size  : 64
  period_time  : 6666
  tick_time    : 4000
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 4
  xfer_align   : 4
  start_threshold  : 2147483647
  stop_threshold   : 2048
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Hardware PCM card 0 'HDA Intel' device 6 subdevice 0
Its setup is:
  stream       : CAPTURE
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 1
  rate         : 9600
  exact rate   : 9600 (9600/1)
  msbits       : 16
  buffer_size  : 2048
  period_size  : 64
  period_time  : 6666
  tick_time    : 4000
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 4
  xfer_align   : 4
  start_threshold  : 2147483647
  stop_threshold   : 2048
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
<623.076452> main: startup write: 384...
<623.083180> call: process: msg 18 --> 0
<623.663145> tone detected by cadence dial
<623.663169> STATE:  CALLPROG_WAIT_DIAL --> CALLPROG_DIALING
<623.663195> call: process: msg 0 --> 3
<623.669820> DIALER_INITIAL_STATE
<623.669832> Digit is T
<623.669839> Dialer.c: GetNextDigit... TONE_OR_PULSE_FLAG became TONE_DIALING
<623.669847> Digit is 9
<623.669854> Samples left = 800
<623.669875> call: process: msg 3 --> 0
<623.749806> tone detected by cadence dial
<623.763173> Done Generating digit
<623.829822> tone detected by cadence dial
<623.863161> Done Generating silence between digits
<623.863184> Digit is 0
<623.863189> Samples left = 800
<623.896502> CYCLES_COUNTER= 1
<623.916488> CYCLES_COUNTER= 1
<623.963142> Done Generating digit
<624.063147> Done Generating silence between digits
<624.063172> Digit is 0
<624.063179> Samples left = 800
<624.163155> Done Generating digit
<624.263176> Done Generating silence between digits
<624.263205> Digit is 8
<624.263214> Samples left = 800
<624.363156> Done Generating digit
<624.463162> Done Generating silence between digits
<624.463189> Digit is 0
<624.463197> Samples left = 800
<624.563170> Done Generating digit
<624.663168> Done Generating silence between digits
<624.663197> Digit is 8
<624.663206> Samples left = 800
<624.676475> DCR: initial DC Evaluation done, DC level -216, enabled
<624.763153> Done Generating digit
<624.863161> Done Generating silence between digits
<624.863183> Digit is 0
<624.863188> Samples left = 800
<624.963162> Done Generating digit
<624.969841> DIALER_END_STATE
<624.969859> STATE:  CALLPROG_DIALING --> CALLPROG_WAIT_RING
<624.969874> call: process: msg 0 --> 4
<624.976504> call: process: msg 4 --> 0
<635.969235> hw:0,6: modem_tty_write: hangup...
<635.969254> hw:0,6: modem_hup...
<635.969265> hw:0,6: modem set state: 2 --> 9...
<635.969274> hw:0,6: new state: DP_DISC
<635.969287> main: termios changed.
<635.969294> hw:0,6: update termios...
<635.969308> main: pty closed.
<635.970013> hw:0,6: modem_stop..
<635.970023> main: alsa_stop...
<635.985017> hw:0,6: modem set hook: 1 --> 0...
<635.985043> main: alsa_ioctl: cmd 2, arg 0...
<635.985199> main: alsa_ioctl: cmd 8, arg 0...
<635.985210> call: delete...
<635.985217> Dialer was aborted.
<635.985222> CALLPROG_Delete is entered
<635.985241> cadence_delete with CADENCE_DIAL_OBJ is invoked
<635.985249> cadence_delete with CADENCE_OBJ is invoked
<635.985255> CALLPROG_Delete is exited
<635.985264> hw:0,6: modem set state: 9 --> 1...
<635.985271> hw:0,6: new state: MODEM_IDLE
<635.985277> hw:0,6: modem report result: 3 (NO CARRIER)
<635.985292> main: dev write = 0
<638.687422> main: signal 2: mark termination.
<638.687499> hw:0,6: modem_delete...

On Sun January 13 2008 14:34:39 Jacques Goldberg wrote:
> Alexey,
> The tool which you have used to try to dial does not show relevant
> information, at least at my level of understanding.
>
> Give the following command
> slmodemd -a hw:0,6 -d 9 -c LATVIA
> and DO NOT STOP IT.
> In an other window, as root (su) give the command
> wvdialconf /etc/wvdial.conf
> If this detects the modem, it will work: then, edit the file
> /etc/wvdial.conf
> Three things are obvious: phone number, username, password.
> For these three lines remove ; > and < and replace the word which was in
> < ... > by its value given by your ISP
> Last thing, add one line:
> Carrier Check = no
> Save and exit the editor.
>
> Next, just type
> wvdial
> and you should be connected.
> wvdial and slmodemd are stopped by typing CTRL-C once you does not need
> them anynore (close the connection)
>
> Jacques
>
--

Best regards, 

Alexey

[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux