Connected to Router but not Internet

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Thu Aug 4 00:20:35 GMT 2005


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 at kf8nh.com
system administrator      [WAY too many hats]        allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon univ.         KF8NH



More information about the freebsd-mobile mailing list