Paul Mackerras wrote:
>
> Todd Kaehler <[EMAIL PROTECTED]> wrote:
>
> > 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)
>
> In fact the log shows the session terminating just 2 seconds after it
> starts, here:
>
> > 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
>
> Why are you getting the session closed message? How does pppd get
> invoked, and with what options?
I am new to Linux PPP so I may not be answering the question you are asking
but... this is a PPP server which was working before I started up a news
feed on this server. I get session closed message when the client drops
the connection with a "loopback detected" error. It seemed to me to be a
race condition where the interface was taking to long to come up now that
it is busy and when the connection was made without the PPP interface up
the client exited with an error. If I dial in right away, with the
interface still up, it connects.
My options.ttySn files look like:
-detach
modem
crtscts
lock
205.230.28.5:205.230.28.38
proxyarp
and the pppuser login shell is /usr/sbin/pppd
Like I said, before I started a news feed using innd everything worked
great.
>
> > Jun 4 06:46:36 mola kernel: CSLIP: code copyright 1989 Regents of the
> > Universit
> > y of California
>
> Why is the CSLIP module getting loaded? This makes me think there is
> something else going on besides just pppd getting started.
I have no idea why CSLIP is getting loaded. I woundered that myself and
just thought that PPP still used some kernel SLIP stuff... I did no SLIP
configuration which I know of...
>
> BTW, the latest version is ppp-2.3.8, I suggest you upgrade.
I just upgraded yesterday (to RedHat 6.0 and ppp-2.3.8) and just now got my
news feed up. At this moment I tried it and the same thing happened. The
error on the NT client was "Error 737: Loopback detected". So I guess the
new version did not help.
Is there anyway to keep the network interface up? I also noticed if
someone else is connected to the server via PPP then other clients can
connect without any problems. It only happens before the message:
mola kernel: PPP line discipline registered.
and after the message:
mola kernel: PPP: ppp line discipline successfully unregistered
Is their any way to keep the PPP line discipline registered?
Thanks,
>
> Paul.
>
--Todd
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]