From owner-freebsd-questions Tue Apr 23 19:31:23 2002 Delivered-To: freebsd-questions@freebsd.org Received: from roc-66-66-72-6.rochester.rr.com (roc-66-66-72-6.rochester.rr.com [66.66.72.6]) by hub.freebsd.org (Postfix) with ESMTP id F1A1837B41B for ; Tue, 23 Apr 2002 19:31:14 -0700 (PDT) Received: by roc-66-66-72-6.rochester.rr.com (Postfix, from userid 1000) id 5E634901A00; Tue, 23 Apr 2002 22:31:13 -0400 (EDT) Date: Tue, 23 Apr 2002 22:31:13 -0400 From: mpd To: Anthony Carmody Cc: questions@freebsd.org Subject: Re: Does anyone have an example of an rc.conf file with ... Message-ID: <20020423223113.A19957@rochester.rr.com> References: <001f01c1eb2b$024a4f30$6700a8c0@interfa.fortune> <20020423211011.A19646@rochester.rr.com> <004101c1eb34$e8e5b700$6700a8c0@interfa.fortune> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <004101c1eb34$e8e5b700$6700a8c0@interfa.fortune>; from carmoda@interfaceergonomics.com on Wed, Apr 24, 2002 at 12:08:19PM +1000 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 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