From owner-freebsd-mobile@FreeBSD.ORG Thu Aug 4 00:20:35 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7347316A41F for ; Thu, 4 Aug 2005 00:20:35 +0000 (GMT) (envelope-from allbery@ece.cmu.edu) Received: from bache.ece.cmu.edu (BACHE.ECE.CMU.EDU [128.2.129.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2CD9043D45 for ; Thu, 4 Aug 2005 00:20:35 +0000 (GMT) (envelope-from allbery@ece.cmu.edu) Received: from tirun (dsl093-061-215.pit1.dsl.speakeasy.net [66.93.61.215]) by bache.ece.cmu.edu (Postfix) with ESMTP id 8919981 for ; Wed, 3 Aug 2005 20:20:33 -0400 (EDT) From: "Brandon S. Allbery KF8NH" To: freebsd-mobile@freebsd.org In-Reply-To: <200508040012.j740C3XW006205@ms-smtp-02-eri0.ohiordc.rr.com> References: <200508040012.j740C3XW006205@ms-smtp-02-eri0.ohiordc.rr.com> Content-Type: text/plain Date: Wed, 03 Aug 2005 20:20:31 -0400 Message-Id: <1123114831.8837.1.camel@tirun> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: Re: Connected to Router but not Internet X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Aug 2005 00:20:35 -0000 On Wed, 2005-08-03 at 20:12 -0400, Jonathan Herriott wrote: > kldload -v if_ipw > > ipwcontrol -i ipw0 -f /usr/local/libdata/if_ipw/ipw2100-1.3.fw > > ifconfig ipw0 inet 192.168.0.20 netmask 0xffffff00 ssid JONNET wepkey my_key > weptxkey 1 wepmode on > > I can ping and access my router, but when I go to ping google, it says the > host name cannot be resolved or some such thing. Basically, it's not able > to get the address with the host name. Any idea what I did wrong? You haven't told FreeBSD how to use the router. route add default ip.addr.of.router Also, you might want to verify that /etc/resolv.conf has a nameserver listed so the resolver knows how to translate e.g. www.google.com to an IP address. -- brandon s. allbery [linux,solaris,freebsd,perl] allbery@kf8nh.com system administrator [WAY too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon univ. KF8NH