Return to BSD News archive
Newsgroups: comp.unix.bsd.freebsd.misc 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!gatech!news.mathworks.com!news.kei.com!ub!dsinc!news.ilab.bell-atl.com!bannf!server4!not-for-mail From: bdqjl43@segal.NJB_BAR2 (Vlad Markov) Subject: Re: User ppp, client mode,... Message-ID: <DL8Cvs.E2B@server4.bell-atl.com> To: bdqjl43 Keywords: bdqjl43 Sender: netnews@server4.bell-atl.com (Netnews Administration) Nntp-Posting-Host: segal Organization: Bell Atlantic - NJ X-Newsreader: Newsview 0.30 (pre-beta) References: <4cse48$c2i@cyber1.servtech.com> <4d6jb4$hpe@rznews.rrze.uni-erlangen.de> Date: Mon, 15 Jan 1996 16:09:27 GMT Lines: 164 Christian Haan (CIP 91 (cnhaan@cip.informatik.uni-erlangen.de )) wrote: > 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 > Christian Haan (CIP 91 (cnhaan@cip.informatik.uni-erlangen.de )) wrote: > 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 > Christian Haan (CIP 91 (cnhaan@cip.informatik.uni-erlangen.de )) wrote: > 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 > Christian Haan (CIP 91 (cnhaan@cip.informatik.uni-erlangen.de )) wrote: > 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 >