Dear Group,

I forgot to mention that I am using a Stock Binary 0.16 5 Diald rpm,
diald16-0.16.5a-2.i386.rpm, from:
ftp.rge.com/pub/systems/linux/redhat/contrib/libc6/SRPMS/

Is it possible I need a patch to make it run on RH 5.2?

Thank you, Ron
----------------------------------
Dear Group,



I have been using pppd for a while with absolutely no problems,
I am even using it as a firewall, with (ipfwadm) for my Win95 LAN.

Connection Details:
I use a dial-up 33.6 modem account to connect to the ISP.
I get a dynamic IP Address every time I connect.
Are any moer details needed?

I am trying to migrate to diald and am having a few problems,
more info on these are given at the end of this email, after the setup files.

The Problems
1) The Default Gateway is not being set properly.
2) The connection is not staying up more than one minute with diald.

I am using the RedHat 5.2 default kernel. (v 2.0.36).
Could somebody please verify my set-up?

Before that please confirm a few things:

1) The ONLY files we NEED are:
a) /etc/diald.conf
���� b) the connect chat-script
Is this correct?

2) If we use "accept any 420 any", these files are not needed:
a) /usr/lib/diald/standard.filter
���� b) /etc/diald/phone.filter
���� c) This command will keep the line up for 7 minutes(420 seconds).
���� Is this correct?

3) Can I use the exact same chatscript that I am using with pppd?� Is this the proper way?

4) Do the files /etc/ppp/chap-secrets, pap-secrets, options play any role in diald configuration?��

5) What other files are necessary for the setup of Diald?

Below is my set-up:

===================================
FOR PPPD
Here are my regular pppd script and chatscript

the ppp script
-----------------------------------------
#!/bin/sh
#/etc/ppp/ppp

/usr/sbin/pppd connect '/usr/sbin/chat -v -f /etc/ppp/chatscript'
-------------------------------------------------------

The chatscript
---------------------------------------
# /etc/ppp/chatscript

"" atl3s11=55dt3172242 CONNECT "" " " " " rname� my_username sword my_passwd
-------------------------------------------

Now this set-up works fine for pppd.

As you will see below:� I am calling /etc/ppp/ppp from the /etc/diald.conf file, and not /etc/ppp/chatscript.� This is 'working' somewhat (ie. I am able to connect, and with the command:
route add -net 0.0.0.0 ppp0 can use the connection. But Problems still persist.) .���

If I call /etc/ppp/chatscript, I am getting the error:
Sep 12 01:28:24 maruti diald[21143]: Running connect (pid = 23097).
Sep 12 01:28:24 maruti diald[21143]: Connect script failed.
Sep 12 01:28:25 maruti diald[21143]: Delaying 10 seconds before clear to dial.

My calls to these 2 above files are given below, the call to /etc/ppp/chatscript is commented out.
I feel calling /etc/ppp/chatscript is the right way, but calling /etc/ppp/ppp is the only way it is 'working'.� Please confirm/deny this, and please suggest the proper way to call either of these two.

================

My DIALD Set-Up

1) the /etc/ppp/ppp file from above
2) the /etc/ppp/chatscript file from above
3) This /etc/diald.conf file
---------------------------------------------------------
# /etc/diald.conf
accept any 420 any
# include /usr/lib/diald/standard.filter
# include /etc/diald/phone.filter

# stuff to set up the diald connection
device /dev/modem
speed 38400
mode ppp

dynamic
local 192.168.0.2������ # <-- This machine's Actual IP Address
remote 192.168.0.22�� # <-- Doesn't exist in our LAN

up-delay 5
defaultroute
modem
crtscts
connect /etc/ppp/ppp
#connect /etc/ppp/chatscript
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
--------------------------------------------------------

=======================================


MY PROBLEMS so far:

1) The Default Gateway is not being set properly. I am unable to establish any internet sessions/connections, (Ping/www/ftp/etc)
Here is my routing table after the connection is established and the IP Address is alloted to me.

Kernel IP routing table
Destination���� Gateway�������� Genmask�������� Flags Metric Ref��� Use Iface
192.168.0.22��� 0.0.0.0�������� 255.255.255.255 UH��� 1����� 0������� 0 sl0
192.168.0.0���� 0.0.0.0�������� 255.255.255.0�� U���� 0����� 0������ 55 eth0
127.0.0.0������ 0.0.0.0�������� 255.0.0.0������ U���� 0����� 0������� 3 lo��
0.0.0.0 0.0.0.0 �� 0.0.0.0 ������� U� 0����� 0�������� 0�� sl0

