Re: Dialing

Jean-Nicolas Bes (jn@Darksnow.fr)
Sun, 9 May 1999 23:08:15 +0200

On Mon, Apr 26, 1999 at 07:42:52AM -0700, James Vahn wrote:
> On Tue, 20 Apr 1999, Jean-Nicolas Bes wrote:
>
> > Apr 14 15:37:30 local ifcico.ttyS0[7913]: chat got "OK", continue
> > Apr 14 15:38:40 local ifcico.ttyS0[7913]: chat got read return -1
> > errno=4 : Interrupted system call
>
> Odd that it returned "OK" when error 4 is supposed to indicate
> "system locked". I don't know, but since you asked twice...
> serial port settings via setserial? Something else is on the port?
>
I checked up theses.
I found a way to get a debug file, where I can read:

--==<< Cut here >>==--

start ifcico ver 2.14-tx8.9 of Thu Sep 3 19:33:00 1998, verbose 0xffffffff
callist entry "f100.n666.z66"
uid=0, euid=0
creating directory tree for "/var/spool/ftn/inb/tmp/"
mkdir("/var") errno 17
mkdir("/var/spool") errno 17
mkdir("/var/spool/ftn") errno 17
mkdir("/var/spool/ftn/inb") errno 17
mkdir("/var/spool/ftn/inb/tmp") errno 17
getnlent for 66:666/100
Initialize 1 nodelists
try "/var/spool/ftn/nl.d/66NET.048" nodelist
opened nodelist "/var/spool/ftn/nl.d/66NET.048"
nodelist: 0: fidonet 08085ef0
Trying open existing "/var/spool/ftn/nl.d/index"
WARNING: nodelist index needs to be rebuilt with "ifindex"
found 1 entries
match with home domain "fidonet"
Nodelist line: "Hub,100,California Girls,Paris,Emmanuel Raymond,33-146286727,9600,XB,CM,V42B,V34,ZEC,REC,NEC"
getnlent: type 3, pflag=8
getnlent: name California Girls
getnlent: location Paris
getnlent: sysop Emmanuel Raymond
getnlent: phone 33-146286727
getnlent: speed 9600
getnlent: flags 0x70001e01
getnlent: uflag ZEC
getnlent: uflag REC
getnlent: uflag NEC
using domain "fidonet" for outbound
this is our primary domain
sts file name is "/var/spool/ftn/outb/029a0064.sts"
try locking node 66:666/100@fidonet
using domain "fidonet" for outbound
this is our primary domain
bsy file name is "/var/spool/ftn/outb/029a0064.bsy"
creating directory tree for "/var/spool/ftn/outb/aa2634"
mkdir("/var") errno 17
mkdir("/var/spool") errno 17
mkdir("/var/spool/ftn") errno 17
mkdir("/var/spool/ftn/outb") errno 17
created lock OK
check expression "time Any0000-2359"
YY_INPUT "time Any0000-2359" (17) avail, 8192 reqd
Timestr: "Any0000-2359"
chkday: does day 0 match spec -1 ?
chktime: is 22:59 between 00:00 and 23:59 ?
YY_INPUT unavail, 8192 reqd
timelem 1
time 1
elem.expr 1
fulline: return 1
checking result is "true"
applicable option string: "NoHold"
new options value: 0x0002
options: Call NoHold PUA WaZOO EMSI Freqs Zmodem ZedZap Janus Hydra Tcp
calling 66:666/100@fidonet (California Girls, phone 33-146286727)
try opening port "ttyS0" at 0
Trying to create /var/lock/LCK..ttyS0 for 2634
lock result 0 (errno 17)
try open
after open rc=0
set tty raw
savetios.c_iflag=0x00000000
savetios.c_oflag=0x00000000
savetios.c_cflag=0x80001cb2
savetios.c_lflag=0x00000000
savetios.c_cc="\003\034^?\025\004\000\001\000\021\023\032\000\022\017\027\026\000\000s\000\000\000\000\000\000\000\000\000\000\000\000\000"
file flags: stdin: 0x0800, stdout: 0x0801
return to blocking mode
file flags: stdin: 0x0000, stdout: 0x0001
dialing 33-146286727
send_str "ATZ&F1M0S0=0S40=6S27=16+FCLASS=0\r"
chat got 'A'
chat got 'T'
chat got 'Z'
chat got '&'
chat got 'F'
chat got '1'
chat got 'M'
chat got '0'
chat got 'S'
chat got '0'
chat got '='
chat got '0'
chat got 'S'
chat got '4'
chat got '0'
chat got '='
chat got '6'
chat got 'S'
chat got '2'
chat got '7'
chat got '7'
chat got '='
chat got '1'
chat got '6'
chat got '+'
chat got 'F'
chat got 'C'
chat got 'L'
chat got 'A'
chat got 'S'
chat got 'S'
chat got '='
chat got '0'
chat got '\r'
chat got '\r'
chat got '\n'
chat got 'O'
chat got 'K'
chat got '\r'
chat got '\n'
chat got "OK^M
", continue
send_str "ATDT\T\r"
timeout
chat got read return -1
errno=4 : Appel système interrompu.
chat got TIMEOUT
chat got timeout, aborting
could not connect to the remote
dial failed
try unlocking node 66:666/100@fidonet
using domain "fidonet" for outbound
this is our primary domain
bsy file name is "/var/spool/ftn/outb/029a0064.bsy"
unlinking lock file
setting port "/dev/ttyS0" local
hanging up
send_str "ATH0\r\n"
reading link stat (aftercall)
no aftercall string
closing port "/dev/ttyS0"
using domain "fidonet" for outbound
this is our primary domain
sts file name is "/var/spool/ftn/outb/029a0064.sts"
using domain "fidonet" for outbound
this is our primary domain
sts file name is "/var/spool/ftn/outb/029a0064.sts"
call to 66:666/100@fidonet failed (rc=2)
0 of 1 calls, maxrc=2
--==<< Cut here >>==--

Do you wanna see my config file?

Thanks,
Jean-Nicolas Bes.