Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Apr 2002 22:31:13 -0400
From:      mpd <mpd@rochester.rr.com>
To:        Anthony Carmody <carmoda@interfaceergonomics.com>
Cc:        questions@freebsd.org
Subject:   Re: Does anyone have an example of an rc.conf file with ...
Message-ID:  <20020423223113.A19957@rochester.rr.com>
In-Reply-To: <004101c1eb34$e8e5b700$6700a8c0@interfa.fortune>; from carmoda@interfaceergonomics.com on Wed, Apr 24, 2002 at 12:08:19PM %2B1000
References:  <001f01c1eb2b$024a4f30$6700a8c0@interfa.fortune> <20020423211011.A19646@rochester.rr.com> <004101c1eb34$e8e5b700$6700a8c0@interfa.fortune>

next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex>)
>         status: active

This is ok.

> lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500

Dunno.

> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> 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<POINTOPOINT,MULTICAST> mtu 1500
> sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
> faith0: flags=8000<MULTICAST> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020423223113.A19957>