"Alex H. Vandenham" wrote:
I'm trying to figure out why my diald ppp session will not connect and would
REALLY appreciate some help.

The connect script is the same as one that I use with a manual pppd call and it
works fine so I'm fairly sure the problem is somewhere in the ppp configuration
but I'm baffled.
 

I've got diald with pap running under RedHat6.0
I hope the following help.

Here is a copy of my diald.conf, /etc/ppp/pap-secrets, and /etc/ppp/pppchat:
diald.conf:
# diald.conf for anathoth

# Select the demand dial rules you want
# Bring the link up for anything, timeout in seconds. Use this for
# when the dompute has its own phone line
accept any 300 any
# Use the filter file that comes with diald.  This can be a bit drastic,
# so use the filter below
# include /usr/lib/diald/standard.filter
# or use the filter that brings the link up for use on a line shared with
# a phone
# include /etc/diald/phone.filter

# stuff to set up the diald connection
device /dev/ttyS1
speed 115200
lock
mode ppp
# We may get another terminal server, thus use
# 'dynamic' and do not tell PPP the IP number of the other end
# For use with gated, comment out the 'dynamic' option, and
# set remote to be the same as local
dynamic
local 10.0.0.1
remote 10.0.0.2
pppd-options asyncmap 0 user myuid remotename remotename ipcp-accept-remote
# impulse 300,0,0
defaultroute
modem
crtscts
connect "/usr/sbin/chat -f /etc/ppp/pppchat"
redial-timeout 10
fifo /etc/diald/diald.ctl
# restrict 9:00:00 17:45:00 1 * *
# or-restrict 9:00:00 17:45:00 2 * *
# or-restrict 9:00:00 17:45:00 3 * *
# or-restrict 9:00:00 17:45:00 4 * *
# or-restrict 9:00:00 17:45:00 5 * *
# up
pap-secrets:
# PAP secrets file
# remotenames ppp<n> are reserved for netcfg

# Format:
#name   remote  secret
myuid      remotename     password
/etc/ppp/pppchat:
ABORT "NO DIALTONE"
ABORT BUSY
ABORT "NO CARRIER"
REPORT "CONNECT"
"" ATZ
OK AT&F&C1E0s11=55L0M0S95=1X4W2&Q5&D3
OK ATDT555-1234
CONNECT ""
-- 

Regards,

Bob Chiodini

[EMAIL PROTECTED]
 

Reply via email to