From owner-freebsd-questions Sun Apr 7 6:30:49 2002 Delivered-To: freebsd-questions@freebsd.org Received: from ns1.infowest.com (ns1.infowest.com [204.17.177.10]) by hub.freebsd.org (Postfix) with ESMTP id 1100C37B416 for ; Sun, 7 Apr 2002 06:30:45 -0700 (PDT) Received: from Presarionb (208.186.110.56.bluegill.infowest.net [208.186.110.56]) by ns1.infowest.com (Postfix) with SMTP id 98A0F22130; Sun, 7 Apr 2002 07:30:43 -0600 (MDT) From: Lorin Lund To: freebsd-questions@FreeBSD.ORG, "Kim" Date: Sun, 07 Apr 2002 07:29:20 -0600 X-Priority: 3 (Normal) In-Reply-To: <000001c1de32$f9462760$0301a8c0@blablasilxhh3h> Message-Id: Subject: Re: Networking MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Mailer: Opera 6.01 build 1041 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 4/7/2002 6:51:45 AM, "Kim" wrote: >Hi there! >I´m quite new on FreeBSD and have installed FreeBSD 4.5 (X-USER) >I´ve recently tried out NetBSD and was a bit frightend, but thought trie >FreeBSD first before returning to Linux. > >Now i have some questions. > >I was looking for some place to configure my network device. > >1. In what file should i conf the network? rc.conf The values you set in rc.conf get picked apart and acted on in the various rc.xxx scripts in /etc. Network stuff gets acted on in rc.network* If you are good at understanding shell scripts you can read /etc/rc.network to see how these values are acted on. You might also look at /etc/defaults/rc.conf. /etc/defaults/rc.conf is run first to set all the defaults. Then your /etc/rc.conf is run to set your specific overrides. Then the various rc.x scripts are run to act on the values that are set. Here are some relevant lines from my rc.conf for an example: # This file now contains just the overrides from /etc/defaults/rc.conf # please make all changes to this file. # Enable network daemons for user convenience. # -- sysinstall generated deltas -- # gateway_enable="YES" network_interfaces="ep0 lo0" ifconfig_ep0="inet 169.254.0.1 netmask 255.255.255.0" >2. Where do i find the config for resolving hosts(DNS)?? resolv.conf This is all of my resolv.conf nameserver 204.17.177.10 nameserver 204.17.177.20 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message