Jacques,
I had the same problem over the weekend whenever I
upgraded from RedHat6.0 to RedHat6.1 (a newer PPPD).
Here is what I did to get things to work:
1. To both your PAP and CHAP Secrets Files add your UserName
Password. Within the Secretes Files use * as the Device (Server).
For some reason, the Login will not succeed if your specify the
exact Server Device (Bug ????). Here an example:
username * password address
The address is optional.
2. To your /etc/ppp/options file add the "noauth".
3. To your diald.conf file, make sure you have a ppd options
line specifying the Username to use.
pppd-options name UserName
These steps should get you working.
Here is an example diald.conf:
#---------------------------------------------------------------------------
#
# diald.conf by Jeff Hawkins
#
#
# 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
device /dev/modem
speed 115200
lock
mode ppp
dynamic
local 127.0.0.2
remote 127.0.0.3
pppd-options name MSN/JohnDoe
# Delay sending packets for 5 seconds after PPP device opens -
# this allows routes to be established back to the appropriate dialup
# server.
#up-delay 5 - "UP-DELAY DOESN'T WORK WITH 99.x DIALD
defaultroute
modem
crtscts
connect "/usr/sbin/chat -f /etc/sysconfig/network-scripts/chat-ppp0
redial-timeout 10
fifo /etc/diald/diald.ctl
#---------------------------------------------------------------------------
I believe Sunday a Lazarus Long sent a detailed procedure for
configuring DIALD for various sophisticaed Configurations. I am
not currently on the System I read it on. I will send it whenver I get
back on the System at home. Or I guess you could request
Lazarus to retransmit it. Myself, I stayed with what I was able
to get working, and if is sufficient for my home ISP gateway.
----- Original Message -----
From: Jacques Goldsmith <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 09, 1999 11:06 AM
Subject: can't bring up PPP with diald
> I am having a problem getting diald to work. I hope someone out there
> can help. When I use diald, I get errors from pppd (see
> /var/log/messages below). I use PSI as my ISP, so I hope someone out
> there has diald working with PSI and got this to work.
>
> if instead I use minicom to manually dial in and start ppp by hand, it
> works fine.
> Below is /var/log/messages, /etc/diald.conf and my connect script
>
> ------------------------------------------------------------------------
>
> /var/log/messages
> Nov 4 00:46:45 localhost connect: Protocol started
> Nov 4 00:46:45 localhost diald[1089]: Connected to site 192.168.0.2
> Nov 4 00:46:45 localhost diald[1089]: Running pppd (pid = 1122).
> Nov 4 00:46:45 localhost modprobe: can't locate module char-major-108
> Nov 4 00:46:46 localhost kernel: PPP: version 2.3.7 (demand dialling)
> Nov 4 00:46:46 localhost kernel: PPP line discipline registered.
> Nov 4 00:46:46 localhost pppd[1122]: The remote system is required to
> authentic
> ate itself but I
> Nov 4 00:46:46 localhost pppd[1122]: couldn't find any suitable secret
> (passwor
> d) for it to use to do so.
> Nov 4 00:46:46 localhost kernel: registered device ppp0
> Nov 4 00:46:46 localhost diald[1089]: start sl0: SIOCSIFMETRIC:
> Operation not s
> upported
> Nov 4 00:46:46 localhost diald[1089]: start sl0: SIOCADDRT: File exists
>
> Nov 4 00:46:46 localhost diald[1089]: start sl0: SIOCADDRT: File exists
>
> Nov 4 00:46:46 localhost diald[1089]: start sl0: SIOCSIFMETRIC:
> Operation not s
> upported
> Nov 4 00:46:46 localhost diald[1089]: start sl0: SIOCADDRT: File exists
>
> Nov 4 00:46:46 localhost diald[1089]: start sl0: SIOCADDRT: File exists
>
> Nov 4 00:46:47 localhost diald[1089]: Delaying 30 seconds before clear
> to dial.
>
> ------------------------------------------------------------------------
>
> /etc/diald.conf
> mode ppp
> connect /usr/lib/diald/connect
> device /dev/ttyS1
> speed 115200
> modem
> lock
> crtscts
> local 192.168.0.1
> remote 192.168.0.2
> dynamic
> defaultroute
> include /usr/lib/diald/standard.filter
>
> ------------------------------------------------------------------------
>
> Just the modifications I made to /usr/lib/diald/connect...
>
> PHONE_NUMBER=<phone number>
> USER_CHAT_SEQ="ogin:--ogin:--"
> USER_NAME="<my username>"
> PASSWD_CHAT_SEQ="word:"
> PASSWORD="<my password>"
> # PROMPT is commented out since PPP comes up automatically.
> #PROMPT="annex:"
> START_ACK="Entering PPP mode."
>
> ------------------------------------------------------------------------
>
> Thanks for any help you can provide.
>
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-diald" in
> the body of a message to [EMAIL PROTECTED]
>
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]