From owner-freebsd-questions@FreeBSD.ORG Wed Dec 22 18:30:23 2004 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 20DF716A4CE for ; Wed, 22 Dec 2004 18:30:23 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF67643D55 for ; Wed, 22 Dec 2004 18:30:17 +0000 (GMT) (envelope-from joshua.lokken@gmail.com) Received: by wproxy.gmail.com with SMTP id 36so1000wra for ; Wed, 22 Dec 2004 10:30:14 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=VAKmivUwRQdeg+SNOe5PxsaGt65/n+bqZ5SLb/4v+nhQohtSMCti7UjgjN8dEUQcPiyo40g3URhTzkADIZcDh92ODTfd+MJNK2IIUqUNrACbNY2fWxZMEYvj4aDOGArc8QX1OLAuyOGmwmim7HBIu3XoufAG71gKECipNaPgtUk= Received: by 10.54.53.56 with SMTP id b56mr157789wra; Wed, 22 Dec 2004 10:30:13 -0800 (PST) Received: by 10.54.11.33 with HTTP; Wed, 22 Dec 2004 10:30:13 -0800 (PST) Message-ID: Date: Wed, 22 Dec 2004 12:30:13 -0600 From: Joshua Lokken To: Bagus In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: cc: questions@freebsd.org Subject: Re: how to get it online X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Joshua Lokken List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Dec 2004 18:30:23 -0000 On Wed, 22 Dec 2004 11:00:32 -0600, Bagus wrote: > > > >ping freebsd.org > > > ping: cannot resolve freebsd.org: Host name lookup failure. > > > Hostname lookup failure sounds like a dns problem to me. > > Is there anything in /etc/resolv.conf ? > > No, there is not even a /etc/resolve.conf. What should go in there? > >How is fxp0 assigned an IP? DHCP? > I think so. That's the way it should be. > > > If so, do you have a line like the following in /etc/rc.conf: > > ifconfig_fxp0="DHCP" > > That line was not in there. I added it and rebooted. The boot process now > started the dhcp client, but still no actual ip address is reported in the > ifconfig. > > > > How did you setup the Linksys? Default (out-of-the-box) settings? > > plugged it in, plugged cable modem into uplink, plugged this pc into one > outlet, the freebsd box into another. PC works fine. Lights indicate > connectivity to bsd box. > > > Is the DHCP server turned on at the router? What does the status > > page of the router settings show? > > > > That's supposed to be http://192.168.1.1, isn't it? I can't access that even > from my pc. Any advice there would be helpful. BTW, I'm using Cox as a > ISP. You can set fxp0 to use a static IP until you get the router working. # ifconfig fxp0 inet 192.168.1.2 netmask 255.255.255.0 # route add default 192.168.1.1 In /etc/rc.conf, you should have: ifconfig_fxp0="DHCP" defaultrouter="192.168.1.1" You should be able to login to the Linksys admin page: http://192.168.1.1 AFAIK, most of the Linksys home networking devices use a blank username and password 'admin' by default. Make sure that the DHCP server is enabled, and restart. HTH, -- Joshua Lokken Open Source Advocate