Hi,

I am having a problem connecting to our PPP server (RedHat 5.2) the first
time.  Sometimes I need to try 2 or 3 times before I attach (The connection
drops with an error).  If I redial I get in.  From the messages it looks
like the kernel is taking to long to register the ppp line.  The attached
file shows a sequence where I needed 2 tries to connect.  Notice that the
first attempt fails before the:

kernel: PPP: version 2.2.0 (dynamic channel allocation)

happens.  Then the second attempt (which is successful) happens before the
"ppp line discipline successfully unregistered".

I am trying to replace our Solaris PPP server with this Linux PPP server
but will not be able to if users need to try to connect 2 or 3 times.  Any
suggestions?  How do I make sure the kernel ppp line is up before the pppd
drops the connection?  As far as I am concerned it can just stay up (it
does not need to come up and down all the time).  Solaris just keeps the
ppp network configured...

Any suggestions?

Thanks in advance...
-- 
Todd Kaehler       [EMAIL PROTECTED]     http://www.psmfc.org/
Pacific States Marine Fisheries Commission  
45 S.E. 82nd Drive, Suite 100   .   Gladstone, Oregon 97027-2522
Phone:(503)650-5400                   Fax:(503)650-5426


=========messages file========

Jun  4 06:46:28 mola mgetty[9938]: data dev=ttyS0, pid=9938, caller='none',
conn
='24000/ARQ/V34/LAPM/V42BIS', name='', cmd='/bin/login', user='pppuser'
Jun  4 06:46:29 mola PAM_pwdb[9938]: (login) session opened for user
pppuser by
(uid=0)
Jun  4 06:46:30 mola login[9938]: DIALUP AT ttyS0 BY pppuser
Jun  4 06:46:30 mola login[9938]: LOGIN ON ttyS0 BY pppuser
Jun  4 06:46:30 mola PAM_pwdb[9938]: (login) session closed for user
pppuser
Jun  4 06:46:36 mola kernel: CSLIP: code copyright 1989 Regents of the
Universit
y of California
Jun  4 06:46:36 mola kernel: PPP: version 2.2.0 (dynamic channel
allocation)
Jun  4 06:46:36 mola kernel: PPP Dynamic channel allocation code copyright
1995
Caldera, Inc.
Jun  4 06:46:36 mola kernel: PPP line discipline registered.
Jun  4 06:47:00 mola mgetty[9941]: data dev=ttyS0, pid=9941, caller='none',
conn
='26400/ARQ/V34/LAPM/V42BIS', name='', cmd='/bin/login', user='pppuser'
Jun  4 06:47:01 mola PAM_pwdb[9941]: (login) session opened for user
pppuser by 
(uid=0)
Jun  4 06:47:01 mola login[9941]: DIALUP AT ttyS0 BY pppuser
Jun  4 06:47:01 mola login[9941]: LOGIN ON ttyS0 BY pppuser
Jun  4 06:47:01 mola PAM_pwdb[9941]: (login) session closed for user
pppuser
Jun  4 06:47:02 mola kernel: registered device ppp0
Jun  4 06:47:02 mola pppd[9941]: pppd 2.3.5 started by pppuser, uid 2114
Jun  4 06:47:02 mola pppd[9941]: Using interface ppp0
Jun  4 06:47:02 mola pppd[9941]: Connect: ppp0 <--> /dev/ttyS0
Jun  4 06:47:05 mola pppd[9941]: found interface eth0 for proxy arp
Jun  4 06:47:05 mola pppd[9941]: local  IP address 205.230.28.5
Jun  4 06:47:05 mola pppd[9941]: remote IP address 205.230.28.38
Jun  4 06:47:27 mola pppd[9941]: Hangup (SIGHUP)
Jun  4 06:47:27 mola pppd[9941]: Modem hangup
Jun  4 06:47:27 mola pppd[9941]: Connection terminated.
Jun  4 06:47:27 mola pppd[9941]: Exit.
Jun  4 06:49:02 mola kernel: PPP: ppp line discipline successfully
unregistered

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

Reply via email to