From owner-freebsd-questions@FreeBSD.ORG Sun Dec 25 10:33:31 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 4F5F016A41F for ; Sun, 25 Dec 2005 10:33:31 +0000 (GMT) (envelope-from yuanjue02@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7737C43D58 for ; Sun, 25 Dec 2005 10:33:30 +0000 (GMT) (envelope-from yuanjue02@gmail.com) Received: by zproxy.gmail.com with SMTP id 8so947599nzo for ; Sun, 25 Dec 2005 02:33:29 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:organization:to:subject:user-agent:references:in-reply-to:mime-version:content-disposition:date:cc:content-type:content-transfer-encoding:message-id; b=mLubztq8nS3X7fPi3FDk0g9l8uelDsNVB5FnwuOSrNox3gIp5VjEwwYrmZUik/SQRQ8uZpa/mupsqronBMdimQf06qBgJukSZ8Frf6l2HSUa6S7RaXfWbgcOjoPrJ5G0eLac9npG6jWS1VQ6qoNmUB3PCD5FQziZMqSobUbUx7I= Received: by 10.36.19.7 with SMTP id 7mr2020309nzs; Sun, 25 Dec 2005 02:33:29 -0800 (PST) Received: from tu208204.ip.tsinghua.edu.cn ( [166.111.208.204]) by mx.gmail.com with ESMTP id 34sm3181008nza.2005.12.25.02.33.26; Sun, 25 Dec 2005 02:33:29 -0800 (PST) From: Yuan Jue Organization: Tsinghua UNIV. To: Fabian Keil User-Agent: KMail/1.8.3 References: <200512251530.21898.yuanjue02@gmail.com> <20051225111051.06a02712@TP51.local> In-Reply-To: <20051225111051.06a02712@TP51.local> MIME-Version: 1.0 Content-Disposition: inline Date: Sun, 25 Dec 2005 18:36:10 +0800 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit Message-Id: <200512251836.10527.yuanjue02@gmail.com> 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 10:33:31 -0000 On Sunday 25 December 2005 18:10, you wrote: > Yuan Jue wrote: > > Does anybody success to use wireless NIC in FreeBSD6.0 in HP NC6000? > > Back to FreeBSD 5.4, my wireless card just works, but not in FreeBSD > > 6.0. > > > > I use the following steps to try to use my wireless card: > > 1.change to root, then "kldload if_ath" > > after this, I can use "kldstat" to see this: > > Id Refs Address Size Name > > 1 9 0xc0400000 328db0 kernel > > 2 1 0xc0729000 bc40 kqemu.ko > > 3 16 0xc0735000 5683c acpi.ko > > 6 1 0xc296a000 e000 if_ath.ko > > 7 1 0xc2978000 3000 ath_rate.ko > > 8 1 0xc297b000 24000 ath_hal.ko > > and use "ifconfig" to see this: > > bge0: flags=8843 mtu 1500 > > options=1a > > inet 166.111.208.143 netmask 0xfffffe00 broadcast > > 166.111.209.255 ether 00:0d:9d:90:e0:68 > > media: Ethernet autoselect (100baseTX ) > > status: active > > lo0: flags=8049 mtu 16384 > > inet 127.0.0.1 netmask 0xff000000 > > ath0: flags=8802 mtu 1500 > > ether 00:11:85:1b:21:79 > > media: IEEE 802.11 Wireless Ethernet autoselect > > status: no carrier > > ssid "" channel 1 > > authmode OPEN privacy OFF txpowmax 100 protmode CTS > > > > 2.I use DHCP to get my IP address. "dhclient ath0" > > the response is this: > > DHCPREQUEST on ath0 to 255.255.255.255 port 67 > > DHCPREQUEST on ath0 to 255.255.255.255 port 67 > > DHCPREQUEST on ath0 to 255.255.255.255 port 67 > > DHCPACK from 166.111.208.1 > > bound to 166.111.208.137 -- renewal in 3600 seconds. > > and use "ifconfig" can see: > > 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 > > > > it seems that the wireless NIC should be working now, right? > > but when i try to ping some IP which definitely should be connected > > from the IP address I have got, like : > > ping 166.111.8.28 (this is the DNS server) > > the result is this: > > PING 166.111.8.28 (166.111.8.28): 56 data bytes > > ping: send to: No route to host > > ping: send to: No route to host > > ping: send to: No route to host > > ping: send to: No route to host > > ping: send to: No route to host > > ping: send to: No route to host > > ping: send to: No route to host > > ping: send to: No route to host > > ^C > > --- 166.111.8.28 ping statistics --- > > 17 packets transmitted, 0 packets received, 100% packet loss > > What does netstat -r say? YuanJue# netstat -r Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire ^C YuanJue# thanks for the reply. what should I do now? -- Best Regards. Yuan Jue