This error is extract from /var/log/messages
I am dialing from computer which is already on internet through LAN with
real IP.
i try it many times but same errors occur
any one who help me


M.Ashraf
System Engineer

pppd: The remote system is required to authenticate itself but I
pppd: couldn't find any secret (password) which would let it use an IP
address.

here discription of three files is :

***************
 ppp-on-dialer 
***************

#!/bin/sh

# This is part 2 of the ppp-on script. It will perform the connection
# protocol for the desired connection.

exec /usr/sbin/chat -v                                            \
        TIMEOUT         3                               \
        ABORT           '\nBUSY\r'                      \
        ABORT           '\nNO ANSWER\r'                 \
        ABORT           '\nRINGING\r\n\r\nRINGING\r'    \
        ''              \rAT                            \
        'OK-+++\c-OK'   ATH0                            \
        TIMEOUT         30                              \
        OK              ATDT$TELEPHONE                  \
        CONNECT         ''                              \
        ogin:--ogin:    $ACCOUNT                        \
        assword:        $PASSWORD


*********************************************************

*********************
ppp-on
*****************

# These are the parameters. Change as needed.
TELEPHONE=13166667     
ACCOUNT=ashraf
PASSWORD=msmashraf79       
LOCAL_IP=0.0.0.0       
REMOTE_IP=0.0.0.0      
NETMASK=255.255.255.0   

# Export them so that they will be available at 'ppp-on-dialer' time.
export TELEPHONE ACCOUNT PASSWORD

# This is the location of the script which dials the phone and logs
# in.  Please use the absolute file name as the $PATH variable is not
# used on the connect option.  (To do so on a 'root' account would be
# a security hole so don't ask.)

DIALER_SCRIPT=/etc/ppp/ppp-on-dialer

exec /usr/sbin/pppd debug /dev/ttyS1 9600 \
        $LOCAL_IP:$REMOTE_IP \
        defaultroute connect $DIALER_SCRIPT

*******************************
 pap-sercets
****************

# Secrets for authentication using PAP
# client        server  secret                  IP addresses
ashraf * msmashraf79

me

Reply via email to