Date: Fri, 14 Mar 2003 09:59:44 +0200 From: "DJ Boris" <dj_boris@mail.ru> To: "Lars Eighner" <eighner@io.com> Cc: "freebsd-questions" <freebsd-questions@FreeBSD.ORG> Subject: Re: user-ppp, named and squid Message-ID: <000b01c2e9ff$dfa63820$f0cd07c4@d> References: <017101c2e9ae$7c19c480$9ecd07c4@d> <20030313183830.E1098@pearl.io.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <eighner@io.com> To: "DJ Boris" <dj_boris@mail.ru> Cc: "freebsd-questions" <freebsd-questions@FreeBSD.ORG> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000b01c2e9ff$dfa63820$f0cd07c4>