Samuel Mukoti wrote:
> I've been trying to get diald to work for 2weeks now.
...
> I think my isp supports PAP though
sam,
you're going to use PAP to authenticate to your ISP. so, to stop
connect.sh logging in modify it to say:
>
> # We're connected try to log in.
> #message "Loggin in"
> #chat \
> # TIMEOUT 5 \
> # $USER_CHAT_SEQ \\q$USER_NAME \
> # TIMEOUT 45 \
> # $PASSWD_CHAT_SEQ $PASSWORD
> #if [ $? != 0 ]; then
> # message "Failed to log in"
> # exit 1
> #fi
> #
> # We logged in, try to start up the protocol (provided that the
> # user has specified how to do this)
> #
> #if [ $PROMPT ]; then
> # message "Starting Comm Protocol"
> # chat TIMEOUT 15 $PROMPT $PROTOCOL_START
> # if [ $? != 0 ]; then
> # message "Prompt not received"
> # exit 1
> # fi
> #fi
> #
> #if [ $START_ACK ]; then
> # chat TIMEOUT 15 $START_ACK ""
> # if [ $? != 0 ]; then
> # message "Failed to start Protocol"
> # exit 1
> # fi
> #fi
>
> # Success!
> message "Protocol started"
i.e. we comment out all the logging in stages and start ppp straight
away.
now,
Dima Nemchenko wrote:
>
> in diald.conf:
> pppd-options user ISP_LOGIN_NAME
>
> in ppp/[chap|pap]-secrets:
> # Secrets for authentication using [CHAP|PAP]
> # client server secret IP addresses
> ISP_LOGIN_NAME * ISP_PASSWORD *
>
hope this helps,
--
:D_ima
Dima Nemchenko
[EMAIL PROTECTED]
---------------------------------------------------------------------
"Eventually, every frog has to croak."
Louis, the "Budweiser Lizard"
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]