From owner-freebsd-questions@FreeBSD.ORG Sun Dec 25 11:53:56 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 0746E16A41F for ; Sun, 25 Dec 2005 11:53:56 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from strange.daemonsecurity.com (59.Red-81-33-11.staticIP.rima-tde.net [81.33.11.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5359C43D53 for ; Sun, 25 Dec 2005 11:53:54 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [172.16.2.1] (unknown [172.16.2.1]) by strange.daemonsecurity.com (Postfix) with ESMTP id 4A2CB2E047; Sun, 25 Dec 2005 12:53:53 +0100 (CET) Message-ID: <43AE884F.70002@locolomo.org> Date: Sun, 25 Dec 2005 12:53:51 +0100 From: =?ISO-8859-1?Q?Erik_N=F8rgaard?= Organization: Locolomo.ORG User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050909) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Yuan Jue References: <200512251530.21898.yuanjue02@gmail.com> In-Reply-To: <200512251530.21898.yuanjue02@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Wireless NIC in FreeBSD 6.0 ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Dec 2005 11:53:56 -0000 Yuan Jue wrote: > ath0: flags=8843 mtu 1500 > inet 166.111.208.137 netmask 0xfffffe00 broadcast 166.111.209.255 > ether 00:11:85:1b:21:79 > media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/36Mbps) > status: associated > ssid A314b channel 11 bssid 00:09:5b:d1:fa:c4 > authmode OPEN privacy OFF txpowmax 30 protmode CTS bintval 100 > > PING 166.111.8.28 (166.111.8.28): 56 data bytes > ping: send to: No route to host > it means I cannot connect to the internet even when I have got the > wireless card an IP address using DHCP. WHY? > > can anybody help on this? any suggestion would be much appreciated. Take a close look at the ip/broadcast of your nic and the ip of the host you're trying to ping. Your NIC: 166.111.208.137/23 Your DNS: 166.111.8.28 They are not on the same network as far as I can see. Now, check that you have the default route set, # route -n get default Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2