From owner-freebsd-wireless@FreeBSD.ORG Tue Jul 31 20:00:04 2012 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 EDEB41065670 for ; Tue, 31 Jul 2012 20:00:03 +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 AEB158FC16 for ; Tue, 31 Jul 2012 20:00:03 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so12785847pbb.13 for ; Tue, 31 Jul 2012 13:00:03 -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=dW5W3gd7XOEK0XAi0jk6uJmmsPyUdqCNL6FhC5AQKAc=; b=mQqgSwbN+xY8E7II0YJGVq6CKmoinQPCreM0aZUPH5ae8ww9SlmMFbJZwJPabGFt9w FBTJoUN60/zju5Yru9cTIov+KsVSjAzHyzWooOhIDmbGRrF3BG9OX3bIoE55ResfqEAO FCy7g9tiM715FHxwCvH8QZ99bSYcZSKeij0hYtzOWbkRHp5ioXQa990B/arAdTxuynFJ 8jYFvtFvZ12gQHlZfEMwU0tVRsTwtRBJKae6QskQHikaCR9fxJmc7sfl7FmM6f2Pxcjh bcp4WoWkty05w73YW/6FEnO2HYXlTHGxK7qjEMXSgMeBwTOFMXhdjnXJ/rEUmHXoN5Ru FAvg== MIME-Version: 1.0 Received: by 10.68.223.164 with SMTP id qv4mr46369922pbc.20.1343764803421; Tue, 31 Jul 2012 13:00:03 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.66.136 with HTTP; Tue, 31 Jul 2012 13:00:03 -0700 (PDT) In-Reply-To: References: <201207300139326668335@gmail.com> <201207310032346632212@gmail.com> <201207311033260047670@gmail.com> Date: Tue, 31 Jul 2012 13:00:03 -0700 X-Google-Sender-Auth: -RsPugxkqOuTJkbEeLRg7u9mxP8 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 20:00:04 -0000 FWIW, you don't need to use -D bsd 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" > }