← Back to team overview

sslug-teknik team mailing list archive

Re: diald

 

Mon, 04 Oct 1999 Skrev Frank Damgaard:
 
> 
> #!/bin/sh
> 
> LOGS=/var/log/chat.log
> PHONE=NNNNNNNN
> 
> exec chat -v -r $LOGS \
> REPORT CONNECT \
> REPORT OK \
> REPORT BUSY \
> REPORT ERROR \
> REPORT 'NO CARRIER' \
> REPORT 'NO DIALTONE' \
> TIMEOUT 8 \
> '' "ATZ1" \
> OK ATDT$PHONE \
> ABORT 'NO CARRIER' \
> ABORT 'BUSY' \
> ABORT 'NO DIALTONE' \
> ABORT 'WAITING' \
> TIMEOUT 25 \
> CONNECT  

Snip af /var/log/messages ved opkaldsforsøg:
 Oct  4 18:16:57 pia modprobe: can't locate module tap15
Oct  4 18:17:12 pia diald[1158]: Trigger: udp       192.168.0.1/1024    195.82.195.101/53
Oct  4 18:17:12 pia diald[1158]: Calling site 195.82.195.101
Oct  4 18:17:13 pia diald[1158]: connector: /etc/ppp/chatscript.diald.isdn: unexpected EOF while looking for `"'
Oct  4 18:17:13 pia diald[1158]: connector: /etc/ppp/chatscript.diald.isdn: /etc/ppp/chatscript.diald.isdn: line 21: syntax error
Oct  4 18:17:13 pia diald[1158]: Connect script failed.
Oct  4 18:17:14 pia diald[1158]: Delaying 30 seconds before clear to dial.   

Syntax error line 21, ok men der er ikke nogen line 21 i  min/Franks fil
line 20 er CONNECT 

--
mvh/gert

o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o

Gert Holtoft      holtoft@xxxxxxxxxx

## DK-FARUM ##


Follow ups

References