From owner-freebsd-questions Fri Dec 8 20:34:47 2000 From owner-freebsd-questions@FreeBSD.ORG Fri Dec 8 20:34:45 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from garak.pc-intouch.com (unknown [198.172.26.12]) by hub.freebsd.org (Postfix) with ESMTP id 0D0E537B400 for ; Fri, 8 Dec 2000 20:34:45 -0800 (PST) Received: from 217-dyn.dialup.pc-intouch.com ([198.172.26.217] helo=luke) by garak.pc-intouch.com with smtp (Exim 3.14 #5) id 144biX-0004rK-00; Fri, 08 Dec 2000 20:34:38 -0800 From: jerry To: Ryan Younce Subject: Re: changing nics Date: Fri, 8 Dec 2000 20:25:46 +0000 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain Cc: freebsd-questions@FreeBSD.ORG References: <3A2FED94.6E96C229@pc-intouch.com> <20001207232032.A922@cheshire.manunkind.org> In-Reply-To: <20001207232032.A922@cheshire.manunkind.org> MIME-Version: 1.0 Message-Id: <00120820313100.02728@luke> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks for the help.. I got the rc.conf looking as you sed.. except using ed0 instead of ep0.. Still didn't work...I re-installed, still not working... Will re-install when I get more time.. I've done it twice before and I will get it again.. On Fri, 08 Dec 2000, Ryan Younce wrote: > Thus spake jerry : > > I have 2 pcs running FreeBSD. I changed nic on one pc. This pc is > > triple-booting FreeBSD, > > Slackware 7.0 and Windows 98. I was able to re-configure both the LInux > > and Windows > > network interfaces........... (old = smc-ultra, new=ne2000). After > > reviewing the manual, It seems > > to me that the only way to reconfigure for the new nic, is to re-install > > the FreeBSD system.` > > I sure hope I'm wrong... > > de jerry > > You're wrong. =) > > If I understand correctly, you swapped out a NIC with another one and want > to maintain the same configuration (IP address, broadcast, gateway, etc). > Compile support for the new card into your kernel for the device to be > recognized. You can use /stand/sysinstall to configure it or if you want, > just add the new device to the network_interfaces list in /etc/rc.conf, > and add a configuration line for the new interface. For example, assuming > a new 3c509 card was installed (which is device ep, the first being ep0), > you would have the following lines in /etc/rc.conf: > > network_interfaces="ep0 lo0 [any other interfaces]" > ifconfig_ep0="inet [your ip] netmask [your netmask]" > > You can reboot then, or if the card is already in the kernel and you don't > want to reboot, look at using /sbin/ifconfig to bring the new interface > up and simultaneously configuring it. Usually something like: > > /sbin/ifconfig ep0 up [your ip address] netmask [your netmask] > > -- > Ryan "Cheshire" Younce - Registered Libertarian - Professional Cat Herder > ryan@manunkind.org|ICQ 4433228(H) 74390437(W)|http://www.manunkind.org/~ryan/ > "And the next morning we had this orgy of one-liners..." > --Doug McIlroy, on the morning after Ken Thompson implemented UNIX pipes To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message