Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!zombie.ncsc.mil!news.mathworks.com!fu-berlin.de!zrz.TU-Berlin.DE!news.dfn.de!news.uni-jena.de!news.HRZ.HAB-Weimar.DE!News.HTWM.De!news.tu-chemnitz.de!uni-erlangen.de!rznews.rrze.uni-erlangen.de!faui06g.informatik.uni-erlangen.de!not-for-mail From: cnhaan@cip.informatik.uni-erlangen.de (Christian Haan (CIP 91)) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: User ppp, client mode,... Date: 12 Jan 1996 21:20:36 GMT Organization: Regionales Rechenzentrum Erlangen, Germany Lines: 40 Message-ID: <4d6jb4$hpe@rznews.rrze.uni-erlangen.de> References: <4cse48$c2i@cyber1.servtech.com> NNTP-Posting-Host: faui06g.informatik.uni-erlangen.de NNTP-Posting-User: cnhaan rudynel millian (rmillian@cyber1.servtech.com) wrote: > I am a new FreeBSD user (a couple of months now), and I am using > version 2.05. I followed the instructions in the handbook to setup my > user ppp to dial my ISP. I put "ppp -auto CyberLink" in my rc.local file > which is supposed to connect to my ISP on demand, according to the handbook > and the man page. But user ppp dials in shortly after booting up, and > remains connected until my ISP kicks me off (no activity for 20 minutes), > at which point user ppp immediatly calls back. Is this the way it is supposed > to work? > I want user ppp to call my ISP only when there is a packet going out, > not when the system boots up. I also want user ppp to timeout and disconnect > if there is no activity for a given number of minutes. > Could it be that my system is really trying to send some packets out? > Like sendmail checking the queue? If so, how do I check who is attempting to > send packets? > Hi! I guess your problem is the routed daemon. Routed will post every 30 seconds a broadcast into every net it is connected to, saying how nice it is to be alive and reporting all known networks and gateways. To stop this you will have to disable the routed daemon (set routedflags = NO in /etc/sysconfig) or you disable the sending of some types of tcp/ip packages via afilter, ifilter, ofilter and dfilter in /etc/ppp/ppp.conf. (I didn't succeed with the later.) The second problem lies with DNS. If you have configured a nameserver located at your ISP, every hostname lookup will trigger your ppp-link or keep it alive. You will also have to stop these packages to interfere with ppp-dialing via the ppp-filters. Again I don't know how to do it. But there is another problem. If you somehow manage to keep ppp from dialing at DNS-requests you will not be able to connect to your ISP via a hostname lookup (if the hostname with correct ip-address is not in your /etc/hosts). Hope this helps a bit, Christian --- Christian Haan cnhaan@cip.informatik.uni-erlangen.de