Richard L. Peskin wrote:
> At 4:33 AM +0000 8/5/98, Ben Luey wrote:
> >I installed diald-0.16-5 on my redhat 5.1 system via rpm. I took the
> >default diald.conf file for dynamic ppp. (It has the dynamic line and
> >defaultroutes as well as a random local and remote IP address, and mode
> >ppp). The connect line reads
> >
> >connect "/usr/sbin/chat -f -v /etc/chat-ppp0"
> >
> >This is the same chat script I use with ifup ppp0, which works fine. Now
> >when I run diald (diald or diald on) it dials my ISP when there is
> >activity and soon after dialds again, and again, and again. My
> >/var/log/messages reveals that it connects sends the login stuff and gets
> >the message
> >
> >ppp0 <--> /dev/ttyS3
> >HANGUP (SIGHUP)
> >MODEM HUNGUP
> >
> >It then waits 30 seconds for the modem to reset and dials again. What's up??
> >
> I have the same problem. I really am baffled by what appears to be a
> "timing" problem. Clearly it is a diald problem, not a ppp problem.
>
> Is your ip_dynaddr flag set? i.e. echo "1" >
> /proc/sys/net/ipv4/ip_dynaddr #dynamic address flag (1 for
> #normal, 5 to clear socket)
>
> I find it hard to believe that putting 'user username' in /etc/ppp/options
> will have any effect. If your ppp works ok but not under diald, I don't
> think a ppp authorization option (user <n> )will help. Your pap-secrets
>
actually it does help to put user <username > in the options file as well as
having it in the pap secretes file. although i had to turn ppp debugging and
tail the /var/adm/debug file to watch the ppp config requests to work what was
going on and design a suitable connect script for diald to use.
regards
darrin hodges
> file takes care of the user <n> function anyway.
> --dick peskin
>
> =================================
> R. L. Peskin, Rutgers Univ. ; <[EMAIL PROTECTED]>;
> <http://www.caip.rutgers.edu/~peskin>
> VT Phone (802) 824-4558 NJ Phone (732) 445-4208
> "The corporate culture is concerned less with Occam's razor than his
> aftershave lotion."
>
> -
> 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]