From owner-freebsd-wireless@FreeBSD.ORG Tue Jul 31 16:31:19 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AC773106564A for ; Tue, 31 Jul 2012 16:31:19 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 77F718FC18 for ; Tue, 31 Jul 2012 16:31:19 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so12503655pbb.13 for ; Tue, 31 Jul 2012 09:31:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=0MuF005h1puJpFEJ3PKuvPPqpaI97+tc9YPhC9zmujU=; b=VLX5bePI4jSSQ2r26PfncQPU2LiarMGGoCTnPbHDwyJpwfLxPs1/IbXXhRyqpa2AQj ygMtOdlC7jSu4JsdLAE3OHWzdMQIZHgvKXsRcSO8Ux/qvc/yJNsrh4Q7cjq84TF0vCkx xiSwf4WmgABWy9gKUl35cW1srFVIbJuYjv/ocsYbgnNJgEFCD+OPp4Vwf0X1CuTI3Wpv cRievH8PmGZpLDEiteMAMfswsp33AXyNl+P6Whv0J4ge4PwYBtN+DCYHo1bBh2Mggf7k YQKADRbXGvz1Xl1D2yWsWdtltVgVcrkG4ahLNi1MCMX9qyO4UxcgAPW9cPy5qrXKWBL1 7A1w== MIME-Version: 1.0 Received: by 10.68.191.234 with SMTP id hb10mr30545513pbc.2.1343752279220; Tue, 31 Jul 2012 09:31:19 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.66.136 with HTTP; Tue, 31 Jul 2012 09:31:19 -0700 (PDT) In-Reply-To: References: <201207300139326668335@gmail.com> <201207310032346632212@gmail.com> <201207311033260047670@gmail.com> Date: Tue, 31 Jul 2012 09:31:19 -0700 X-Google-Sender-Auth: rz9MOuQBEdqkzoBHsCMq5WH3rMA Message-ID: From: Adrian Chadd To: =?UTF-8?B?5LmU5qWa?= Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable Cc: freebsd-wireless Subject: Re: Re: iwn0/wlan0 scan WPA2-PSK/AES as WEP on freebsd9 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: Tue, 31 Jul 2012 16:31:19 -0000 .. meshconf? Are they setting some bit somewhere which is reserved for 802.11s, and not setting up said 802.11s? adrian On 31 July 2012 09:28, =C7=C7=B3=FE wrote: > 2012/7/31 Adrian Chadd : >> RIght. It's quite possible that there's something about that beacon >> frame format that's tripping up the beacon parsing code in net80211. >> >> can you please take a snapshot using monitor mode? >> >> tcpdump -ni wlan0 -y IEEE802_11_RADIO -s0 -l -v -w pcap.out >> >> Run that whilst you're trying to associate, let's see what happens. >> >> >> >> adrian >> >> >> >> On 30 July 2012 19:33, =C7=C7=B3=FE/HonestQiao wr= ote: >>> 2012-07-31 03:33, Adrian Chadd wrote: >>>>That SSID looks very odd. And look at the output of wpa_supplicant - >>>>it isn't finding any WPA enabled APs. >>>> >>>>And do an "ifconfig -v wlan0 list scan" at home, to get the entire >>>>SSID and decoded beacon contents from the scan cache. >>>> >>>> >>>> >>>>Adrian >>> >>> Ok, I 'll test it at home. Now, My local time is 10:32 AM. >>> >>> I also think the SSID is very odd. But other devices can get the right = SSID. >>> >>> HonestQiao > > tty0# ifconfig -v wlan0 list scan > SSID/MESH ID BSSID CHAN RATE S:N I= NT CAPS > 0x0b071500000000000000 8c:21:0a:43:ef:d4 11 54M -65:-95 > 100 EPS SSID RATES DSPARMS<11> > ERP<0x0> RSN > XRATES<48,72,96,108> HTCAP 0x400 txbf 0xde7e606 antenna 0x0> MESHCONF CONGESTION:UNKNOWN SYNC:UNKNOWN AUTH:UNKNOWN FORM:0x0 CAPS:0x0> > HTINFO MESHID<0x0b07150000000000000.> > WME 4 cwmax 10 txop 0] VO[aifsn 2 cwmin 3 cwmax 4 txop 94] VI[aifsn 2 > cwmin 2 cwmax 3 txop 47]> ATH<0x7fff> WPS uuid-e:00-01-02-03-04-05-06-07-08-09-0a-0b-0c-0d-0e-0f> > > tty0#wpa_supplicant -s -i wlan0 -c /etc/wpa_supplicant.conf -D bsd > > tty1#tcpdump -ni wlan0 -y IEEE802_11_RADIO -s0 -l -v -w pcap.out > > tty2#cat /etc/wpa_supplicant.conf > # /etc/wpa_supplicant.conf written by wifimgr(8) > > ctrl_interface=3D/var/run/wpa_supplicant > ctrl_interface_group=3Dwheel > > network=3D{ > ssid=3D"0x0b071500000000000000" > bssid=3D8c:21:0a:43:ef:d4 > key_mgmt=3DWPA-PSK > proto=3DRSN > psk=3D"12345678901" > }