From owner-freebsd-questions@FreeBSD.ORG Thu Sep 11 06:58:16 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 D91F816A4BF for ; Thu, 11 Sep 2003 06:58:16 -0700 (PDT) Received: from mailhub.yumyumyum.org (dsl092-171-091.wdc2.dsl.speakeasy.net [66.92.171.91]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E1084400F for ; Thu, 11 Sep 2003 06:58:15 -0700 (PDT) (envelope-from culverk@yumyumyum.org) Received: by mailhub.yumyumyum.org (Postfix, from userid 80) id C606A46B; Thu, 11 Sep 2003 09:57:26 -0400 (EDT) Received: from 141.156.69.109 ([141.156.69.109]) by mailhub.yumyumyum.org (Horde) with HTTP for ; Thu, 11 Sep 2003 09:57:26 -0400 Message-ID: <1063288646.d9c60854f49fb@mailhub.yumyumyum.org> Date: Thu, 11 Sep 2003 09:57:26 -0400 From: culverk@yumyumyum.org To: Colin Ryan References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.0-cvs X-Originating-IP: 141.156.69.109 cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD's refusal to connect to the internet 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, 11 Sep 2003 13:58:17 -0000 Quoting Colin Ryan : > I have a small network of three computers in my office here. Two Windows > 2000, and one FreeBSD 5.1. It's the BSD box that's giving me problems. > > My computers are connected to my modem via an ethernet switch. My modem is > set up as a DHCP server, and my computers are DHCP enabled. > When the input cable is disconnected from the modem (not the power, so it's > still assigning IP addresses to my LAN) my BSD box picks up a valid internal > IP address and subnet mask, it can ping and be pinged from all other > computers on the LAN. > > However, when the input cable is connected to my modem, so it's connected to > the internet, my BSD box receives nothing. When I do an ifconfig, it shows > NO IP address and NO subnet mask. > > I tried "dhclient rl0" which didn't work, so I checked /var/log/messages and > was told "dhcp cannot bind to address; address already in use." I then > tried manually assigning an IP and subnet mask, which didn't work either. > > Getting FreeBSD online has been nothing but an ordeal, and I am about ready > to throw in the towel. If anyone has any ideas, I would be very grateful > indeed. > It shouldn't be that hard. In rc.conf, ifconfig_rl0="DHCP" should be all it takes. I'm assuming you already have that though, so on to the next thing... Could you do this: killall dhclient (wait a few seconds) then dhclient -v rl0 then cut 'n paste the results. Ken