*BSD News Article 88598


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mel.aone.net.au!grumpy.fl.net.au!news.webspan.net!www.nntp.primenet.com!nntp.primenet.com!howland.erols.net!vixen.cso.uiuc.edu!feeder.chicago.cic.net!shrike.depaul.edu!shrike.depaul.edu!ladamski
From: Lucas D Adamski <ladamski@shrike.depaul.edu>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: YAP (Yet Another PPP problem)
Date: Fri, 7 Feb 1997 23:04:54 -0600
Organization: DePaul University
Lines: 49
Message-ID: <Pine.GSO.3.95.970207225707.23822B-100000@shrike.depaul.edu>
References: <Pine.GSO.3.95.970204132111.26811A-100000@shrike.depaul.edu> <5d98ff$i8q@uuneo.neosoft.com>
NNTP-Posting-Host: shrike.depaul.edu
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
In-Reply-To: <5d98ff$i8q@uuneo.neosoft.com>
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:35152

I did disable routed and also removed tun0 from the network= line in
sysconfig.  But then I ran into an infuriating little problem.. namely,
PPP on-demand refused to work (kept getting 'no route to xx.yy.zz').  I
waste many an hour trying to get it to work, till I noticed an odd
coincidence.  The only time ppp -auto worked was after I ran ppp -auto
ondemand, which is the static IP addressing version.  If I tried either my
own one or the example provided (ppp -auto pmdemend) first, I always got
not route to host errors.  But after I dialed out once with ppp -auto
pmdemend (no network connection was made though since I can't have a
static IP address, but it at least dialed), I could kill the ppp process
and run one with my dynamic IP addressing, and it dialed out just fine.

Finally I tried using something like 'set ifaddr 140.192.0.1/16 etc...' in
ppp.conf, so that it would have a fixed route but the server could assign
it a different address, and it finally worked.  For whatever reason, 'set
ifaddr 0 etc...' did not work. 
   Lucas.


On 5 Feb 1997, Conrad Sabatier wrote:

> In article <Pine.GSO.3.95.970204132111.26811A-100000@shrike.depaul.edu>,
> 	Lucas D Adamski <ladamski@shrike.depaul.edu> writes:
> > Hello all, 
> >    I have what appears to be a small problem with ppp.  I use iij-ppp for
> > on-demand connections to my ISP via a modem, running on FBSD 2.1.5.  I
> > have basically 2 small errors, but I suspect they are related... when the
> > system boots, PPP gives an error 
> > 
> > SIOCAIFADDR: File exists
> > 
> > but appears to work just fine.  Then a minute or two later I also get the
> > following message on the console
> > 
> > <date> karakorum routed[52]: deleting route to interface tun0 (timed out)
> > 
> > I've gone through all the handbook, the man pages for ppp and routed, and
> > triple checked everything.  But I still have no clue why it is giving me
> > this.  Any ideas, anyone? 
> 
> Disable routed in /etc/sysconfig.
> 
> -- 
> Conrad Sabatier		http://www.neosoft.com/~conrads
> 
> 
> 
>