From owner-freebsd-questions Fri Mar 14 0: 1:37 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E9B7937B401 for ; Fri, 14 Mar 2003 00:01:34 -0800 (PST) Received: from rammstein.mweb.co.za (rammstein.mweb.co.za [196.2.53.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF08B43FBD for ; Fri, 14 Mar 2003 00:01:32 -0800 (PST) (envelope-from dj_boris@mail.ru) Received: from kny-dial-196-7-205-240.mweb.co.za ([196.7.205.240] helo=d) by rammstein.mweb.co.za with smtp (Exim 3.33 #1) id 18tjtQ-0000gs-00; Fri, 14 Mar 2003 09:46:16 +0200 Message-ID: <000b01c2e9ff$dfa63820$f0cd07c4@d> From: "DJ Boris" To: "Lars Eighner" Cc: "freebsd-questions" References: <017101c2e9ae$7c19c480$9ecd07c4@d> <20030313183830.E1098@pearl.io.com> Subject: Re: user-ppp, named and squid Date: Fri, 14 Mar 2003 09:59:44 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG yup, host.conf has ============= hosts bind ============= in this order. unfortunately host.conf is no longer used. it creates a file called nsswitch.conf and in it I have the same but written in a different way ============= names: files dns ============= as I said the strangest thing is that ppp works fine but as soon as I enable named in the rc.conf it hangs at startup. and the other way around, when I enable named and disable ppp machine starts fine... the only way is to use the work around... I am totally confused... ----- Original Message ----- From: "Lars Eighner" To: "DJ Boris" Cc: "freebsd-questions" Sent: Friday, March 14, 2003 2:40 AM Subject: Re: user-ppp, named and squid > On Fri, 14 Mar 2003, DJ Boris wrote: > > > hi there, > > > > I have a freeBSD 5.0 RELEASE machine acting as a Dial-Up router and proxy > > for a LAN with 1 ISP Dial-Up account. I have user-ppp, named and squid. > > when all are enabled in the rc.conf file the machine hangs at boot time just > > before it says "i386 initialisation" or something like that.... Then I press > > Ctrl-C and everything carries on and I can log in but immediately after that > > ppp dials out. named only forwards requests to the ISP's DNS and in > > named.conf I have set dialup to yes. > > The work around is to only enable ppp and start the other services once I > > log in but as soon as I start named for example it dials out. after the ppp > > timeout expires modem disconnects and everything comes to normal. then I > > start squid and the same thing happens, dials out, timeout expires and all > > is OK. > > Does anyone know what I can do to stop those two named and squid from doing > > that... or maybe there is an option in ppp.conf... I have read everything > > and tried everything - still no luck. may be I am missing something. > > > > thanx > > Just a thought, but are you certain that in host.conf you > have: > > hosts > bind > > in that exact order, not the other way around, and that > the hosts file is correct? > > > -- > Lars Eighner > eighner@io.com -finger for geek code- > http://www.io.com/~eighner/index.html > 600 E 53RD ST APT 119 AUSTIN TX 78751 > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message