I'm not sure what is not configured correctly for your diald, but here is my 
diald.conf:
#debug 72
debug 0

mode ppp
# lock is now inn the /etc/ppp/options file
#lock
dynamic
local 192.168.254.1
remote 192.168.254.2

fifo /var/run/diald.ctl
accounting-log /var/log/diald.log

include /usr/local/etc/diald/my.filter
first-packet-timeout 120
redial-timeout 15
# HOWTO say the following is valid, but it is not
reroute

device /dev/ttyS4
speed 460800
modem
crtscts

include /usr/local/etc/diald/my.filter
first-packet-timeout 120
redial-timeout 15
# HOWTO says the following is valid, but it is not
reroute

device /dev/ttyS4
speed 460800
modem
crtscts

# ppp options
connect '/usr/sbin/chat -v -f /usr/local/etc/chat/icxnet.isdn.PPPMP'
# device /dev/cua5
window 3000
mtu 1500
mru 1500
defaultroute
#pppd-options name webnut remotename icxnet
pppd-options noauth name webnut remotename icxnet
#ip-up /usr/local/etc/diald/ip-up
#ip-goingdown /usr/local/etc/diald/ip-goingdown


and, of course, your pap-secrets or chap-secrets entry should be correct.  Notice how 
the diald "name" and "remotename" equals client and server columns, respectively, in 
pap-secrects.
Also:
        /bin/echo 1 > /proc/sys/net/ipv4/ip_dynaddr
to allow diald to resend the ip packet that triggered ppp coming up. Plus:
        echo 1 > /proc/sys/net/ipv4/ip_forward
to allow ip forwarding.

Diald works fine for dial-on-demand.  I have used it sucessfully for years.  I always 
had my masquerading rules implemented when the system booted.

HTH,
Bill



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Ian K.Harrell
Sent: Sunday, November 26, 2000 7:37 AM
To: [EMAIL PROTECTED]
Subject: [newbie] help with diald and/or alternatives


I have a small lan setup currently (5 computers, 4 running windows 98 and 1
running Mandrake 7.1) and I have been trying to set them all up to use some
form of on demand dialing to my local ISP.

All the computers talk to each other and everything with the local lan works
fine (so far).

I run into problems when i try to use DialD to perform the on demand dialing
though.

Currently i can log in from any of the computers and use '/sbin/ifup ppp0' to
start my ppp link to my ISP and then everything works fine with masquerading,
etc. I cannot get diald setup to detect when one of the computers calls for a
connection to the ISP though.

I know there is something with diald that requires it to be setup with a
series of ipchains so that the computers are not masq'd to begin with so diald
can get the message that it needs to call the ISP and then it starts the
ipchains rules for masq'ing. I havent gotten this part figured out and would
greatly appreciate it if anyone could offer any advice on this.

One other thing that i am having some problems with is the usage of pppd in
the examples i have managed to find for setting up diald so far. I have yet to
be able to get pppd to connect to my ISP and have always used the '/sbin/ifup
ppp0' line i mentioned above with no problems. I am sure this is something
that i am probably overlooking but have no idea what exactly it is.

If anyone knows of an alternative for diald that is easier to setup and use or
can give me some fairly simple instructions for setting up diald i would
greatly appreciate hearing it.

Thanks in advance,
Ian K. Harrell
[EMAIL PROTECTED]


____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1


Reply via email to