From owner-freebsd-questions@FreeBSD.ORG Tue Dec 26 16:05:38 2006 Return-Path: X-Original-To: FreeBSD-questions@freebsd.org Delivered-To: FreeBSD-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 437DA16A40F for ; Tue, 26 Dec 2006 16:05:38 +0000 (UTC) (envelope-from dkelly@Grumpy.DynDNS.org) Received: from smtp.knology.net (smtp.knology.net [24.214.63.101]) by mx1.freebsd.org (Postfix) with ESMTP id CD37C13C489 for ; Tue, 26 Dec 2006 16:05:37 +0000 (UTC) (envelope-from dkelly@Grumpy.DynDNS.org) Received: (qmail 7379 invoked by uid 0); 26 Dec 2006 15:37:36 -0000 Received: from unknown (HELO Grumpy.DynDNS.org) (216.186.148.249) by smtp8.knology.net with SMTP; 26 Dec 2006 15:37:36 -0000 Received: by Grumpy.DynDNS.org (Postfix, from userid 928) id A1DD228422; Tue, 26 Dec 2006 09:37:36 -0600 (CST) Date: Tue, 26 Dec 2006 09:37:36 -0600 From: David Kelly To: linux quest Message-ID: <20061226153736.GA78234@Grumpy.DynDNS.org> References: <20061226121720.54208.qmail@web59206.mail.re1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061226121720.54208.qmail@web59206.mail.re1.yahoo.com> User-Agent: Mutt/1.4.2.2i Cc: question@freebsd.org, FreeBSD-questions@freebsd.org Subject: Re: Changing network card FreeBSD after install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Dec 2006 16:05:38 -0000 On Tue, Dec 26, 2006 at 04:17:19AM -0800, linux quest wrote: > > I am a UNIX newbie. I think I made the wrong selection for my network > card -causing me unable to connect to the Internet. Now, I would like > to choose my a new network card during installation of FreeBSD. So, I > did tried sysinstall command, but, it seems that I am unable to select > my network card from there. I suggest you type "ifconfig" to see what network devices FreeBSD sees in your system. Then rather than the Windows thing where one makes changes and reboots to see if it works, manually test first. Once you know what is needed make the changes to rc.conf and reboot to make sure. Or if one is cocky, just make the changes to rc.conf and do not reboot. Likely you get an IP address via DHCP from your ISP or from a router. So if your ethernet interface is fxp0 then as root "killall dhclient" to stop the one you previously caused to start in rc.conf, then "dhclient fxp0" to start another on the proper interface. If that works then find "DHCP" in /etc/rc.conf and change it to: ifconfig_fxp0="DHCP" Of course, use your NIC device in place of fxp0. And if your first guess didn't work, killall dhclient again and try with your 2nd guess. You have run sysinstall several times? Then there will probably be multiple sets of ifconfig_ lines appended at the bottom of the file. Remove the extras. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad.