From owner-freebsd-questions@FreeBSD.ORG Thu Apr 10 15:57:59 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F421337B401 for ; Thu, 10 Apr 2003 15:57:58 -0700 (PDT) Received: from cie.dowco.com (cie.dowco.com [209.87.128.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id 254E643FA3 for ; Thu, 10 Apr 2003 15:57:58 -0700 (PDT) (envelope-from aardvark@cie.dowco.com) Received: by cie.dowco.com (Postfix, from userid 0) id 1B31833288; Thu, 10 Apr 2003 17:37:08 -0700 (PDT) Delivered-To: aardvark@cie.dowco.com Received: from vcn.bc.ca (vcn.bc.ca [207.102.64.2]) by cie.dowco.com (Postfix) with ESMTP id 1634033284 for ; Thu, 10 Apr 2003 17:35:09 -0700 (PDT) Received: from francisco.saintaardvarkthecarpeted.com ([24.76.88.249]) by vcn.bc.ca (8.9.3+Sun/8.9.3) with ESMTP id PAA17931 for ; Thu, 10 Apr 2003 15:55:42 -0700 (PDT) Received: from francisco.saintaardvarkthecarpeted.com (localhost [127.0.0.1]) id h3AMuDea086042 for ; Thu, 10 Apr 2003 22:56:13 GMT (envelope-from aardvark@francisco.saintaardvarkthecarpeted.com) Received: (from aardvark@localhost)h3AMuCGt086041 for aardvark@vcn.bc.ca; Thu, 10 Apr 2003 22:56:12 GMT Resent-Message-Id: <200304102256.h3AMuCGt086041@francisco.saintaardvarkthecarpeted.com> Date: Thu, 10 Apr 2003 22:55:00 +0000 From: Saint Aardvark the Carpeted To: bert01 Message-ID: <20030410225500.GB85893@francisco.saintaardvarkthecarpe> References: <001501c2ffa7$a31970d0$0100000a@bert> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001501c2ffa7$a31970d0$0100000a@bert> User-Agent: Mutt/1.4i Resent-From: aardvark@saintaardvarkthecarpeted.com Resent-Date: Thu, 10 Apr 2003 22:56:12 +0000 Resent-To: aardvark@vcn.bc.ca Resent-From: aardvark@saintaardvarkthecarpeted.com Resent-Date: Thu, 10 Apr 2003 17:37:08 -0700 Resent-To: freebsd-questions@freebsd.org cc: freebsd-questions@freebsd.org Subject: Re: question about freebsd install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2003 22:57:59 -0000 bert01 disturbed my sleep to write: > I'm installing freebsd 5.0 from the boot discs... Everything goed fine, but my network card 's driver is not attached, now I have a disc with my network card and on that disc there's a map "freebsd" in that map There are 3 files: > IF_FET.C > if_fetreg.h > readme.txt > -> they are attached to this email > Now how can I make my ethernet work so I can install freebsd with ftp? The instructions are fairly straightforward, with a couple changes that you need to watch for (I think -- someone let me know if I'm wrong). However, before I go on to do that -- what model and make of ethernet card do you have? I'd be surprised if FreeBSD didn't have drivers for it already. > Installation: > > 1. copy the source codes if_fet.c and if_fetreg.h to /sys/pci directory, This should actually be /usr/src/sys/pci. You'll need to do this (and all the other steps) as root. > #cp if_fet.c /sys/pci > #cp if_fetreg.h /sys/pci > > 2. modify /sys/conf/files, add the following line > Add this line to /usr/src/sys/conf/files (take out the ">" at the beginning): > pci/if_fet.c optional fet device-driver > 3. modify /usr/src/sys/i386/conf/GENERIC, add the following line Add this line to the file /usr/src/sys/i386/conf/GENERIC. > device fet0 > > 4. compile the kernel, These instructions are pretty straightforward. (Note that these steps will build a generic kernel, with lots of stuff that you may not need. It'll almost certainly run without problems, but the usual thing is to trim it down to just the stuff you need. Check http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-custom-kernel.html for details.) > #cd /usr/src/sys/i386/conf > #cp GENERIC MYKERNEL > #/usr/sbin/config MYKERNEL > #cd /usr/src/sys/compile/MYKERNEL > #make depend > #make > #make install > > 5. reboot the system, > > #reboot > > 6. bind your card to an IP address Here, you would replace "${IPADDR}", "${BROADCAST}" and "${NETMASK}" with the appropriate values, so that it would look something like this: ifconfig fet0 10.0.0.1 broadcast 10.0.0.255 netmask 255.255.255.0 > #ifconfig fet0 ${IPADDR} broadcast ${BROADCAST} netmask ${NETMASK} > > 7. now, you should be able to ping local network. > Hope this helps, Hugh -- Saint Aardvark the Carpeted aardvark@saintaardvarkthecarpeted.com Because the plural of Anecdote is Myth.