DIALD Problems

DIALD Problems

Post by Erhard Wai » Wed, 12 May 1999 04:00:00



I wanted to stop diald from dialing to the ISP if there where no
connection after n dialing attempts.
I set retry-count n, but   it did not work. It still attempts to dial.
If I set dial-fail-limit n, it stops after n dialing attempts.
Unfortunately I have to unblock the connection to use it again.
Is there any better way to solve this problem without blocking the
connection.

I user RH5.1 and diald 0.16.5a-2
thanks

 
 
 

1. diald problem - pppd won't start from diald

Hi.

I can't seem to get this diald thing quite right:

I have a ppp-on script that allows me to dial in. works perfectly.
------
#!/bin/sh
# ppp-on
/usr/sbin/pppd /dev/modem 115200 lock crtscts modem defaultroute
connect "/usr/local/bin/chat-on" user hjanssen
------
which uses:
------
#!/bin/sh
# chat-on
INIT=ATZS11=255
PHONE=0,2539650
/usr/sbin/chat '' $INIT OK ATDT$PHONE CONNECT ''
------
And for the sake of completeness, ppp-off:
------
#!/bin/sh
# ppp-off
DEVICE=ppp0
if [ -r /var/run/$DEVICE.pid ]; then
  kill -INT `cat /var/run/$DEVICE.pid`
  if [ ! "$?"="0" ]; then
    echo "removing stale $DEVICE pid file."
    rm -f /var/run/$DEVICE.pid ; exit 1
  fi
  echo "$DEVICE link terminated" ; exit 0
fi
echo "$DEVICE link not active";exit 1
------

But of course, I want the darn thing to auto-dial on demand....
So I installed diald. diald.conf:
------
mode ppp
buffer-packets
buffer_size 1048576
device /dev/modem
speed 115200
lock
crtscts
modem
defaultroute
connect "/usr/local/bin/chat-on"
pppd-options user hjanssen
local 131.211.194.141
remote 131.211.194.140
dynamic
reroute
include /etc/standard.filter
------

When I have a packet that wants it to dial out, It starts dialing. the
connect script is done, there is a modem-connect negotiation, it
starts pppd, and pppd spectacularly fails to do anything at all. after
one or two minutes, diald times out and kills pppd. What am I doing
wrong?

Thanks,

Jasper

2. Zmail 3.2.1 on Solaris 7

3. DialD Problem

4. Where can I ftp the PLIP ?

5. Diald problem

6. SuseFirewall2 setup for P2P Home Network?

7. Diald problems from other local host

8. Red Hat with Windows 95'

9. pppd, chat, or diald problem?

10. diald problems

11. Diald problem

12. IP masquerade and diald problem ???

13. Diald problem - dialing on its own