On Mon, 31 Aug 1998, Jesper Frank Nemholt wrote:

> Hi!
> 
> I have a RedHat 5.0 with kernel 2.0.31.
> I've set up ppp using netcfg, and with PAP turned on this works fine,
> both when enabling the connection from netcfg and when using 'ifup ppp0'
> from /etc/sysconfig/network-scripts.
> 
> I've then installed the diald RPM found in the contrib area on the
> RedHat FTP server (diald-0_16_4-1_i386.rpm) and the diald config RPM
> (diald-config-0_1-1_i386.rpm) at the same place.
> 
> Diald works fine and starts calling my ISP when I try to access some
> internet address, but it fails logging in. Only a few seconds after the
> modems has stopped handshaking, the line is dropped.
> 
> As far as I can see, this is related to diald not using PAP, but I'm not
> 100% sure.
> I've experienced this problem before, and back then, it was caused by
> diald not using the same connect-scripts/pppd-options as netcfg, and
> because of that not using PAP (and my ISP doesn't accept anything but
> PAP).
> The problem is, I've forgot how I fixed it back then.
> 
> As far as I can see, it's related to the diald-connect script in
> /etc/sysconfig/network-scripts
> I've tried to make som small changes to this scripts to force diald to
> use the same script (ifup) as netcfg, but I can't get it to work.
> 
> 
> Anyone with a solution ?

I ran into the same thing and fixed it barely 24 hours ago.  I edited:
/etc/sysconfig/network-scripts/diald

I added:
if [ -n "${PAPNAME}" ] ; then
  pppopts="$pppopts name ${PAPNAME}"
fi

After:

if [ -n "${LCP_ECHO_INTERVAL}" ] ; then
  pppopts=  <<<cut to save typing>>>
fi

This should fix the problem.

As soon as I can find the rpm author's e-mail address, I was going to send
him this patch to include in the next version.

-----
Jim Kusznir ([EMAIL PROTECTED])
RidgeNET Tech Support
371-3501
[EMAIL PROTECTED]


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

Reply via email to