But It DOES work if I give the command :� route add -net 0.0.0.0 ppp0
I have been advised by this group NOT to do this, but what is the alternative?
And how to get this established by default?

2) The connection is not staying up more than one minute with diald.
But it is staying up with pppd.
What is the Correct option for this?
I thought: "accept any 420 any"� should keep the link up for 7 minutes now matter what?
May be my /var/log/messages could help:

/var/log/messages
--------------------------------------------------------------------------
Sep 12 02:11:46 maruti kernel: SLIP: version 0.8.4-NET3.019-NEWTTY-MODULAR (dyna
mic channels, max=256).
Sep 12 02:11:46 maruti kernel: SLIP linefill/keepalive option.
Sep 12 02:11:46 maruti kernel: Swansea University Computer Society IPX 0.34 for
NET3.035
Sep 12 02:11:46 maruti kernel: IPX Portions Copyright (c) 1995 Caldera, Inc.
Sep 12 02:11:46 maruti kernel: Appletalk 0.17 for Linux NET3.035
Sep 12 02:11:47 maruti diald[20384]: Running connect (pid = 20394).
Sep 12 02:11:48 maruti kernel: PPP: version 2.2.0 (dynamic channel allocation)
Sep 12 02:11:48 maruti kernel: PPP Dynamic channel allocation code copyright 199
5 Caldera, Inc.
Sep 12 02:11:48 maruti kernel: PPP line discipline registered.
Sep 12 02:11:48 maruti kernel: registered device ppp0
Sep 12 02:11:48 maruti pppd[20395]: pppd 2.3.5 started by root, uid 0
Sep 12 02:11:48 maruti chat[20398]: send (atl3s11=55dt3172242^M)
Sep 12 02:11:48 maruti chat[20398]: expect (CONNECT)
Sep 12 02:12:09 maruti chat[20398]: atl3s11=55dt3172242^M^M
Sep 12 02:12:09 maruti chat[20398]: CONNECT
Sep 12 02:12:09 maruti chat[20398]:� -- got it
Sep 12 02:12:09 maruti chat[20398]: send (^M)
Sep 12 02:12:09 maruti chat[20398]: expect ( )
Sep 12 02:12:09 maruti chat[20398]:
Sep 12 02:12:09 maruti chat[20398]:� -- got it
Sep 12 02:12:09 maruti chat[20398]: send ( ^M)
Sep 12 02:12:09 maruti chat[20398]: expect (rname)
Sep 12 02:12:09 maruti chat[20398]: 38400^M
Sep 12 02:12:10 maruti chat[20398]: ^M
Sep 12 02:12:10 maruti chat[20398]: Username
Sep 12 02:12:10 maruti chat[20398]:� -- got it
Sep 12 02:12:10 maruti chat[20398]: send (my_username^M)
Sep 12 02:12:10 maruti chat[20398]: expect (sword)
Sep 12 02:12:10 maruti chat[20398]:� :royal^M
Sep 12 02:12:10 maruti chat[20398]: Password
Sep 12 02:12:10 maruti chat[20398]:� -- got it
Sep 12 02:12:10 maruti chat[20398]: send (my_password^M)
Sep 12 02:12:11 maruti pppd[20395]: Serial connection established.
Sep 12 02:12:12 maruti pppd[20395]: Using interface ppp0
Sep 12 02:12:12 maruti pppd[20395]: Connect: ppp0 <--> /dev/cua0
Sep 12 02:12:19 maruti pppd[20395]: local� IP address 203.197.20.226
Sep 12 02:12:19 maruti pppd[20395]: remote IP address 202.54.30.51
Sep 12 02:12:47 maruti diald[20384]: Connect script timed out. Killing script.
Sep 12 02:13:48 maruti diald[20384]: child process 20394 terminated with signal 9


1) Why is the Connect script timing out (at 02:12:47)?�
2) Is this the /etc/ppp/ppp script that is timing out or the diald script that is timing out?
It seems not to be knowing that the connection has been established successfully.� What is the proper set-up for this.


I realize this is a long email, but necessary to provide all the relevant info.

Please let me know what are the proper steps to be taken.

Thank you, Ron

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

Reply via email to