I use the same chatscript as my pppd chatscript.�� I have had no luck with the
/usr/lib/diald/contrib/plain/connect script supplied with 0.16.5.��
My pppd, and chatscripts are below.
Ron
At 05:19 PM 9/11/99 -0500, you wrote:
I use 0.16.5 with no problems on RH 5.2.� I have had to increase timeout values to solve similar problems.� It appears you maybe using a different flavor of 0.16.5 than I.� Do you have a file /etc/diald/connect?
- -----Original Message-----
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Uni Royal
- Sent: Saturday, September 11, 1999 4:47 PM
- To: [EMAIL PROTECTED]
- Subject: Misc Problems with Diald 0.16
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.
- To unsubscribe from this list: send the line "unsubscribe linux-diald" in the body of a message to [EMAIL PROTECTED]
