*BSD News Article 69967


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!inquo!bofh.dot!in-news.erinet.com!bug.rahul.net!rahul.net!a2i!nmia!!george
From: george@ (George Simunovich)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: PPP -auto problem/question
Date: 2 Jun 1996 05:16:10 GMT
Organization: I need to put my ORGANIZATION here.
Lines: 47
Message-ID: <4or82q$ukc@hume.nmia.com>
NNTP-Posting-Host: gallup.cia-g.com


Hello,

I'm having problems getting ppp -auto to work like I would want.

I'm trying to connect a FreeBSD (using FreeBSD-stable) box to an
SCO Unix (3.2v5) via on demand ppp on both sides.  I have managed to
get each using on demand working seperatly (the FreeBSD box will
call up the SCO box on demand without having on demand configured
on the SCO box, and the other way around).  I also have the FreeBSD
box call up the SCO box on demand while the SCO box is also configured
for on demand dialing.  The problem shows up when the SCO box does an
on demand dial to the FreeBSD box while the FreeBSD box is configured
for on demand calling.

When the SCO box calls the FreeBSD one, the call connects, logs in,
and starts ppp with "ppp -direct".  So far, so good.  After ppp brings
up the link, the network traffic (pings) from the SCO box comes in over the
modems (only verified by watching the modem lights).  Here starts the
problem.  Nothing goes back to the SCO box.  After disconnecting,
the FreeBSD box decides to call the SCO box.  Now, everything goes to
hell.

I'm guessing that "ppp -auto" is grabbing the replies to the pings
from the SCO box and then dials out when the modem becomes free.
I can't get on demand to fail while configured for only one direction,
just an incoming call to the FreeBSD box while it is also configured
for demand dialing.  I have got incoming on demand calls to the FreeBSD
box while configured for on demand call out to work, but with having
to use completely different IP addresses.  Please don't say this
would be the only way to get both directions to work.

Is there anyway to set this up?  The modems will be dedicated for this,
sharing isn't a problem.  It seems all that is needed is either
"ppp -auto" need to watch for incoming calls, or some way of
signaling it that it needs to grab the incoming call or login.

On a different note, it seems that using user ppp on FreeBSD
likes to drop packets (about 5%) while using kernel ppp doesn't.
Is this a configuration problem, does it need some tuning, or just
a fact of life?  And how to tune it if needed?


Many thanks,

George
george@cia-g.com