From owner-freebsd-questions Tue Apr 23 19:38:41 2002 Delivered-To: freebsd-questions@freebsd.org Received: from interfa1.temp.veriohosting.com (interfa1.temp.veriohosting.com [161.58.154.194]) by hub.freebsd.org (Postfix) with ESMTP id 3D8CB37B41A for ; Tue, 23 Apr 2002 19:38:33 -0700 (PDT) Received: from interfa4 (CPE-144-137-128-210.qld.bigpond.net.au [144.137.128.210]) by interfa1.temp.veriohosting.com (8.11.6) id g3O2cT500250; Wed, 24 Apr 2002 02:38:30 GMT From: carmoda@interfaceergonomics.com (Anthony Carmody) Message-ID: <00a401c1eb38$922cccb0$6700a8c0@interfa.fortune> To: "mpd" Cc: References: <001f01c1eb2b$024a4f30$6700a8c0@interfa.fortune> <20020423211011.A19646@rochester.rr.com> <004101c1eb34$e8e5b700$6700a8c0@interfa.fortune> <20020423223113.A19957@rochester.rr.com> Subject: Re: Does anyone have an example of an rc.conf file with ... Date: Wed, 24 Apr 2002 12:34:30 +1000 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 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 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 well on this machine is apache with some virtual hosts. apache is not starting the virtual host daemons because it cannot resolve the host names. funny thing was, the machine was working fine a little while ago. nothing has change in the httpd.conf file. ----- Original Message ----- From: "mpd" To: "Anthony Carmody" Cc: Sent: Wednesday, April 24, 2002 12:31 PM Subject: Re: Does anyone have an example of an rc.conf file with ... > Please don't remove the cc: to questions. The answers need to > be archived along with the questions. > > On Wed, Apr 24, 2002 at 12:08:19PM +1000, Anthony Carmody wrote: > > > > > > Does anyone have an example of a "/etc/rc.conf" & "/etc/default/rc.conf" > > > > file running as a DHCP client and accepting DNS. I think someone may > > have > > > > > > Accepting DNS? I don't understand that. > > > > sorry, the freebsd machine is a DNS client. > > Any machine on the Internet is likely to be a DNS client... > > > > > > I'm using DHCP to get my IP. Here are the relevant lines from my rc.conf: > > > > > > network_interfaces="lo0 fxp0" > > > ifconfig_lo0="inet 127.0.0.1" > > > ifconfig_fxp0="DHCP" > > > > > > Is this what you meant? > > > > yeah, done that. > > > > > > edited the default rc file at some stage as there are strange things > > coming > > > > up when i do a "ifconfig -a" > > > > > > Like what? > > > > whole lotta extra crap like this: > > > > interfa2# ifconfig > > sis0: flags=8843 mtu 1500 > > inet6 fe80::210:c6ff:fe01:cb52%sis0 prefixlen 64 scopeid 0x1 > > inet 192.168.0.100 netmask 0xffffff00 broadcast 192.168.0.255 > > ether 00:10:c6:01:cb:52 > > media: Ethernet autoselect (100baseTX ) > > status: active > > This is ok. > > > lp0: flags=8810 mtu 1500 > > Dunno. > > > lo0: flags=8049 mtu 16384 > > inet6 ::1 prefixlen 128 > > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 > > inet 127.0.0.1 netmask 0xff000000 > > Ok. > > > ppp0: flags=8010 mtu 1500 > > sl0: flags=c010 mtu 552 > > faith0: flags=8000 mtu 1500 > > Possibly unnecessary. If you don't know what any of these > three are for, and you aren't using a dialup, you probably > don't need these. > > > > > is this normal? > > Everything looks ok. Are you having any actual > problems, or are you just worried about the whether > ifconfig -a has correct output? You may have a few > extra devices listed that you don't need, but that > shouldn't break anything that I know of. You probably > don't need the sl0 or ppp0 devices if you're using > a NIC, and I'm curious about the lp0 device. What's > does that do? The faith0 device is for capturing > IPv6 info. You may not need that, either. > > mike > > -- > ___________________________________________________________ > > "THAT IS THE PRICE OF LOVE" > - Pokey the Penguin from "THE PRICE OF LOVE" > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message