Date: Tue, 26 Dec 2006 09:37:36 -0600 From: David Kelly <dkelly@hiwaay.net> To: linux quest <linuxquest7570@yahoo.com> Cc: question@freebsd.org, FreeBSD-questions@freebsd.org Subject: Re: Changing network card FreeBSD after install Message-ID: <20061226153736.GA78234@Grumpy.DynDNS.org> In-Reply-To: <20061226121720.54208.qmail@web59206.mail.re1.yahoo.com> References: <20061226121720.54208.qmail@web59206.mail.re1.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061226153736.GA78234>