I am having difficulty getting PPP to work on my home machine. 
The LCP negotiation and IPCP negotiation appear OK to me. I 
cannot determine why the modem disconnects after the dynamic
local and remote addresses are assigned. Does anyone have any
suggestion as to what is wrong with my files, or what other
files I should be looking at. Any suggestions would be helpful.
I am using ppp 2.3.3 with Linux 2.0.34 (rh5.1)

Thank you.


*** /etc/hosts
127.0.0.1       localhost       localhost.localdomain
0.0.0.0 linuxpc linuxpc.cts.com

*** /etc/resolv.conf
search aiso.com 
domain aiso.com
nameserver 207.173.11.250
nameserver 209.210.78.2

*** /etc/ppp/ppp-on
#!/bin/sh
# ppp-on
# set up the path here

PATH=/usr/sbin:/sbin:/etc/ppp
#
TELEPHONE=331-0105      
ACCOUNT=MyAccountName        
PASSWORD=MyPassword        
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 to 'ppp-on-dialer'

export TELEPHONE ACCOUNT PASSWORD NETMASK

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

exec /usr/sbin/pppd \
    /dev/ttyS3 57600 \
    connect $DIALER_SCRIPT

*** /etc/ppp/options
-detach
asyncmap 0
netmask 255.255.255.0
crtscts
modem
lock
defaultroute
debug
kdebug 7

*** /etc/ppp/ppp-on-dialer
#!/bin/sh
#
# ppp-on-dialer
# This is part 2 of the ppp-on script. It will perform the connection
# protocol for the desired connection.
#
  /usr/sbin/chat -v                                                 \
          TIMEOUT         3                               \
          ABORT           'BUSY'                      \
          ABORT           'NO ANSWER'                 \
          ABORT           'NO DIALTONE'              \
          ABORT           'NO CARRIER'               \
          ABORT           'Invalid Login'            \
          ABORT           'Login Incorrect'           \
          TIMEOUT         120                              \
          ''              ATZ                             \
          OK              ATDT$TELEPHONE                  \
          CONNECT         ''                              \
          ogin:--ogin:    $ACCOUNT                        \
          assword:        $PASSWORD                       

*** /etc/rc.d/rc.serial
#!/bin/sh

# this script will be executed during boot

/bin/setserial /dev/ttyS3 auto_irq skip_test autoconfig spd_hi

/bin/setserial -ag /dev/ttyS*

*** /home/admin/var/log/nokernel.99b01-1
Feb  1 15:41:31 linuxpc syslogd 1.3-3: restart.
Feb  1 15:49:26 linuxpc pppd[745]: pppd 2.3.3 started by witkop, uid 500
Feb  1 15:49:27 linuxpc chat[748]: timeout set to 3 seconds
Feb  1 15:49:27 linuxpc chat[748]: abort on (BUSY)
Feb  1 15:49:27 linuxpc chat[748]: abort on (NO ANSWER)
Feb  1 15:49:27 linuxpc chat[748]: abort on (NO DIALTONE)
Feb  1 15:49:27 linuxpc chat[748]: abort on (NO CARRIER)
Feb  1 15:49:27 linuxpc chat[748]: abort on (Invalid Login)
Feb  1 15:49:27 linuxpc chat[748]: abort on (Login Incorrect)
Feb  1 15:49:27 linuxpc chat[748]: timeout set to 120 seconds
Feb  1 15:49:27 linuxpc chat[748]: send (ATZ^M)
Feb  1 15:49:27 linuxpc chat[748]: expect (OK)
Feb  1 15:49:27 linuxpc chat[748]: ATZ^M^M
Feb  1 15:49:27 linuxpc chat[748]: OK
Feb  1 15:49:27 linuxpc chat[748]:  -- got it 
Feb  1 15:49:27 linuxpc chat[748]: send (ATDT331-0105^M)
Feb  1 15:49:28 linuxpc chat[748]: expect (CONNECT)
Feb  1 15:49:28 linuxpc chat[748]: ^M
Feb  1 15:50:24 linuxpc chat[748]: ATDT331-0105^M^M
Feb  1 15:50:24 linuxpc pppd[745]: Connect script failed
Feb  1 15:50:24 linuxpc chat[748]: NO CARRIER
Feb  1 15:50:24 linuxpc chat[748]:  -- failed
Feb  1 15:50:24 linuxpc chat[748]: Failed (NO CARRIER)
Feb  1 15:50:25 linuxpc pppd[745]: Exit.
Feb  1 15:51:05 linuxpc pppd[750]: pppd 2.3.3 started by witkop, uid 500
Feb  1 15:51:06 linuxpc chat[752]: timeout set to 3 seconds
Feb  1 15:51:06 linuxpc chat[752]: abort on (BUSY)
Feb  1 15:51:06 linuxpc chat[752]: abort on (NO ANSWER)
Feb  1 15:51:06 linuxpc chat[752]: abort on (NO DIALTONE)
Feb  1 15:51:06 linuxpc chat[752]: abort on (NO CARRIER)
Feb  1 15:51:06 linuxpc chat[752]: abort on (Invalid Login)
Feb  1 15:51:06 linuxpc chat[752]: abort on (Login Incorrect)
Feb  1 15:51:06 linuxpc chat[752]: timeout set to 120 seconds
Feb  1 15:51:06 linuxpc chat[752]: send (ATZ^M)
Feb  1 15:51:06 linuxpc chat[752]: expect (OK)
Feb  1 15:51:06 linuxpc chat[752]: ATZ^M^M
Feb  1 15:51:06 linuxpc chat[752]: OK
Feb  1 15:51:06 linuxpc chat[752]:  -- got it 
Feb  1 15:51:06 linuxpc chat[752]: send (ATDT331-0105^M)
Feb  1 15:51:06 linuxpc chat[752]: expect (CONNECT)
Feb  1 15:51:06 linuxpc chat[752]: ^M
Feb  1 15:51:28 linuxpc chat[752]: ATDT331-0105^M^M
Feb  1 15:51:28 linuxpc chat[752]: CONNECT
Feb  1 15:51:28 linuxpc chat[752]:  -- got it 
Feb  1 15:51:28 linuxpc chat[752]: send (^M)
Feb  1 15:51:28 linuxpc chat[752]: expect (ogin:)
Feb  1 15:51:28 linuxpc chat[752]:  57600^M
Feb  1 15:51:30 linuxpc chat[752]: ^M
Feb  1 15:51:30 linuxpc chat[752]: ^M
Feb  1 15:51:30 linuxpc chat[752]: login:
Feb  1 15:51:30 linuxpc chat[752]:  -- got it 
Feb  1 15:51:30 linuxpc chat[752]: send (MyAccountName^M)
Feb  1 15:51:30 linuxpc chat[752]: expect (assword:)
Feb  1 15:51:30 linuxpc chat[752]:  ^M
Feb  1 15:51:34 linuxpc chat[752]: login: MyAccountName^M
Feb  1 15:51:34 linuxpc chat[752]: Password:
Feb  1 15:51:34 linuxpc chat[752]:  -- got it 
Feb  1 15:51:34 linuxpc chat[752]: send (MyPassword^M)
Feb  1 15:51:34 linuxpc pppd[750]: Serial connection established.
Feb  1 15:51:35 linuxpc pppd[750]: Using interface ppp0
Feb  1 15:51:35 linuxpc pppd[750]: Connect: ppp0 <--> /dev/ttyS3
Feb  1 15:51:35 linuxpc pppd[750]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 
0x7fff> <pcomp> <accomp>]
Feb  1 15:51:35 linuxpc pppd[750]: rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 
0x6720442e> <pcomp> <accomp>]
Feb  1 15:51:35 linuxpc pppd[750]: sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 
0x6720442e> <pcomp> <accomp>]
Feb  1 15:51:35 linuxpc pppd[750]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 
0x7fff> <pcomp> <accomp>]
Feb  1 15:51:35 linuxpc pppd[750]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress 
VJ 0f 01>]
Feb  1 15:51:35 linuxpc pppd[750]: rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 00> <addr 
209.63.56.4>]
Feb  1 15:51:35 linuxpc pppd[750]: sent [IPCP ConfAck id=0x1 <compress VJ 0f 00> <addr 
209.63.56.4>]
Feb  1 15:51:35 linuxpc pppd[750]: rcvd [IPCP ConfNak id=0x1 <addr 209.63.56.27>]
Feb  1 15:51:35 linuxpc pppd[750]: sent [IPCP ConfReq id=0x2 <addr 209.63.56.27> 
<compress VJ 0f 01>]
Feb  1 15:51:36 linuxpc pppd[750]: rcvd [IPCP ConfAck id=0x2 <addr 209.63.56.27> 
<compress VJ 0f 01>]
Feb  1 15:51:36 linuxpc pppd[750]: local  IP address 209.63.56.27
Feb  1 15:51:36 linuxpc pppd[750]: remote IP address 209.63.56.4
Feb  1 15:53:52 linuxpc pppd[750]: Modem hangup
Feb  1 15:53:52 linuxpc pppd[750]: Connection terminated.
Feb  1 15:53:52 linuxpc pppd[750]: Exit.


Robert M. Witkop Jr.
[EMAIL PROTECTED]

Your operating system controls your computer. 
       Your computer controls your company.
If you have control of your operating system, 
      you have control of your company.
Who has control of your company?



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

Reply via email to