Paul Aviles wrote:

> This is probably the most stupid question here and I am sure it has been
> asked a million times.
>
> I have RH 6 and I can connect to my ISP using ipup ppp0. The computer has a
> static IP address and connects to the ISP using PPP and gets a dynamic IP. I
> am sure this is probably the case for most people. I have compiled and
> installed DIALD 0.99.1 and I am still pretty much in the same waters. I
> cannot for my life get this thing to work. Can someone post real examples on
> how to configure diald.

I use the following to configure diald:

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
netmask 255.255.255.255
pppd-options asyncmap 0 USER_ID_AT_ISP remotename ISP_NAME
#  ipcp-accept-remote
# impulse 300,0,0
defaultroute
modem
crtscts
connect "/usr/sbin/chat -f /etc/ppp/pppchat -r /etc/ppp/connect-errors"
redial-timeout 10
fifo /etc/diald/gnc.ctl
ip-up "exec /home/bchiodini/bin/netmail"
# >> /tmp/netmail.log 2>&1"
# 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

/etc/ppp/pppchat:

ABORT "NO DIALTONE"
ABORT BUSY
ABORT "NO CARRIER"
REPORT "CONNECT"
"" ATZ
OK AT&F&C1E0s11=55L0M0S95=1X4W1&Q5&D3
OK ATDT2222222
CONNECT ""

/etc/ppp/pap-secrets:

# PAP secrets file
# remotenames ppp<n> are reserved for netcfg
#
# Format:
#name                     remote           secret
USER_ID_AT_ISP   ISP_NAME    YOUR_PASSWORD

In the pap-secrets file, the USER_ID ISP_NAME fields must match those in the
diald.conf file.

In the pppchat file substitute your ISP's telephone number for 2222222 and your
modem init strings.  These strings are used with a Zoom dualmode external (56K
Rockwell Chipset).

FYI:  I am running RedHat 6.0 with the 2.2.12 kernel.

I hope this helps.

Bob ...

--
--------------------------------------------------------
Bob Chiodini                      [EMAIL PROTECTED]
--------------------------------------------------------



-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to