From owner-freebsd-wireless@FreeBSD.ORG Sun Jun 26 02:59:54 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 506D6106564A; Sun, 26 Jun 2011 02:59:54 +0000 (UTC) (envelope-from zhtx10@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1863E8FC0A; Sun, 26 Jun 2011 02:59:53 +0000 (UTC) Received: by pzk27 with SMTP id 27so3195760pzk.13 for ; Sat, 25 Jun 2011 19:59:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=T32ssVEgRwmox5qr80vhxz5AeNIzt4xPASQK1iHRca4=; b=ecMnAE/G/5aObRT+2xCE4cJiDMd6icqV+/xnVAK5PD2IgrT/co1whq/J6/tQ1Vqnv7 S3vezZWrT6yiBTMd0cWi3qpAeeFaFVWjKAx1Lp79pLRH45QVkbQGCp5dZAh4tTpQAxSQ 61VqoZW7gm6mAX076phNNFPdWCFICSBW0TuuQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=T3nB/OsAPu0ehzqLWdIzPg4f6TM9jJr1/ESZ3UEzrtLvyvHdpb3xyrhD0ty6vdua50 KAZBk6eeEZ6thCwkEQoATmbY1l2/W9ZIA7WbSNNUplwm/u/V0bhAVuXfN7fYRJdIj5zJ rwYHVVXumXESErM5zUGVKEM3S9cA1xC9DYGKQ= Received: by 10.142.218.11 with SMTP id q11mr935277wfg.235.1309057193493; Sat, 25 Jun 2011 19:59:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.143.42.18 with HTTP; Sat, 25 Jun 2011 19:59:33 -0700 (PDT) In-Reply-To: References: From: =?UTF-8?B?57q15qiq5aSp5LiL?= Date: Sun, 26 Jun 2011 10:59:33 +0800 Message-ID: To: Adrian Chadd Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-wireless@freebsd.org Subject: Re: Couldn't connect to wireless networking X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jun 2011 02:59:54 -0000 I only know that it's 11g mode. The main issue is I cannot ping any websites if wlan0 becomes associated. I really don't know what I do next... :-( I think my configurations are correct. What's the channel of the AP? > > > adrian > > 2011/6/25 =E7=BA=B5=E6=A8=AA=E5=A4=A9=E4=B8=8B : > >> Too many possibilities to tell. > >> > >> Is your DNS server configured? It should be in /etc/resolv.conf. > >> > >> Is your default route set? > >> netstat -rnf inet > >> > >> What is the output of > >> ifconfig wlan0 > >> > >> Most of these things should be set by DHCP, but may not be. > >> If it shows as associated, try pinging your router. > >> > >> Still, without more information, it's all just guesses on my part. > >> > >> -- > >> R. Kevin Oberman, Network Engineer > >> Retired > >> kob@gmail.com > > > > OK. > > the output ifconfig wlan0: > > wlan0: flags=3D8c43 met= ric > 0 > > mut 1500 > > ether 00:26:37:64:1e:b9 > > inet 0.0.0 netmask 0xff000000 broadcast 255.255.255.255 > > media:IEEE 802.11 wireless ethernet autoselect (autoselect) > > status: no carried. > > ssid "" channel 6 (2437 MHz 11g) > > regdomail 97 indoor ecm authmode WPA1+WPA2/802.11i privacy ON > > deftxkey UNDEF txpower 20 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 > > bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme burst > > roaming MANUAL > > > > ifconfig wlan0 list scan > > > > > > netstat -rnf inet > > Routing tables > > Internet: > > Destination Gateway Flags Refs Use Netif Expire > > 0.0.0.0/8 link#4 U 0 0 wlan0 > > 127.0.0.1 link#3 UH 0 0 lo0 > > > > > > >