From owner-freebsd-wireless@FreeBSD.ORG Sun Jan 5 07:45:48 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 36F62B11; Sun, 5 Jan 2014 07:45:48 +0000 (UTC) Received: from mail-qc0-x22c.google.com (mail-qc0-x22c.google.com [IPv6:2607:f8b0:400d:c01::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C0ACE190B; Sun, 5 Jan 2014 07:45:47 +0000 (UTC) Received: by mail-qc0-f172.google.com with SMTP id e16so16477598qcx.3 for ; Sat, 04 Jan 2014 23:45:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=k7KVFlWV2PIwj41NzdokN9kN4Zu1zyjoH1qmQHiGWTQ=; b=Iu+zFFw4Kt0sBneXTrmBMaIDuHFepL1U0nQtO+++yldXqGmet7utquk5qVXwxTGw0+ XrqqovHgn/PLszOuF3GyYQDdevLxLOdofbnXfIJVAm2zXHGWJ42nk9tBArAhR8kMLi73 Hs8BVnp7W6eekpbiPywp8Gyhbd1p9UdvVh9VwCHiHdYvr4qEyngvNKYFmK9RUCH+BLzf MUBGX+925yigAUKgMtY1hey5CZ3NORM50LbLf6f8PH9NEvuZLhcz5iCxmrb9THd5LAoQ Oy7N2PHXJKrseIX5yzVN3sAid8fW2/V63FEp9YQRHpjDjASdzx+PJxd/883DeUJ41mxo xKvQ== MIME-Version: 1.0 X-Received: by 10.224.127.131 with SMTP id g3mr135806774qas.98.1388907946558; Sat, 04 Jan 2014 23:45:46 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.52.8 with HTTP; Sat, 4 Jan 2014 23:45:46 -0800 (PST) In-Reply-To: References: <51C8AE67.7040801@unsane.co.uk> Date: Sat, 4 Jan 2014 23:45:46 -0800 X-Google-Sender-Auth: WCjuv9AitMuBMLUXRJdieZfukBY Message-ID: Subject: Re: Thinkpad T60 with Atheros working only after restart from Windows From: Adrian Chadd To: Lyubomir Yotov Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-wireless@freebsd.org" , "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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, 05 Jan 2014 07:45:48 -0000 Have you tried -11? -a On 30 December 2013 09:25, Lyubomir Yotov wrote: > Hi Andrian, > > Merry Christmas and all the best for the New Year! > I would like to ask if there is something on the horizon with the Atheros > time outs? Is there any chance in getting it working without restart to > Windows (in my case)? Is there anything else I can try? Currently I am with > 9.2-RELEASE #0 r255898. > > All the best, > > Lyubomir > > > On 17 July 2013 23:06, Lyubomir Yotov wrote: > >> Hi, >> No problem, I fully understand you. If you manage to find something I >> will be more than grateful. Anyway thanks for your time! I think you are >> doing quite a god job! >> >> >> >> Regards, >> >> Lyubo >> >> >> >> On 16 July 2013 11:51, Adrian Chadd wrote: >> >>> Hi, >>> >>> I'm sorry, I don't have the time to try and debug this issue. If I had a >>> T60 here that demonstrated this behaviour then I could try to fix it. But I >>> unfortunately don't; all my T60 hardware has intel wifi. :( >>> >>> I can try putting an AR5418 in a T60 in a few weeks and see if it >>> exhibits this behaviour. But don't hold your breath. >>> >>> Sorry :( >>> >>> >>> >>> -adrian >>> >>> >>> On 15 July 2013 13:30, Lyubomir Yotov wrote: >>> >>>> Hi Adrian, >>>> I tried with -HEAD liveCD as proposed by Vincent and ghostbsd live cd >>>> but the situation is the same. I feel like I am missing something. On one >>>> hand I can scan the wireless networks and the wifi card seems to be >>>> working. On the other hand I cannot attach as the ath device times out >>>> (which according to the ath man pages should not occur). I also tried to >>>> encrypt the psk phrase with pwa_passphrase but with no success either. I >>>> tested with Kali linux live cd and the wireless was working fine. I also >>>> noticed that if I shutdown Windows and then start FreeBSD then the wifi >>>> also behaves the same way - ath0: device timed out. Only restart from >>>> Windows or restart from FreeBSD with working wifi can make the wifi work >>>> again. >>>> Do you have any other proposals? >>>> >>>> Regards, >>>> >>>> Lyubomir >>>> >>>> >>>> On 24 June 2013 23:39, Vincent Hoffman wrote: >>>> >>>>> As an easy test if you arent keen on making the leap just yet I'd >>>>> suggest getting a snapshot CD and just boot it as a liveCD to test. >>>>> either a snapshot >>>>> http://www.freebsd.org/snapshots/ >>>>> or one of the daily builds from >>>>> https://pub.allbsd.org/FreeBSD-snapshots/ >>>>> (for example >>>>> >>>>> https://pub.allbsd.org/FreeBSD-snapshots/amd64-amd64/10.0-HEAD-r252115-JPSNAP/iso/FreeBSD-10.0-HEAD-r252115-JPSNAP-amd64-amd64-release.iso >>>>> ) >>>>> >>>>> That said I run -CURRENT on my server at home (for the atheros driver) >>>>> and dont have any problems with it. >>>>> >>>>> Vince >>>>> >>>>> >>>>> On 24/06/2013 21:01, Lyubomir Yotov wrote: >>>>> > Hi Adrian, >>>>> > >>>>> > I will try to get -HEAD on my T60 and will report back. >>>>> > >>>>> > Regards, >>>>> > >>>>> > Lyubomir >>>>> > >>>>> > >>>>> > On 24 June 2013 20:21, Adrian Chadd wrote: >>>>> > >>>>> >> Hi, >>>>> >> >>>>> >> Would you be willing to try a -HEAD snapshot on your laptop? >>>>> >> >>>>> >> Maybe I've fixed it as part of the other driver work that I've done >>>>> as >>>>> >> part of development in -HEAD. >>>>> >> >>>>> >> But right now I really have no idea. I don't have a T60 here that >>>>> has >>>>> >> that chip in it. If all the T60 BIOSes allow AR5418 NICs then I can >>>>> >> try it out, but all of the T60's I've played with thus far have the >>>>> >> intel hardware in it. >>>>> >> >>>>> >> >>>>> >> >>>>> >> Adrian >>>>> >> >>>>> >> >>>>> >> On 21 June 2013 02:02, Lyubomir Yotov wrote: >>>>> >>> Hello Adrian, >>>>> >>> >>>>> >>> Do you have any feedback on the matter? >>>>> >>> >>>>> >>> Regards, >>>>> >>> >>>>> >>> Lyubomir >>>>> >>> >>>>> >>> >>>>> >>> On 13 June 2013 10:09, Lyubomir Yotov wrote: >>>>> >>>> Hello Adrian, >>>>> >>>> >>>>> >>>> I enabled acpi_ibm.ko but this didn't help and after "halt" the >>>>> wifi is >>>>> >>>> not working again. >>>>> >>>> >>>>> >>>> Regards, >>>>> >>>> >>>>> >>>> Lyubomir >>>>> >>>> >>>>> >>>> >>>>> >>>> On 13 June 2013 08:03, Lyubomir Yotov wrote: >>>>> >>>>> Hello Adrian, >>>>> >>>>> I did some tests and discovered that the problem is related to >>>>> >>>>> "halt"/"shutdown" of system. If "reboot" is carried out than >>>>> there is >>>>> >> no >>>>> >>>>> problem and the wifi works properly (even if done from Gnome - >>>>> Gnome >>>>> >> seems >>>>> >>>>> to have no relation to the problem). So what could lead to >>>>> "ath0: time >>>>> >> out" >>>>> >>>>> after shutting down or halting the system? I noticed that there >>>>> are irq >>>>> >>>>> storms on irq 17 which is the wifi irq (interrupt storm detected >>>>> on >>>>> >>>>> "irq17:"; throttling interrupt source). Something else that I am >>>>> not >>>>> >> sure to >>>>> >>>>> have relevance - after shutdown during the start-up ath0 is >>>>> reported >>>>> >> to use >>>>> >>>>> autoselect mode 11g: >>>>> >>>>> (below is from dmesg) >>>>> >>>>> >>>>> >>>>> ath0: flags=8843 metric >>>>> 0 mtu >>>>> >>>>> 2290 >>>>> >>>>> >>>>> >>>>> ether 00:19:7e:91:xx:xx >>>>> >>>>> nd6 options=29 >>>>> >>>>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g >>>>> >>>>> status: associated >>>>> >>>>> >>>>> >>>>> After the boot has finished the mode changes to 11a: >>>>> >>>>> >>>>> >>>>> #ifconfig ath0 >>>>> >>>>> >>>>> >>>>> ath0: flags=8843 metric >>>>> 0 mtu >>>>> >>>>> 2290 >>>>> >>>>> ether 00:19:7e:91:xx:xx >>>>> >>>>> nd6 options=29 >>>>> >>>>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11a >>>>> >>>>> status: associated >>>>> >>>>> >>>>> >>>>> Do you have any idea where to look for now? >>>>> >>>>> >>>>> >>>>> Regards, >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> Lyubomir >>>>> >>>>> P.S. I will try to play with acpi_ibm.ko and see if things >>>>> change if I >>>>> >>>>> make it auto-load. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> On 10 June 2013 16:06, Lyubomir Yotov wrote: >>>>> >>>>>> Hello Adrian, >>>>> >>>>>> >>>>> >>>>>> Attached are files with consecutive vmstat -i when the wlan is >>>>> working >>>>> >>>>>> (vmstat-i_working.txt) and when the wlan is not working >>>>> >>>>>> (vmstat-i_not_working.txt). There is also output from ifconfig >>>>> when >>>>> >> the wlan >>>>> >>>>>> is not working (ifconfig.txt). >>>>> >>>>>> After some more deeper investigation it seems to me that the >>>>> problem >>>>> >>>>>> appears after starting X with Gnome. I will continue >>>>> investigating >>>>> >> with >>>>> >>>>>> "reboot"/"halt -p" and inform you. >>>>> >>>>>> BTW do you think that starting Gnome session (using startx, as I >>>>> >> haven't >>>>> >>>>>> set auto start of X if this is of any importance) can cause >>>>> problems >>>>> >> - in >>>>> >>>>>> Gnome I have no settings for the network in the >>>>> "System->Network" >>>>> >>>>>> application and I start it with normal user? >>>>> >>>>>> >>>>> >>>>>> Regards, >>>>> >>>>>> >>>>> >>>>>> Lyubo >>>>> >>>>>> >>>>> >>>>>> >>>>> >>>>>> On 9 June 2013 18:28, Adrian Chadd wrote: >>>>> >>>>>>> Can you please paste the vmstat -i output? >>>>> >>>>>>> >>>>> >>>>>>> >>>>> >>>>>>> >>>>> >>>>>>> adrian >>>>> >>>>>>> >>>>> >>>>>>> On 9 June 2013 06:53, Lyubomir Yotov >>>>> wrote: >>>>> >>>>>>>> Hi, >>>>> >>>>>>>> >>>>> >>>>>>>> After restart from Windows and working wireless the number of >>>>> >>>>>>>> interrupts >>>>> >>>>>>>> increases and the rate increases. After next restart (the ath0 >>>>> >> times >>>>> >>>>>>>> out) >>>>> >>>>>>>> the interrupts increase but the rate is going down. >>>>> >>>>>>>> I noticed that after restart from Windows and working wifi if >>>>> I >>>>> >>>>>>>> restart >>>>> >>>>>>>> /etc/rc.d/netif the wifi is working again. If I shutdown >>>>> wlan0 and >>>>> >>>>>>>> bring it >>>>> >>>>>>>> up again then I wlan0 doesn't get address but ath0 is not >>>>> timing >>>>> >> out. >>>>> >>>>>>>> I can >>>>> >>>>>>>> still get a list with the available APs around. >>>>> >>>>>>>> >>>>> >>>>>>>> Regards, >>>>> >>>>>>>> >>>>> >>>>>>>> Lyubo >>>>> >>>>>>>> >>>>> >>>>>>>> >>>>> >>>>>>>> >>>>> >>>>>>>> >>>>> >>>>>>>> >>>>> >>>>>>>> >>>>> >>>>>>>> On 8 June 2013 18:28, Adrian Chadd >>>>> wrote: >>>>> >>>>>>>>> Hm! >>>>> >>>>>>>>> >>>>> >>>>>>>>> Ok, this should be working. I frequently test (read: every >>>>> other >>>>> >>>>>>>>> day) >>>>> >>>>>>>>> with the AR5416. But you're not the first person to report >>>>> this >>>>> >> bug. >>>>> >>>>>>>>> >>>>> >>>>>>>>> Unfortunately when this happens, the interrupts aren't >>>>> actually >>>>> >>>>>>>>> making >>>>> >>>>>>>>> it to the OS. >>>>> >>>>>>>>> >>>>> >>>>>>>>> Can you check the output of vmstat -i whilst you're doing >>>>> it? The >>>>> >>>>>>>>> ath0 >>>>> >>>>>>>>> counter should be increasing. >>>>> >>>>>>>>> >>>>> >>>>>>>>> >>>>> >>>>>>>>> >>>>> >>>>>>>>> adrian >>>>> >>>>>>>>> >>>>> >>>>>>>>> On 8 June 2013 06:49, Lyubomir Yotov >>>>> wrote: >>>>> >>>>>>>>>> Hello, >>>>> >>>>>>>>>> I have a Thinkpad T60 with dual boot between Windows XP and >>>>> >>>>>>>>>> FreeBSD >>>>> >>>>>>>>>> 9.1-Release: >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> uname -a >>>>> >>>>>>>>>> FreeBSD T60.workgroup 9.1-RELEASE FreeBSD 9.1-RELEASE #0 >>>>> >> r243826: >>>>> >>>>>>>>>> Tue >>>>> >>>>>>>>>> Dec >>>>> >>>>>>>>>> 4 06:55:39 UTC 2012 >>>>> >>>>>>>>>> root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC >>>>> >>>>>>>>>> i386 >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> I am trying to use my wifi card which is: >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> dmesg >>>>> >>>>>>>>>> .... >>>>> >>>>>>>>>> ath0: mem 0xedf00000-0xedf0ffff irq 17 at >>>>> device >>>>> >>>>>>>>>> 0.0 on >>>>> >>>>>>>>>> pci3 >>>>> >>>>>>>>>> ath0: AR5418 mac 12.10 RF5133 phy 8.1 >>>>> >>>>>>>>>> .... >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> pciconf -lv >>>>> >>>>>>>>>> .... >>>>> >>>>>>>>>> ath0@pci0:3:0:0: class=0x028000 card=0x0033168c >>>>> >>>>>>>>>> chip=0x0024168c >>>>> >>>>>>>>>> rev=0x01 hdr=0x00 >>>>> >>>>>>>>>> vendor = 'Atheros Communications Inc.' >>>>> >>>>>>>>>> device = 'AR5008 Wireless Network Adapter' >>>>> >>>>>>>>>> class = network >>>>> >>>>>>>>>> ..... >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> I followed several HOW-TOs in order to make it work. >>>>> >> Unfortunately >>>>> >>>>>>>>>> I it >>>>> >>>>>>>>>> is >>>>> >>>>>>>>>> working only after I reboot from my Windows installation >>>>> >>>>>>>>>> (regardless of >>>>> >>>>>>>>>> the >>>>> >>>>>>>>>> position of the wifi switch on the front panel of the >>>>> notebook). >>>>> >>>>>>>>>> After >>>>> >>>>>>>>>> restart from Windows everything is fine - the wifi >>>>> associates >>>>> >> with >>>>> >>>>>>>>>> the >>>>> >>>>>>>>>> AP >>>>> >>>>>>>>>> and I can use it. If I reboot the system during the boot and >>>>> >>>>>>>>>> afterwards >>>>> >>>>>>>>>> I >>>>> >>>>>>>>>> constantly get: >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> ath0: device timeout >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> When I get the device status through ifconfig I can see that >>>>> >> ath0 >>>>> >>>>>>>>>> is >>>>> >>>>>>>>>> associated but wlan0 is not associated. >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> ifconfig ath0 >>>>> >>>>>>>>>> ath0: flags=8843 >>>>> metric >>>>> >> 0 >>>>> >>>>>>>>>> mtu >>>>> >>>>>>>>>> 2290 >>>>> >>>>>>>>>> ether 00:19:7e:91:xx:xx >>>>> >>>>>>>>>> nd6 options=29 >>>>> >>>>>>>>>> media: IEEE 802.11 Wireless Ethernet autoselect >>>>> mode 11g >>>>> >>>>>>>>>> status: associated >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> ifconfig wlan0 >>>>> >>>>>>>>>> wlan0: flags=8843 >>>>> >> metric 0 >>>>> >>>>>>>>>> mtu >>>>> >>>>>>>>>> 1500 >>>>> >>>>>>>>>> ether 00:19:7e:91:xx:xx >>>>> >>>>>>>>>> nd6 options=29 >>>>> >>>>>>>>>> media: IEEE 802.11 Wireless Ethernet autoselect >>>>> >>>>>>>>>> (autoselect) >>>>> >>>>>>>>>> status: no carrier >>>>> >>>>>>>>>> ssid "" channel 5 (2432 MHz 11g) >>>>> >>>>>>>>>> regdomain 98 indoor ecm authmode WPA 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 >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> In /var/log/messages I get: >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> Jun 8 16:39:16 PC wpa_supplicant[3463]: Trying to associate >>>>> >> with >>>>> >>>>>>>>>> 54:e6:fc:ae:xx:xx (SSID='access1' freq=2432 MHz) >>>>> >>>>>>>>>> Jun 8 16:39:20 PC kernel: ath0: device timeout >>>>> >>>>>>>>>> Jun 8 16:39:26 PC wpa_supplicant[3463]: Authentication with >>>>> >>>>>>>>>> 54:e6:fc:ae:xx:xx timed out. >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> If I scan for wireless networks I get a list and my ap is >>>>> in the >>>>> >>>>>>>>>> list >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> ifconfig wlan0 scan >>>>> >>>>>>>>>> SSID/MESH ID BSSID CHAN RATE S:N INT >>>>> CAPS >>>>> >>>>>>>>>> net1 00:11:11:01:xx:xx 6 54M -68:-96 100 EP >>>>> >>>>>>>>>> 5edf9c 70:71:bc:26:xx:xx 11 54M -68:-96 100 EP >>>>> >> WPS >>>>> >>>>>>>>>> WPA >>>>> >>>>>>>>>> WME >>>>> >>>>>>>>>> access1 54:e6:fc:ae:xx:xx 5 54M -66:-96 100 EP >>>>> WPA >>>>> >>>>>>>>>> HTCAP >>>>> >>>>>>>>>> WME >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> In rc.local I have: >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> wlans_ath0="wlan0" >>>>> >>>>>>>>>> ifconfig_wlan0="WPA DHCP" >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> In wpa_supplicant I have: >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> ctrl_interface=/var/run/wpa_supplicant >>>>> >>>>>>>>>> eapol_version=2 >>>>> >>>>>>>>>> ap_scan=1 >>>>> >>>>>>>>>> fast_reauth=1 >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> network={ >>>>> >>>>>>>>>> ssid="access1" >>>>> >>>>>>>>>> psk="secret1" >>>>> >>>>>>>>>> priority=5 >>>>> >>>>>>>>>> } >>>>> >>>>>>>>>> network={ >>>>> >>>>>>>>>> ssid="access2" >>>>> >>>>>>>>>> psk="secret2" >>>>> >>>>>>>>>> priority=5 >>>>> >>>>>>>>>> } >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> I searched the net for solution to my problem but I couldn't >>>>> >> find >>>>> >>>>>>>>>> one. >>>>> >>>>>>>>>> Can >>>>> >>>>>>>>>> you help me with this? >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> Regards, >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> Lyubomir >>>>> >>>>>>>>>> _______________________________________________ >>>>> >>>>>>>>>> freebsd-mobile@freebsd.org mailing list >>>>> >>>>>>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile >>>>> >>>>>>>>>> To unsubscribe, send any mail to >>>>> >>>>>>>>>> "freebsd-mobile-unsubscribe@freebsd.org" >>>>> >>>>>>>> >>>>> >>>>>> >>>>> > _______________________________________________ >>>>> > freebsd-wireless@freebsd.org mailing list >>>>> > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>>>> > To unsubscribe, send any mail to " >>>>> freebsd-wireless-unsubscribe@freebsd.org" >>>>> > >>>>> >>>>> >>>> >>> >> > From owner-freebsd-wireless@FreeBSD.ORG Sun Jan 5 12:33:43 2014 Return-Path: Delivered-To: freebsd-wireless@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A0C4FE11; Sun, 5 Jan 2014 12:33:43 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7560D1B36; Sun, 5 Jan 2014 12:33:43 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s05CXh1F010172; Sun, 5 Jan 2014 12:33:43 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s05CXhvt010171; Sun, 5 Jan 2014 12:33:43 GMT (envelope-from linimon) Date: Sun, 5 Jan 2014 12:33:43 GMT Message-Id: <201401051233.s05CXhvt010171@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-wireless@FreeBSD.org From: linimon@FreeBSD.org Subject: Re: kern/185478: [iwi] panic in iwi0 driver X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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, 05 Jan 2014 12:33:43 -0000 Old Synopsis: panic in iwi0 driver New Synopsis: [iwi] panic in iwi0 driver Responsible-Changed-From-To: freebsd-bugs->freebsd-wireless Responsible-Changed-By: linimon Responsible-Changed-When: Sun Jan 5 12:33:26 UTC 2014 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=185478 From owner-freebsd-wireless@FreeBSD.ORG Sun Jan 5 16:53:44 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4E802F9F; Sun, 5 Jan 2014 16:53:44 +0000 (UTC) Received: from mail-qc0-x234.google.com (mail-qc0-x234.google.com [IPv6:2607:f8b0:400d:c01::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C653C11B4; Sun, 5 Jan 2014 16:53:43 +0000 (UTC) Received: by mail-qc0-f180.google.com with SMTP id w7so16228634qcr.25 for ; Sun, 05 Jan 2014 08:53:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=1bxqogzf3e48Exx4juAUvtYuNeYa2JNZirS1Bbwsl3Q=; b=hieXzGUbH65+A7SCCC8nu49rcd4Mxif78YRM2N/OJsNwcAxv/GtPHOWEFKfeLep916 b9dptqsRK2Rf0IoYOro3JjzMhthXo1Qojv2ZOP3npWxJ62QbaNSYaMuKyBxAVUyy6l1/ pygB74kJIobKuc/u3kRoPZRTM4wsBKrvfVV04ynp0QLr6371CCvuSICREVegjmKfD28M sJ4Z1TfHJIGZ+R82Is6i6nPTdN/hw/Y/biTM+iJbpaKMU6phMj1fpINk+tPh9D9ltDgo EGgyQ6Q6LirTDGzjkSJOMmeBL/9CT6TrqR9nqj/9jRQeoKkZp5mLV8cpfXchd+m0M6r/ y/jw== MIME-Version: 1.0 X-Received: by 10.229.126.9 with SMTP id a9mr169088208qcs.0.1388940822779; Sun, 05 Jan 2014 08:53:42 -0800 (PST) Received: by 10.224.36.196 with HTTP; Sun, 5 Jan 2014 08:53:42 -0800 (PST) In-Reply-To: References: <51C8AE67.7040801@unsane.co.uk> Date: Sun, 5 Jan 2014 18:53:42 +0200 Message-ID: Subject: Re: Thinkpad T60 with Atheros working only after restart from Windows From: Lyubomir Yotov To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-wireless@freebsd.org" , "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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, 05 Jan 2014 16:53:44 -0000 Not yet but I will give it a go these days. Thanks, Lyubomir On 5 January 2014 09:45, Adrian Chadd wrote: > Have you tried -11? > > > -a > > > On 30 December 2013 09:25, Lyubomir Yotov wrote: > >> Hi Andrian, >> >> Merry Christmas and all the best for the New Year! >> I would like to ask if there is something on the horizon with the Atheros >> time outs? Is there any chance in getting it working without restart to >> Windows (in my case)? Is there anything else I can try? Currently I am with >> 9.2-RELEASE #0 r255898. >> >> All the best, >> >> Lyubomir >> >> >> On 17 July 2013 23:06, Lyubomir Yotov wrote: >> >>> Hi, >>> No problem, I fully understand you. If you manage to find something I >>> will be more than grateful. Anyway thanks for your time! I think you are >>> doing quite a god job! >>> >>> >>> >>> Regards, >>> >>> Lyubo >>> >>> >>> >>> On 16 July 2013 11:51, Adrian Chadd wrote: >>> >>>> Hi, >>>> >>>> I'm sorry, I don't have the time to try and debug this issue. If I had >>>> a T60 here that demonstrated this behaviour then I could try to fix it. But >>>> I unfortunately don't; all my T60 hardware has intel wifi. :( >>>> >>>> I can try putting an AR5418 in a T60 in a few weeks and see if it >>>> exhibits this behaviour. But don't hold your breath. >>>> >>>> Sorry :( >>>> >>>> >>>> >>>> -adrian >>>> >>>> >>>> On 15 July 2013 13:30, Lyubomir Yotov wrote: >>>> >>>>> Hi Adrian, >>>>> I tried with -HEAD liveCD as proposed by Vincent and ghostbsd live cd >>>>> but the situation is the same. I feel like I am missing something. On one >>>>> hand I can scan the wireless networks and the wifi card seems to be >>>>> working. On the other hand I cannot attach as the ath device times out >>>>> (which according to the ath man pages should not occur). I also tried to >>>>> encrypt the psk phrase with pwa_passphrase but with no success either. I >>>>> tested with Kali linux live cd and the wireless was working fine. I also >>>>> noticed that if I shutdown Windows and then start FreeBSD then the wifi >>>>> also behaves the same way - ath0: device timed out. Only restart from >>>>> Windows or restart from FreeBSD with working wifi can make the wifi work >>>>> again. >>>>> Do you have any other proposals? >>>>> >>>>> Regards, >>>>> >>>>> Lyubomir >>>>> >>>>> >>>>> On 24 June 2013 23:39, Vincent Hoffman wrote: >>>>> >>>>>> As an easy test if you arent keen on making the leap just yet I'd >>>>>> suggest getting a snapshot CD and just boot it as a liveCD to test. >>>>>> either a snapshot >>>>>> http://www.freebsd.org/snapshots/ >>>>>> or one of the daily builds from >>>>>> https://pub.allbsd.org/FreeBSD-snapshots/ >>>>>> (for example >>>>>> >>>>>> https://pub.allbsd.org/FreeBSD-snapshots/amd64-amd64/10.0-HEAD-r252115-JPSNAP/iso/FreeBSD-10.0-HEAD-r252115-JPSNAP-amd64-amd64-release.iso >>>>>> ) >>>>>> >>>>>> That said I run -CURRENT on my server at home (for the atheros driver) >>>>>> and dont have any problems with it. >>>>>> >>>>>> Vince >>>>>> >>>>>> >>>>>> On 24/06/2013 21:01, Lyubomir Yotov wrote: >>>>>> > Hi Adrian, >>>>>> > >>>>>> > I will try to get -HEAD on my T60 and will report back. >>>>>> > >>>>>> > Regards, >>>>>> > >>>>>> > Lyubomir >>>>>> > >>>>>> > >>>>>> > On 24 June 2013 20:21, Adrian Chadd wrote: >>>>>> > >>>>>> >> Hi, >>>>>> >> >>>>>> >> Would you be willing to try a -HEAD snapshot on your laptop? >>>>>> >> >>>>>> >> Maybe I've fixed it as part of the other driver work that I've >>>>>> done as >>>>>> >> part of development in -HEAD. >>>>>> >> >>>>>> >> But right now I really have no idea. I don't have a T60 here that >>>>>> has >>>>>> >> that chip in it. If all the T60 BIOSes allow AR5418 NICs then I can >>>>>> >> try it out, but all of the T60's I've played with thus far have the >>>>>> >> intel hardware in it. >>>>>> >> >>>>>> >> >>>>>> >> >>>>>> >> Adrian >>>>>> >> >>>>>> >> >>>>>> >> On 21 June 2013 02:02, Lyubomir Yotov wrote: >>>>>> >>> Hello Adrian, >>>>>> >>> >>>>>> >>> Do you have any feedback on the matter? >>>>>> >>> >>>>>> >>> Regards, >>>>>> >>> >>>>>> >>> Lyubomir >>>>>> >>> >>>>>> >>> >>>>>> >>> On 13 June 2013 10:09, Lyubomir Yotov wrote: >>>>>> >>>> Hello Adrian, >>>>>> >>>> >>>>>> >>>> I enabled acpi_ibm.ko but this didn't help and after "halt" the >>>>>> wifi is >>>>>> >>>> not working again. >>>>>> >>>> >>>>>> >>>> Regards, >>>>>> >>>> >>>>>> >>>> Lyubomir >>>>>> >>>> >>>>>> >>>> >>>>>> >>>> On 13 June 2013 08:03, Lyubomir Yotov wrote: >>>>>> >>>>> Hello Adrian, >>>>>> >>>>> I did some tests and discovered that the problem is related to >>>>>> >>>>> "halt"/"shutdown" of system. If "reboot" is carried out than >>>>>> there is >>>>>> >> no >>>>>> >>>>> problem and the wifi works properly (even if done from Gnome - >>>>>> Gnome >>>>>> >> seems >>>>>> >>>>> to have no relation to the problem). So what could lead to >>>>>> "ath0: time >>>>>> >> out" >>>>>> >>>>> after shutting down or halting the system? I noticed that there >>>>>> are irq >>>>>> >>>>> storms on irq 17 which is the wifi irq (interrupt storm >>>>>> detected on >>>>>> >>>>> "irq17:"; throttling interrupt source). Something else that I >>>>>> am not >>>>>> >> sure to >>>>>> >>>>> have relevance - after shutdown during the start-up ath0 is >>>>>> reported >>>>>> >> to use >>>>>> >>>>> autoselect mode 11g: >>>>>> >>>>> (below is from dmesg) >>>>>> >>>>> >>>>>> >>>>> ath0: flags=8843 metric >>>>>> 0 mtu >>>>>> >>>>> 2290 >>>>>> >>>>> >>>>>> >>>>> ether 00:19:7e:91:xx:xx >>>>>> >>>>> nd6 options=29 >>>>>> >>>>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g >>>>>> >>>>> status: associated >>>>>> >>>>> >>>>>> >>>>> After the boot has finished the mode changes to 11a: >>>>>> >>>>> >>>>>> >>>>> #ifconfig ath0 >>>>>> >>>>> >>>>>> >>>>> ath0: flags=8843 metric >>>>>> 0 mtu >>>>>> >>>>> 2290 >>>>>> >>>>> ether 00:19:7e:91:xx:xx >>>>>> >>>>> nd6 options=29 >>>>>> >>>>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11a >>>>>> >>>>> status: associated >>>>>> >>>>> >>>>>> >>>>> Do you have any idea where to look for now? >>>>>> >>>>> >>>>>> >>>>> Regards, >>>>>> >>>>> >>>>>> >>>>> >>>>>> >>>>> Lyubomir >>>>>> >>>>> P.S. I will try to play with acpi_ibm.ko and see if things >>>>>> change if I >>>>>> >>>>> make it auto-load. >>>>>> >>>>> >>>>>> >>>>> >>>>>> >>>>> On 10 June 2013 16:06, Lyubomir Yotov >>>>>> wrote: >>>>>> >>>>>> Hello Adrian, >>>>>> >>>>>> >>>>>> >>>>>> Attached are files with consecutive vmstat -i when the wlan is >>>>>> working >>>>>> >>>>>> (vmstat-i_working.txt) and when the wlan is not working >>>>>> >>>>>> (vmstat-i_not_working.txt). There is also output from ifconfig >>>>>> when >>>>>> >> the wlan >>>>>> >>>>>> is not working (ifconfig.txt). >>>>>> >>>>>> After some more deeper investigation it seems to me that the >>>>>> problem >>>>>> >>>>>> appears after starting X with Gnome. I will continue >>>>>> investigating >>>>>> >> with >>>>>> >>>>>> "reboot"/"halt -p" and inform you. >>>>>> >>>>>> BTW do you think that starting Gnome session (using startx, as >>>>>> I >>>>>> >> haven't >>>>>> >>>>>> set auto start of X if this is of any importance) can cause >>>>>> problems >>>>>> >> - in >>>>>> >>>>>> Gnome I have no settings for the network in the >>>>>> "System->Network" >>>>>> >>>>>> application and I start it with normal user? >>>>>> >>>>>> >>>>>> >>>>>> Regards, >>>>>> >>>>>> >>>>>> >>>>>> Lyubo >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On 9 June 2013 18:28, Adrian Chadd wrote: >>>>>> >>>>>>> Can you please paste the vmstat -i output? >>>>>> >>>>>>> >>>>>> >>>>>>> >>>>>> >>>>>>> >>>>>> >>>>>>> adrian >>>>>> >>>>>>> >>>>>> >>>>>>> On 9 June 2013 06:53, Lyubomir Yotov >>>>>> wrote: >>>>>> >>>>>>>> Hi, >>>>>> >>>>>>>> >>>>>> >>>>>>>> After restart from Windows and working wireless the number of >>>>>> >>>>>>>> interrupts >>>>>> >>>>>>>> increases and the rate increases. After next restart (the >>>>>> ath0 >>>>>> >> times >>>>>> >>>>>>>> out) >>>>>> >>>>>>>> the interrupts increase but the rate is going down. >>>>>> >>>>>>>> I noticed that after restart from Windows and working wifi >>>>>> if I >>>>>> >>>>>>>> restart >>>>>> >>>>>>>> /etc/rc.d/netif the wifi is working again. If I shutdown >>>>>> wlan0 and >>>>>> >>>>>>>> bring it >>>>>> >>>>>>>> up again then I wlan0 doesn't get address but ath0 is not >>>>>> timing >>>>>> >> out. >>>>>> >>>>>>>> I can >>>>>> >>>>>>>> still get a list with the available APs around. >>>>>> >>>>>>>> >>>>>> >>>>>>>> Regards, >>>>>> >>>>>>>> >>>>>> >>>>>>>> Lyubo >>>>>> >>>>>>>> >>>>>> >>>>>>>> >>>>>> >>>>>>>> >>>>>> >>>>>>>> >>>>>> >>>>>>>> >>>>>> >>>>>>>> >>>>>> >>>>>>>> On 8 June 2013 18:28, Adrian Chadd >>>>>> wrote: >>>>>> >>>>>>>>> Hm! >>>>>> >>>>>>>>> >>>>>> >>>>>>>>> Ok, this should be working. I frequently test (read: every >>>>>> other >>>>>> >>>>>>>>> day) >>>>>> >>>>>>>>> with the AR5416. But you're not the first person to report >>>>>> this >>>>>> >> bug. >>>>>> >>>>>>>>> >>>>>> >>>>>>>>> Unfortunately when this happens, the interrupts aren't >>>>>> actually >>>>>> >>>>>>>>> making >>>>>> >>>>>>>>> it to the OS. >>>>>> >>>>>>>>> >>>>>> >>>>>>>>> Can you check the output of vmstat -i whilst you're doing >>>>>> it? The >>>>>> >>>>>>>>> ath0 >>>>>> >>>>>>>>> counter should be increasing. >>>>>> >>>>>>>>> >>>>>> >>>>>>>>> >>>>>> >>>>>>>>> >>>>>> >>>>>>>>> adrian >>>>>> >>>>>>>>> >>>>>> >>>>>>>>> On 8 June 2013 06:49, Lyubomir Yotov >>>>>> wrote: >>>>>> >>>>>>>>>> Hello, >>>>>> >>>>>>>>>> I have a Thinkpad T60 with dual boot between Windows XP and >>>>>> >>>>>>>>>> FreeBSD >>>>>> >>>>>>>>>> 9.1-Release: >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> uname -a >>>>>> >>>>>>>>>> FreeBSD T60.workgroup 9.1-RELEASE FreeBSD 9.1-RELEASE #0 >>>>>> >> r243826: >>>>>> >>>>>>>>>> Tue >>>>>> >>>>>>>>>> Dec >>>>>> >>>>>>>>>> 4 06:55:39 UTC 2012 >>>>>> >>>>>>>>>> root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC >>>>>> >>>>>>>>>> i386 >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> I am trying to use my wifi card which is: >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> dmesg >>>>>> >>>>>>>>>> .... >>>>>> >>>>>>>>>> ath0: mem 0xedf00000-0xedf0ffff irq 17 at >>>>>> device >>>>>> >>>>>>>>>> 0.0 on >>>>>> >>>>>>>>>> pci3 >>>>>> >>>>>>>>>> ath0: AR5418 mac 12.10 RF5133 phy 8.1 >>>>>> >>>>>>>>>> .... >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> pciconf -lv >>>>>> >>>>>>>>>> .... >>>>>> >>>>>>>>>> ath0@pci0:3:0:0: class=0x028000 card=0x0033168c >>>>>> >>>>>>>>>> chip=0x0024168c >>>>>> >>>>>>>>>> rev=0x01 hdr=0x00 >>>>>> >>>>>>>>>> vendor = 'Atheros Communications Inc.' >>>>>> >>>>>>>>>> device = 'AR5008 Wireless Network Adapter' >>>>>> >>>>>>>>>> class = network >>>>>> >>>>>>>>>> ..... >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> I followed several HOW-TOs in order to make it work. >>>>>> >> Unfortunately >>>>>> >>>>>>>>>> I it >>>>>> >>>>>>>>>> is >>>>>> >>>>>>>>>> working only after I reboot from my Windows installation >>>>>> >>>>>>>>>> (regardless of >>>>>> >>>>>>>>>> the >>>>>> >>>>>>>>>> position of the wifi switch on the front panel of the >>>>>> notebook). >>>>>> >>>>>>>>>> After >>>>>> >>>>>>>>>> restart from Windows everything is fine - the wifi >>>>>> associates >>>>>> >> with >>>>>> >>>>>>>>>> the >>>>>> >>>>>>>>>> AP >>>>>> >>>>>>>>>> and I can use it. If I reboot the system during the boot >>>>>> and >>>>>> >>>>>>>>>> afterwards >>>>>> >>>>>>>>>> I >>>>>> >>>>>>>>>> constantly get: >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> ath0: device timeout >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> When I get the device status through ifconfig I can see >>>>>> that >>>>>> >> ath0 >>>>>> >>>>>>>>>> is >>>>>> >>>>>>>>>> associated but wlan0 is not associated. >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> ifconfig ath0 >>>>>> >>>>>>>>>> ath0: flags=8843 >>>>>> metric >>>>>> >> 0 >>>>>> >>>>>>>>>> mtu >>>>>> >>>>>>>>>> 2290 >>>>>> >>>>>>>>>> ether 00:19:7e:91:xx:xx >>>>>> >>>>>>>>>> nd6 >>>>>> options=29 >>>>>> >>>>>>>>>> media: IEEE 802.11 Wireless Ethernet autoselect >>>>>> mode 11g >>>>>> >>>>>>>>>> status: associated >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> ifconfig wlan0 >>>>>> >>>>>>>>>> wlan0: flags=8843 >>>>>> >> metric 0 >>>>>> >>>>>>>>>> mtu >>>>>> >>>>>>>>>> 1500 >>>>>> >>>>>>>>>> ether 00:19:7e:91:xx:xx >>>>>> >>>>>>>>>> nd6 >>>>>> options=29 >>>>>> >>>>>>>>>> media: IEEE 802.11 Wireless Ethernet autoselect >>>>>> >>>>>>>>>> (autoselect) >>>>>> >>>>>>>>>> status: no carrier >>>>>> >>>>>>>>>> ssid "" channel 5 (2432 MHz 11g) >>>>>> >>>>>>>>>> regdomain 98 indoor ecm authmode WPA 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 >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> In /var/log/messages I get: >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> Jun 8 16:39:16 PC wpa_supplicant[3463]: Trying to >>>>>> associate >>>>>> >> with >>>>>> >>>>>>>>>> 54:e6:fc:ae:xx:xx (SSID='access1' freq=2432 MHz) >>>>>> >>>>>>>>>> Jun 8 16:39:20 PC kernel: ath0: device timeout >>>>>> >>>>>>>>>> Jun 8 16:39:26 PC wpa_supplicant[3463]: Authentication >>>>>> with >>>>>> >>>>>>>>>> 54:e6:fc:ae:xx:xx timed out. >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> If I scan for wireless networks I get a list and my ap is >>>>>> in the >>>>>> >>>>>>>>>> list >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> ifconfig wlan0 scan >>>>>> >>>>>>>>>> SSID/MESH ID BSSID CHAN RATE S:N INT >>>>>> CAPS >>>>>> >>>>>>>>>> net1 00:11:11:01:xx:xx 6 54M -68:-96 100 EP >>>>>> >>>>>>>>>> 5edf9c 70:71:bc:26:xx:xx 11 54M -68:-96 100 >>>>>> EP >>>>>> >> WPS >>>>>> >>>>>>>>>> WPA >>>>>> >>>>>>>>>> WME >>>>>> >>>>>>>>>> access1 54:e6:fc:ae:xx:xx 5 54M -66:-96 100 EP >>>>>> WPA >>>>>> >>>>>>>>>> HTCAP >>>>>> >>>>>>>>>> WME >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> In rc.local I have: >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> wlans_ath0="wlan0" >>>>>> >>>>>>>>>> ifconfig_wlan0="WPA DHCP" >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> In wpa_supplicant I have: >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> ctrl_interface=/var/run/wpa_supplicant >>>>>> >>>>>>>>>> eapol_version=2 >>>>>> >>>>>>>>>> ap_scan=1 >>>>>> >>>>>>>>>> fast_reauth=1 >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> network={ >>>>>> >>>>>>>>>> ssid="access1" >>>>>> >>>>>>>>>> psk="secret1" >>>>>> >>>>>>>>>> priority=5 >>>>>> >>>>>>>>>> } >>>>>> >>>>>>>>>> network={ >>>>>> >>>>>>>>>> ssid="access2" >>>>>> >>>>>>>>>> psk="secret2" >>>>>> >>>>>>>>>> priority=5 >>>>>> >>>>>>>>>> } >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> I searched the net for solution to my problem but I >>>>>> couldn't >>>>>> >> find >>>>>> >>>>>>>>>> one. >>>>>> >>>>>>>>>> Can >>>>>> >>>>>>>>>> you help me with this? >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> Regards, >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> Lyubomir >>>>>> >>>>>>>>>> _______________________________________________ >>>>>> >>>>>>>>>> freebsd-mobile@freebsd.org mailing list >>>>>> >>>>>>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile >>>>>> >>>>>>>>>> To unsubscribe, send any mail to >>>>>> >>>>>>>>>> "freebsd-mobile-unsubscribe@freebsd.org" >>>>>> >>>>>>>> >>>>>> >>>>>> >>>>>> > _______________________________________________ >>>>>> > freebsd-wireless@freebsd.org mailing list >>>>>> > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>>>>> > To unsubscribe, send any mail to " >>>>>> freebsd-wireless-unsubscribe@freebsd.org" >>>>>> > >>>>>> >>>>>> >>>>> >>>> >>> >> > From owner-freebsd-wireless@FreeBSD.ORG Sun Jan 5 21:57:24 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0DA75F2; Sun, 5 Jan 2014 21:57:24 +0000 (UTC) Received: from mail-qc0-x22b.google.com (mail-qc0-x22b.google.com [IPv6:2607:f8b0:400d:c01::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 96B5C1799; Sun, 5 Jan 2014 21:57:23 +0000 (UTC) Received: by mail-qc0-f171.google.com with SMTP id c9so16556054qcz.16 for ; Sun, 05 Jan 2014 13:57:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=FXPsXeA1mYKhivenCboIwxcw63EwZiurA0Ap+L2N+R8=; b=N0w1L9tw1e0biouTGoG37mYNGowHbw64kEIzO2/3cdBdkCd0MM6vmFAcuD4Vs5zdO7 X2UDDd4dkKGu1gWvfonZ5L74goA/3asBYDhV25ZC1VNwa/GeSK02hyImu2O3QYvfdZNj sfbBCCse6k9W9RI3ftuhrLoraj9SX6Mu7EKmwp95dKWcauWw1HVajEi5s5OJWLbDGtBr JjnADyGaXHr4EzdmLcAaWIJxAdkRzYCpTBfg7PfaoNrG0ADy6RfznBpABk/PEQlowxFt tCf/CwkDCsXMe4e+O1td1WrJI0PcC7zmZrJs1ryu6rJ1/n1I9JAMAB23JCg0xLnrmvPF 9RkA== MIME-Version: 1.0 X-Received: by 10.224.124.195 with SMTP id v3mr174225132qar.55.1388959042597; Sun, 05 Jan 2014 13:57:22 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.52.8 with HTTP; Sun, 5 Jan 2014 13:57:22 -0800 (PST) In-Reply-To: References: <51C8AE67.7040801@unsane.co.uk> Date: Sun, 5 Jan 2014 13:57:22 -0800 X-Google-Sender-Auth: JxnuGKfbEASruZ1P06_9iy7_zXE Message-ID: Subject: Re: Thinkpad T60 with Atheros working only after restart from Windows From: Adrian Chadd To: Lyubomir Yotov Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-wireless@freebsd.org" , "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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, 05 Jan 2014 21:57:24 -0000 Ok, please do. I have a T60 with me and some AR5418 NICs, so I don't mind doing a transplant and trying to make it work! -a On 5 January 2014 08:53, Lyubomir Yotov wrote: > Not yet but I will give it a go these days. > > Thanks, > > Lyubomir > > > On 5 January 2014 09:45, Adrian Chadd wrote: > >> Have you tried -11? >> >> >> -a >> >> >> On 30 December 2013 09:25, Lyubomir Yotov wrote: >> >>> Hi Andrian, >>> >>> Merry Christmas and all the best for the New Year! >>> I would like to ask if there is something on the horizon with the >>> Atheros time outs? Is there any chance in getting it working without >>> restart to Windows (in my case)? Is there anything else I can try? >>> Currently I am with 9.2-RELEASE #0 r255898. >>> >>> All the best, >>> >>> Lyubomir >>> >>> >>> On 17 July 2013 23:06, Lyubomir Yotov wrote: >>> >>>> Hi, >>>> No problem, I fully understand you. If you manage to find something I >>>> will be more than grateful. Anyway thanks for your time! I think you are >>>> doing quite a god job! >>>> >>>> >>>> >>>> Regards, >>>> >>>> Lyubo >>>> >>>> >>>> >>>> On 16 July 2013 11:51, Adrian Chadd wrote: >>>> >>>>> Hi, >>>>> >>>>> I'm sorry, I don't have the time to try and debug this issue. If I had >>>>> a T60 here that demonstrated this behaviour then I could try to fix it. But >>>>> I unfortunately don't; all my T60 hardware has intel wifi. :( >>>>> >>>>> I can try putting an AR5418 in a T60 in a few weeks and see if it >>>>> exhibits this behaviour. But don't hold your breath. >>>>> >>>>> Sorry :( >>>>> >>>>> >>>>> >>>>> -adrian >>>>> >>>>> >>>>> On 15 July 2013 13:30, Lyubomir Yotov wrote: >>>>> >>>>>> Hi Adrian, >>>>>> I tried with -HEAD liveCD as proposed by Vincent and ghostbsd live cd >>>>>> but the situation is the same. I feel like I am missing something. On one >>>>>> hand I can scan the wireless networks and the wifi card seems to be >>>>>> working. On the other hand I cannot attach as the ath device times out >>>>>> (which according to the ath man pages should not occur). I also tried to >>>>>> encrypt the psk phrase with pwa_passphrase but with no success either. I >>>>>> tested with Kali linux live cd and the wireless was working fine. I also >>>>>> noticed that if I shutdown Windows and then start FreeBSD then the wifi >>>>>> also behaves the same way - ath0: device timed out. Only restart from >>>>>> Windows or restart from FreeBSD with working wifi can make the wifi work >>>>>> again. >>>>>> Do you have any other proposals? >>>>>> >>>>>> Regards, >>>>>> >>>>>> Lyubomir >>>>>> >>>>>> >>>>>> On 24 June 2013 23:39, Vincent Hoffman wrote: >>>>>> >>>>>>> As an easy test if you arent keen on making the leap just yet I'd >>>>>>> suggest getting a snapshot CD and just boot it as a liveCD to test. >>>>>>> either a snapshot >>>>>>> http://www.freebsd.org/snapshots/ >>>>>>> or one of the daily builds from >>>>>>> https://pub.allbsd.org/FreeBSD-snapshots/ >>>>>>> (for example >>>>>>> >>>>>>> https://pub.allbsd.org/FreeBSD-snapshots/amd64-amd64/10.0-HEAD-r252115-JPSNAP/iso/FreeBSD-10.0-HEAD-r252115-JPSNAP-amd64-amd64-release.iso >>>>>>> ) >>>>>>> >>>>>>> That said I run -CURRENT on my server at home (for the atheros >>>>>>> driver) >>>>>>> and dont have any problems with it. >>>>>>> >>>>>>> Vince >>>>>>> >>>>>>> >>>>>>> On 24/06/2013 21:01, Lyubomir Yotov wrote: >>>>>>> > Hi Adrian, >>>>>>> > >>>>>>> > I will try to get -HEAD on my T60 and will report back. >>>>>>> > >>>>>>> > Regards, >>>>>>> > >>>>>>> > Lyubomir >>>>>>> > >>>>>>> > >>>>>>> > On 24 June 2013 20:21, Adrian Chadd wrote: >>>>>>> > >>>>>>> >> Hi, >>>>>>> >> >>>>>>> >> Would you be willing to try a -HEAD snapshot on your laptop? >>>>>>> >> >>>>>>> >> Maybe I've fixed it as part of the other driver work that I've >>>>>>> done as >>>>>>> >> part of development in -HEAD. >>>>>>> >> >>>>>>> >> But right now I really have no idea. I don't have a T60 here that >>>>>>> has >>>>>>> >> that chip in it. If all the T60 BIOSes allow AR5418 NICs then I >>>>>>> can >>>>>>> >> try it out, but all of the T60's I've played with thus far have >>>>>>> the >>>>>>> >> intel hardware in it. >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> >> Adrian >>>>>>> >> >>>>>>> >> >>>>>>> >> On 21 June 2013 02:02, Lyubomir Yotov wrote: >>>>>>> >>> Hello Adrian, >>>>>>> >>> >>>>>>> >>> Do you have any feedback on the matter? >>>>>>> >>> >>>>>>> >>> Regards, >>>>>>> >>> >>>>>>> >>> Lyubomir >>>>>>> >>> >>>>>>> >>> >>>>>>> >>> On 13 June 2013 10:09, Lyubomir Yotov wrote: >>>>>>> >>>> Hello Adrian, >>>>>>> >>>> >>>>>>> >>>> I enabled acpi_ibm.ko but this didn't help and after "halt" the >>>>>>> wifi is >>>>>>> >>>> not working again. >>>>>>> >>>> >>>>>>> >>>> Regards, >>>>>>> >>>> >>>>>>> >>>> Lyubomir >>>>>>> >>>> >>>>>>> >>>> >>>>>>> >>>> On 13 June 2013 08:03, Lyubomir Yotov >>>>>>> wrote: >>>>>>> >>>>> Hello Adrian, >>>>>>> >>>>> I did some tests and discovered that the problem is related to >>>>>>> >>>>> "halt"/"shutdown" of system. If "reboot" is carried out than >>>>>>> there is >>>>>>> >> no >>>>>>> >>>>> problem and the wifi works properly (even if done from Gnome - >>>>>>> Gnome >>>>>>> >> seems >>>>>>> >>>>> to have no relation to the problem). So what could lead to >>>>>>> "ath0: time >>>>>>> >> out" >>>>>>> >>>>> after shutting down or halting the system? I noticed that >>>>>>> there are irq >>>>>>> >>>>> storms on irq 17 which is the wifi irq (interrupt storm >>>>>>> detected on >>>>>>> >>>>> "irq17:"; throttling interrupt source). Something else that I >>>>>>> am not >>>>>>> >> sure to >>>>>>> >>>>> have relevance - after shutdown during the start-up ath0 is >>>>>>> reported >>>>>>> >> to use >>>>>>> >>>>> autoselect mode 11g: >>>>>>> >>>>> (below is from dmesg) >>>>>>> >>>>> >>>>>>> >>>>> ath0: flags=8843 >>>>>>> metric 0 mtu >>>>>>> >>>>> 2290 >>>>>>> >>>>> >>>>>>> >>>>> ether 00:19:7e:91:xx:xx >>>>>>> >>>>> nd6 options=29 >>>>>>> >>>>> media: IEEE 802.11 Wireless Ethernet autoselect mode >>>>>>> 11g >>>>>>> >>>>> status: associated >>>>>>> >>>>> >>>>>>> >>>>> After the boot has finished the mode changes to 11a: >>>>>>> >>>>> >>>>>>> >>>>> #ifconfig ath0 >>>>>>> >>>>> >>>>>>> >>>>> ath0: flags=8843 >>>>>>> metric 0 mtu >>>>>>> >>>>> 2290 >>>>>>> >>>>> ether 00:19:7e:91:xx:xx >>>>>>> >>>>> nd6 options=29 >>>>>>> >>>>> media: IEEE 802.11 Wireless Ethernet autoselect mode >>>>>>> 11a >>>>>>> >>>>> status: associated >>>>>>> >>>>> >>>>>>> >>>>> Do you have any idea where to look for now? >>>>>>> >>>>> >>>>>>> >>>>> Regards, >>>>>>> >>>>> >>>>>>> >>>>> >>>>>>> >>>>> Lyubomir >>>>>>> >>>>> P.S. I will try to play with acpi_ibm.ko and see if things >>>>>>> change if I >>>>>>> >>>>> make it auto-load. >>>>>>> >>>>> >>>>>>> >>>>> >>>>>>> >>>>> On 10 June 2013 16:06, Lyubomir Yotov >>>>>>> wrote: >>>>>>> >>>>>> Hello Adrian, >>>>>>> >>>>>> >>>>>>> >>>>>> Attached are files with consecutive vmstat -i when the wlan >>>>>>> is working >>>>>>> >>>>>> (vmstat-i_working.txt) and when the wlan is not working >>>>>>> >>>>>> (vmstat-i_not_working.txt). There is also output from >>>>>>> ifconfig when >>>>>>> >> the wlan >>>>>>> >>>>>> is not working (ifconfig.txt). >>>>>>> >>>>>> After some more deeper investigation it seems to me that the >>>>>>> problem >>>>>>> >>>>>> appears after starting X with Gnome. I will continue >>>>>>> investigating >>>>>>> >> with >>>>>>> >>>>>> "reboot"/"halt -p" and inform you. >>>>>>> >>>>>> BTW do you think that starting Gnome session (using startx, >>>>>>> as I >>>>>>> >> haven't >>>>>>> >>>>>> set auto start of X if this is of any importance) can cause >>>>>>> problems >>>>>>> >> - in >>>>>>> >>>>>> Gnome I have no settings for the network in the >>>>>>> "System->Network" >>>>>>> >>>>>> application and I start it with normal user? >>>>>>> >>>>>> >>>>>>> >>>>>> Regards, >>>>>>> >>>>>> >>>>>>> >>>>>> Lyubo >>>>>>> >>>>>> >>>>>>> >>>>>> >>>>>>> >>>>>> On 9 June 2013 18:28, Adrian Chadd >>>>>>> wrote: >>>>>>> >>>>>>> Can you please paste the vmstat -i output? >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> adrian >>>>>>> >>>>>>> >>>>>>> >>>>>>> On 9 June 2013 06:53, Lyubomir Yotov >>>>>>> wrote: >>>>>>> >>>>>>>> Hi, >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> After restart from Windows and working wireless the number >>>>>>> of >>>>>>> >>>>>>>> interrupts >>>>>>> >>>>>>>> increases and the rate increases. After next restart (the >>>>>>> ath0 >>>>>>> >> times >>>>>>> >>>>>>>> out) >>>>>>> >>>>>>>> the interrupts increase but the rate is going down. >>>>>>> >>>>>>>> I noticed that after restart from Windows and working wifi >>>>>>> if I >>>>>>> >>>>>>>> restart >>>>>>> >>>>>>>> /etc/rc.d/netif the wifi is working again. If I shutdown >>>>>>> wlan0 and >>>>>>> >>>>>>>> bring it >>>>>>> >>>>>>>> up again then I wlan0 doesn't get address but ath0 is not >>>>>>> timing >>>>>>> >> out. >>>>>>> >>>>>>>> I can >>>>>>> >>>>>>>> still get a list with the available APs around. >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> Regards, >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> Lyubo >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> On 8 June 2013 18:28, Adrian Chadd >>>>>>> wrote: >>>>>>> >>>>>>>>> Hm! >>>>>>> >>>>>>>>> >>>>>>> >>>>>>>>> Ok, this should be working. I frequently test (read: every >>>>>>> other >>>>>>> >>>>>>>>> day) >>>>>>> >>>>>>>>> with the AR5416. But you're not the first person to report >>>>>>> this >>>>>>> >> bug. >>>>>>> >>>>>>>>> >>>>>>> >>>>>>>>> Unfortunately when this happens, the interrupts aren't >>>>>>> actually >>>>>>> >>>>>>>>> making >>>>>>> >>>>>>>>> it to the OS. >>>>>>> >>>>>>>>> >>>>>>> >>>>>>>>> Can you check the output of vmstat -i whilst you're doing >>>>>>> it? The >>>>>>> >>>>>>>>> ath0 >>>>>>> >>>>>>>>> counter should be increasing. >>>>>>> >>>>>>>>> >>>>>>> >>>>>>>>> >>>>>>> >>>>>>>>> >>>>>>> >>>>>>>>> adrian >>>>>>> >>>>>>>>> >>>>>>> >>>>>>>>> On 8 June 2013 06:49, Lyubomir Yotov >>>>>>> wrote: >>>>>>> >>>>>>>>>> Hello, >>>>>>> >>>>>>>>>> I have a Thinkpad T60 with dual boot between Windows XP >>>>>>> and >>>>>>> >>>>>>>>>> FreeBSD >>>>>>> >>>>>>>>>> 9.1-Release: >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> uname -a >>>>>>> >>>>>>>>>> FreeBSD T60.workgroup 9.1-RELEASE FreeBSD 9.1-RELEASE #0 >>>>>>> >> r243826: >>>>>>> >>>>>>>>>> Tue >>>>>>> >>>>>>>>>> Dec >>>>>>> >>>>>>>>>> 4 06:55:39 UTC 2012 >>>>>>> >>>>>>>>>> root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC >>>>>>> >>>>>>>>>> i386 >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> I am trying to use my wifi card which is: >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> dmesg >>>>>>> >>>>>>>>>> .... >>>>>>> >>>>>>>>>> ath0: mem 0xedf00000-0xedf0ffff irq 17 at >>>>>>> device >>>>>>> >>>>>>>>>> 0.0 on >>>>>>> >>>>>>>>>> pci3 >>>>>>> >>>>>>>>>> ath0: AR5418 mac 12.10 RF5133 phy 8.1 >>>>>>> >>>>>>>>>> .... >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> pciconf -lv >>>>>>> >>>>>>>>>> .... >>>>>>> >>>>>>>>>> ath0@pci0:3:0:0: class=0x028000 card=0x0033168c >>>>>>> >>>>>>>>>> chip=0x0024168c >>>>>>> >>>>>>>>>> rev=0x01 hdr=0x00 >>>>>>> >>>>>>>>>> vendor = 'Atheros Communications Inc.' >>>>>>> >>>>>>>>>> device = 'AR5008 Wireless Network Adapter' >>>>>>> >>>>>>>>>> class = network >>>>>>> >>>>>>>>>> ..... >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> I followed several HOW-TOs in order to make it work. >>>>>>> >> Unfortunately >>>>>>> >>>>>>>>>> I it >>>>>>> >>>>>>>>>> is >>>>>>> >>>>>>>>>> working only after I reboot from my Windows installation >>>>>>> >>>>>>>>>> (regardless of >>>>>>> >>>>>>>>>> the >>>>>>> >>>>>>>>>> position of the wifi switch on the front panel of the >>>>>>> notebook). >>>>>>> >>>>>>>>>> After >>>>>>> >>>>>>>>>> restart from Windows everything is fine - the wifi >>>>>>> associates >>>>>>> >> with >>>>>>> >>>>>>>>>> the >>>>>>> >>>>>>>>>> AP >>>>>>> >>>>>>>>>> and I can use it. If I reboot the system during the boot >>>>>>> and >>>>>>> >>>>>>>>>> afterwards >>>>>>> >>>>>>>>>> I >>>>>>> >>>>>>>>>> constantly get: >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> ath0: device timeout >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> When I get the device status through ifconfig I can see >>>>>>> that >>>>>>> >> ath0 >>>>>>> >>>>>>>>>> is >>>>>>> >>>>>>>>>> associated but wlan0 is not associated. >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> ifconfig ath0 >>>>>>> >>>>>>>>>> ath0: flags=8843 >>>>>>> metric >>>>>>> >> 0 >>>>>>> >>>>>>>>>> mtu >>>>>>> >>>>>>>>>> 2290 >>>>>>> >>>>>>>>>> ether 00:19:7e:91:xx:xx >>>>>>> >>>>>>>>>> nd6 >>>>>>> options=29 >>>>>>> >>>>>>>>>> media: IEEE 802.11 Wireless Ethernet autoselect >>>>>>> mode 11g >>>>>>> >>>>>>>>>> status: associated >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> ifconfig wlan0 >>>>>>> >>>>>>>>>> wlan0: flags=8843 >>>>>>> >> metric 0 >>>>>>> >>>>>>>>>> mtu >>>>>>> >>>>>>>>>> 1500 >>>>>>> >>>>>>>>>> ether 00:19:7e:91:xx:xx >>>>>>> >>>>>>>>>> nd6 >>>>>>> options=29 >>>>>>> >>>>>>>>>> media: IEEE 802.11 Wireless Ethernet autoselect >>>>>>> >>>>>>>>>> (autoselect) >>>>>>> >>>>>>>>>> status: no carrier >>>>>>> >>>>>>>>>> ssid "" channel 5 (2432 MHz 11g) >>>>>>> >>>>>>>>>> regdomain 98 indoor ecm authmode WPA 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 >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> In /var/log/messages I get: >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> Jun 8 16:39:16 PC wpa_supplicant[3463]: Trying to >>>>>>> associate >>>>>>> >> with >>>>>>> >>>>>>>>>> 54:e6:fc:ae:xx:xx (SSID='access1' freq=2432 MHz) >>>>>>> >>>>>>>>>> Jun 8 16:39:20 PC kernel: ath0: device timeout >>>>>>> >>>>>>>>>> Jun 8 16:39:26 PC wpa_supplicant[3463]: Authentication >>>>>>> with >>>>>>> >>>>>>>>>> 54:e6:fc:ae:xx:xx timed out. >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> If I scan for wireless networks I get a list and my ap is >>>>>>> in the >>>>>>> >>>>>>>>>> list >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> ifconfig wlan0 scan >>>>>>> >>>>>>>>>> SSID/MESH ID BSSID CHAN RATE S:N >>>>>>> INT CAPS >>>>>>> >>>>>>>>>> net1 00:11:11:01:xx:xx 6 54M -68:-96 100 EP >>>>>>> >>>>>>>>>> 5edf9c 70:71:bc:26:xx:xx 11 54M -68:-96 100 >>>>>>> EP >>>>>>> >> WPS >>>>>>> >>>>>>>>>> WPA >>>>>>> >>>>>>>>>> WME >>>>>>> >>>>>>>>>> access1 54:e6:fc:ae:xx:xx 5 54M -66:-96 100 >>>>>>> EP WPA >>>>>>> >>>>>>>>>> HTCAP >>>>>>> >>>>>>>>>> WME >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> In rc.local I have: >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> wlans_ath0="wlan0" >>>>>>> >>>>>>>>>> ifconfig_wlan0="WPA DHCP" >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> In wpa_supplicant I have: >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> ctrl_interface=/var/run/wpa_supplicant >>>>>>> >>>>>>>>>> eapol_version=2 >>>>>>> >>>>>>>>>> ap_scan=1 >>>>>>> >>>>>>>>>> fast_reauth=1 >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> network={ >>>>>>> >>>>>>>>>> ssid="access1" >>>>>>> >>>>>>>>>> psk="secret1" >>>>>>> >>>>>>>>>> priority=5 >>>>>>> >>>>>>>>>> } >>>>>>> >>>>>>>>>> network={ >>>>>>> >>>>>>>>>> ssid="access2" >>>>>>> >>>>>>>>>> psk="secret2" >>>>>>> >>>>>>>>>> priority=5 >>>>>>> >>>>>>>>>> } >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> I searched the net for solution to my problem but I >>>>>>> couldn't >>>>>>> >> find >>>>>>> >>>>>>>>>> one. >>>>>>> >>>>>>>>>> Can >>>>>>> >>>>>>>>>> you help me with this? >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> Regards, >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> Lyubomir >>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>> >>>>>>>>>> freebsd-mobile@freebsd.org mailing list >>>>>>> >>>>>>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile >>>>>>> >>>>>>>>>> To unsubscribe, send any mail to >>>>>>> >>>>>>>>>> "freebsd-mobile-unsubscribe@freebsd.org" >>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>>>> > _______________________________________________ >>>>>>> > freebsd-wireless@freebsd.org mailing list >>>>>>> > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>>>>>> > To unsubscribe, send any mail to " >>>>>>> freebsd-wireless-unsubscribe@freebsd.org" >>>>>>> > >>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >> > From owner-freebsd-wireless@FreeBSD.ORG Sun Jan 5 22:10:59 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E215F590; Sun, 5 Jan 2014 22:10:58 +0000 (UTC) Received: from mail-qc0-x230.google.com (mail-qc0-x230.google.com [IPv6:2607:f8b0:400d:c01::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 636CC18C8; Sun, 5 Jan 2014 22:10:58 +0000 (UTC) Received: by mail-qc0-f176.google.com with SMTP id i8so16896677qcq.35 for ; Sun, 05 Jan 2014 14:10:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=NeGQUGZmIuJfpnSwt7eDXF9yyRKGxlWopnmQxxPmX0E=; b=ujX0SlrjAAdtFnPnMEO3jusRS800/ezEK7Q08gY9MTuLaQANUfKO/VcsVjURkut6cu JAhua8tKucI8uw6n34vsRNsALZcJWD+bGUrc+7hbYxhoDmCGx3J8euslUNCOiUcmdKYF cJMELiutScn3764DGGUkDh4NgzbpmTxE5aj39LM6xAu6JbYlr/fqdoaZhRV1B6EOU1sA jwF/CCehf1ARe1tFIU20nBRdgCAp/YqmaomWbWaihJG9wOkqAt79Mi377O9/yt8wwHYx biiI0Trj0bKMrSHjan7ye2zLVbfTdWxliAqkfoK/oMe+Z1GuwbpOuos0Ch8vCara+oOj RKDw== MIME-Version: 1.0 X-Received: by 10.229.222.194 with SMTP id ih2mr171327415qcb.16.1388959857522; Sun, 05 Jan 2014 14:10:57 -0800 (PST) Received: by 10.224.36.196 with HTTP; Sun, 5 Jan 2014 14:10:57 -0800 (PST) In-Reply-To: References: <51C8AE67.7040801@unsane.co.uk> Date: Mon, 6 Jan 2014 00:10:57 +0200 Message-ID: Subject: Re: Thinkpad T60 with Atheros working only after restart from Windows From: Lyubomir Yotov To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-wireless@freebsd.org" , "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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, 05 Jan 2014 22:10:59 -0000 Hi Adrian, I tried with 11.0-CURRENT as a livecd but no success (below is the wpa_supplicant after issuing 'ifconfig wlan0 create wlandev ath0'): wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf ###remark - start of wpa_supplicant output Successfully initialized wpa_supplicant wlan0: Trying to associate with 54:e6:fc:ae:6a:bc (SSID='aero-gate' freq=2432 MHz) wlan0: Authentication with 54:e6:fc:ae:6a:bc timed out. wlan0: CTRL-EVENT-DISCONNECTED bssid=54:e6:fc:ae:6a:bc reason=3 locally_generated=1 wlan0: Trying to associate with 54:e6:fc:ae:6a:bc (SSID='aero-gate' freq=2432 MHz) wlan0: Authentication with 54:e6:fc:ae:6a:bc timed out. wlan0: CTRL-EVENT-DISCONNECTED bssid=54:e6:fc:ae:6a:bc reason=3 locally_generated=1 wlan0: Trying to associate with 54:e6:fc:ae:6a:bc (SSID='aero-gate' freq=2432 MHz) wlan0: CTRL-EVENT-DISCONNECTED bssid=54:e6:fc:ae:6a:bc reason=3 locally_generated=1 ###remark - here I press Ctrl+C ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Can't assign requested address ioctl[SIOCS80211, op=26, val=0, arg_len=0]: Operation not supported wlan0: CTRL-EVENT-TERMINATING ###remark - end of wpa_supplicant output Any ideas? Lyubo On 5 January 2014 23:57, Adrian Chadd wrote: > Ok, please do. > > I have a T60 with me and some AR5418 NICs, so I don't mind doing a > transplant and trying to make it work! > > > -a > > > > On 5 January 2014 08:53, Lyubomir Yotov wrote: > >> Not yet but I will give it a go these days. >> >> Thanks, >> >> Lyubomir >> >> >> On 5 January 2014 09:45, Adrian Chadd wrote: >> >>> Have you tried -11? >>> >>> >>> -a >>> >>> >>> On 30 December 2013 09:25, Lyubomir Yotov wrote: >>> >>>> Hi Andrian, >>>> >>>> Merry Christmas and all the best for the New Year! >>>> I would like to ask if there is something on the horizon with the >>>> Atheros time outs? Is there any chance in getting it working without >>>> restart to Windows (in my case)? Is there anything else I can try? >>>> Currently I am with 9.2-RELEASE #0 r255898. >>>> >>>> All the best, >>>> >>>> Lyubomir >>>> >>>> >>>> On 17 July 2013 23:06, Lyubomir Yotov wrote: >>>> >>>>> Hi, >>>>> No problem, I fully understand you. If you manage to find something I >>>>> will be more than grateful. Anyway thanks for your time! I think you are >>>>> doing quite a god job! >>>>> >>>>> >>>>> >>>>> Regards, >>>>> >>>>> Lyubo >>>>> >>>>> >>>>> >>>>> On 16 July 2013 11:51, Adrian Chadd wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> I'm sorry, I don't have the time to try and debug this issue. If I >>>>>> had a T60 here that demonstrated this behaviour then I could try to fix it. >>>>>> But I unfortunately don't; all my T60 hardware has intel wifi. :( >>>>>> >>>>>> I can try putting an AR5418 in a T60 in a few weeks and see if it >>>>>> exhibits this behaviour. But don't hold your breath. >>>>>> >>>>>> Sorry :( >>>>>> >>>>>> >>>>>> >>>>>> -adrian >>>>>> >>>>>> >>>>>> On 15 July 2013 13:30, Lyubomir Yotov wrote: >>>>>> >>>>>>> Hi Adrian, >>>>>>> I tried with -HEAD liveCD as proposed by Vincent and ghostbsd live >>>>>>> cd but the situation is the same. I feel like I am missing something. On >>>>>>> one hand I can scan the wireless networks and the wifi card seems to be >>>>>>> working. On the other hand I cannot attach as the ath device times out >>>>>>> (which according to the ath man pages should not occur). I also tried to >>>>>>> encrypt the psk phrase with pwa_passphrase but with no success either. I >>>>>>> tested with Kali linux live cd and the wireless was working fine. I also >>>>>>> noticed that if I shutdown Windows and then start FreeBSD then the wifi >>>>>>> also behaves the same way - ath0: device timed out. Only restart from >>>>>>> Windows or restart from FreeBSD with working wifi can make the wifi work >>>>>>> again. >>>>>>> Do you have any other proposals? >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> Lyubomir >>>>>>> >>>>>>> >>>>>>> On 24 June 2013 23:39, Vincent Hoffman wrote: >>>>>>> >>>>>>>> As an easy test if you arent keen on making the leap just yet I'd >>>>>>>> suggest getting a snapshot CD and just boot it as a liveCD to test. >>>>>>>> either a snapshot >>>>>>>> http://www.freebsd.org/snapshots/ >>>>>>>> or one of the daily builds from >>>>>>>> https://pub.allbsd.org/FreeBSD-snapshots/ >>>>>>>> (for example >>>>>>>> >>>>>>>> https://pub.allbsd.org/FreeBSD-snapshots/amd64-amd64/10.0-HEAD-r252115-JPSNAP/iso/FreeBSD-10.0-HEAD-r252115-JPSNAP-amd64-amd64-release.iso >>>>>>>> ) >>>>>>>> >>>>>>>> That said I run -CURRENT on my server at home (for the atheros >>>>>>>> driver) >>>>>>>> and dont have any problems with it. >>>>>>>> >>>>>>>> Vince >>>>>>>> >>>>>>>> >>>>>>>> On 24/06/2013 21:01, Lyubomir Yotov wrote: >>>>>>>> > Hi Adrian, >>>>>>>> > >>>>>>>> > I will try to get -HEAD on my T60 and will report back. >>>>>>>> > >>>>>>>> > Regards, >>>>>>>> > >>>>>>>> > Lyubomir >>>>>>>> > >>>>>>>> > >>>>>>>> > On 24 June 2013 20:21, Adrian Chadd wrote: >>>>>>>> > >>>>>>>> >> Hi, >>>>>>>> >> >>>>>>>> >> Would you be willing to try a -HEAD snapshot on your laptop? >>>>>>>> >> >>>>>>>> >> Maybe I've fixed it as part of the other driver work that I've >>>>>>>> done as >>>>>>>> >> part of development in -HEAD. >>>>>>>> >> >>>>>>>> >> But right now I really have no idea. I don't have a T60 here >>>>>>>> that has >>>>>>>> >> that chip in it. If all the T60 BIOSes allow AR5418 NICs then I >>>>>>>> can >>>>>>>> >> try it out, but all of the T60's I've played with thus far have >>>>>>>> the >>>>>>>> >> intel hardware in it. >>>>>>>> >> >>>>>>>> >> >>>>>>>> >> >>>>>>>> >> Adrian >>>>>>>> >> >>>>>>>> >> >>>>>>>> >> On 21 June 2013 02:02, Lyubomir Yotov wrote: >>>>>>>> >>> Hello Adrian, >>>>>>>> >>> >>>>>>>> >>> Do you have any feedback on the matter? >>>>>>>> >>> >>>>>>>> >>> Regards, >>>>>>>> >>> >>>>>>>> >>> Lyubomir >>>>>>>> >>> >>>>>>>> >>> >>>>>>>> >>> On 13 June 2013 10:09, Lyubomir Yotov >>>>>>>> wrote: >>>>>>>> >>>> Hello Adrian, >>>>>>>> >>>> >>>>>>>> >>>> I enabled acpi_ibm.ko but this didn't help and after "halt" >>>>>>>> the wifi is >>>>>>>> >>>> not working again. >>>>>>>> >>>> >>>>>>>> >>>> Regards, >>>>>>>> >>>> >>>>>>>> >>>> Lyubomir >>>>>>>> >>>> >>>>>>>> >>>> >>>>>>>> >>>> On 13 June 2013 08:03, Lyubomir Yotov >>>>>>>> wrote: >>>>>>>> >>>>> Hello Adrian, >>>>>>>> >>>>> I did some tests and discovered that the problem is related to >>>>>>>> >>>>> "halt"/"shutdown" of system. If "reboot" is carried out than >>>>>>>> there is >>>>>>>> >> no >>>>>>>> >>>>> problem and the wifi works properly (even if done from Gnome >>>>>>>> - Gnome >>>>>>>> >> seems >>>>>>>> >>>>> to have no relation to the problem). So what could lead to >>>>>>>> "ath0: time >>>>>>>> >> out" >>>>>>>> >>>>> after shutting down or halting the system? I noticed that >>>>>>>> there are irq >>>>>>>> >>>>> storms on irq 17 which is the wifi irq (interrupt storm >>>>>>>> detected on >>>>>>>> >>>>> "irq17:"; throttling interrupt source). Something else that I >>>>>>>> am not >>>>>>>> >> sure to >>>>>>>> >>>>> have relevance - after shutdown during the start-up ath0 is >>>>>>>> reported >>>>>>>> >> to use >>>>>>>> >>>>> autoselect mode 11g: >>>>>>>> >>>>> (below is from dmesg) >>>>>>>> >>>>> >>>>>>>> >>>>> ath0: flags=8843 >>>>>>>> metric 0 mtu >>>>>>>> >>>>> 2290 >>>>>>>> >>>>> >>>>>>>> >>>>> ether 00:19:7e:91:xx:xx >>>>>>>> >>>>> nd6 options=29 >>>>>>>> >>>>> media: IEEE 802.11 Wireless Ethernet autoselect mode >>>>>>>> 11g >>>>>>>> >>>>> status: associated >>>>>>>> >>>>> >>>>>>>> >>>>> After the boot has finished the mode changes to 11a: >>>>>>>> >>>>> >>>>>>>> >>>>> #ifconfig ath0 >>>>>>>> >>>>> >>>>>>>> >>>>> ath0: flags=8843 >>>>>>>> metric 0 mtu >>>>>>>> >>>>> 2290 >>>>>>>> >>>>> ether 00:19:7e:91:xx:xx >>>>>>>> >>>>> nd6 options=29 >>>>>>>> >>>>> media: IEEE 802.11 Wireless Ethernet autoselect mode >>>>>>>> 11a >>>>>>>> >>>>> status: associated >>>>>>>> >>>>> >>>>>>>> >>>>> Do you have any idea where to look for now? >>>>>>>> >>>>> >>>>>>>> >>>>> Regards, >>>>>>>> >>>>> >>>>>>>> >>>>> >>>>>>>> >>>>> Lyubomir >>>>>>>> >>>>> P.S. I will try to play with acpi_ibm.ko and see if things >>>>>>>> change if I >>>>>>>> >>>>> make it auto-load. >>>>>>>> >>>>> >>>>>>>> >>>>> >>>>>>>> >>>>> On 10 June 2013 16:06, Lyubomir Yotov >>>>>>>> wrote: >>>>>>>> >>>>>> Hello Adrian, >>>>>>>> >>>>>> >>>>>>>> >>>>>> Attached are files with consecutive vmstat -i when the wlan >>>>>>>> is working >>>>>>>> >>>>>> (vmstat-i_working.txt) and when the wlan is not working >>>>>>>> >>>>>> (vmstat-i_not_working.txt). There is also output from >>>>>>>> ifconfig when >>>>>>>> >> the wlan >>>>>>>> >>>>>> is not working (ifconfig.txt). >>>>>>>> >>>>>> After some more deeper investigation it seems to me that the >>>>>>>> problem >>>>>>>> >>>>>> appears after starting X with Gnome. I will continue >>>>>>>> investigating >>>>>>>> >> with >>>>>>>> >>>>>> "reboot"/"halt -p" and inform you. >>>>>>>> >>>>>> BTW do you think that starting Gnome session (using startx, >>>>>>>> as I >>>>>>>> >> haven't >>>>>>>> >>>>>> set auto start of X if this is of any importance) can cause >>>>>>>> problems >>>>>>>> >> - in >>>>>>>> >>>>>> Gnome I have no settings for the network in the >>>>>>>> "System->Network" >>>>>>>> >>>>>> application and I start it with normal user? >>>>>>>> >>>>>> >>>>>>>> >>>>>> Regards, >>>>>>>> >>>>>> >>>>>>>> >>>>>> Lyubo >>>>>>>> >>>>>> >>>>>>>> >>>>>> >>>>>>>> >>>>>> On 9 June 2013 18:28, Adrian Chadd >>>>>>>> wrote: >>>>>>>> >>>>>>> Can you please paste the vmstat -i output? >>>>>>>> >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> >>>>>>> adrian >>>>>>>> >>>>>>> >>>>>>>> >>>>>>> On 9 June 2013 06:53, Lyubomir Yotov >>>>>>>> wrote: >>>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> After restart from Windows and working wireless the number >>>>>>>> of >>>>>>>> >>>>>>>> interrupts >>>>>>>> >>>>>>>> increases and the rate increases. After next restart (the >>>>>>>> ath0 >>>>>>>> >> times >>>>>>>> >>>>>>>> out) >>>>>>>> >>>>>>>> the interrupts increase but the rate is going down. >>>>>>>> >>>>>>>> I noticed that after restart from Windows and working wifi >>>>>>>> if I >>>>>>>> >>>>>>>> restart >>>>>>>> >>>>>>>> /etc/rc.d/netif the wifi is working again. If I shutdown >>>>>>>> wlan0 and >>>>>>>> >>>>>>>> bring it >>>>>>>> >>>>>>>> up again then I wlan0 doesn't get address but ath0 is not >>>>>>>> timing >>>>>>>> >> out. >>>>>>>> >>>>>>>> I can >>>>>>>> >>>>>>>> still get a list with the available APs around. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Regards, >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Lyubo >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On 8 June 2013 18:28, Adrian Chadd >>>>>>>> wrote: >>>>>>>> >>>>>>>>> Hm! >>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>>> Ok, this should be working. I frequently test (read: >>>>>>>> every other >>>>>>>> >>>>>>>>> day) >>>>>>>> >>>>>>>>> with the AR5416. But you're not the first person to >>>>>>>> report this >>>>>>>> >> bug. >>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>>> Unfortunately when this happens, the interrupts aren't >>>>>>>> actually >>>>>>>> >>>>>>>>> making >>>>>>>> >>>>>>>>> it to the OS. >>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>>> Can you check the output of vmstat -i whilst you're doing >>>>>>>> it? The >>>>>>>> >>>>>>>>> ath0 >>>>>>>> >>>>>>>>> counter should be increasing. >>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>>> adrian >>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>>> On 8 June 2013 06:49, Lyubomir Yotov >>>>>>>> wrote: >>>>>>>> >>>>>>>>>> Hello, >>>>>>>> >>>>>>>>>> I have a Thinkpad T60 with dual boot between Windows XP >>>>>>>> and >>>>>>>> >>>>>>>>>> FreeBSD >>>>>>>> >>>>>>>>>> 9.1-Release: >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> uname -a >>>>>>>> >>>>>>>>>> FreeBSD T60.workgroup 9.1-RELEASE FreeBSD 9.1-RELEASE #0 >>>>>>>> >> r243826: >>>>>>>> >>>>>>>>>> Tue >>>>>>>> >>>>>>>>>> Dec >>>>>>>> >>>>>>>>>> 4 06:55:39 UTC 2012 >>>>>>>> >>>>>>>>>> root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC >>>>>>>> >>>>>>>>>> i386 >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> I am trying to use my wifi card which is: >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> dmesg >>>>>>>> >>>>>>>>>> .... >>>>>>>> >>>>>>>>>> ath0: mem 0xedf00000-0xedf0ffff irq 17 at >>>>>>>> device >>>>>>>> >>>>>>>>>> 0.0 on >>>>>>>> >>>>>>>>>> pci3 >>>>>>>> >>>>>>>>>> ath0: AR5418 mac 12.10 RF5133 phy 8.1 >>>>>>>> >>>>>>>>>> .... >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> pciconf -lv >>>>>>>> >>>>>>>>>> .... >>>>>>>> >>>>>>>>>> ath0@pci0:3:0:0: class=0x028000 card=0x0033168c >>>>>>>> >>>>>>>>>> chip=0x0024168c >>>>>>>> >>>>>>>>>> rev=0x01 hdr=0x00 >>>>>>>> >>>>>>>>>> vendor = 'Atheros Communications Inc.' >>>>>>>> >>>>>>>>>> device = 'AR5008 Wireless Network Adapter' >>>>>>>> >>>>>>>>>> class = network >>>>>>>> >>>>>>>>>> ..... >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> I followed several HOW-TOs in order to make it work. >>>>>>>> >> Unfortunately >>>>>>>> >>>>>>>>>> I it >>>>>>>> >>>>>>>>>> is >>>>>>>> >>>>>>>>>> working only after I reboot from my Windows installation >>>>>>>> >>>>>>>>>> (regardless of >>>>>>>> >>>>>>>>>> the >>>>>>>> >>>>>>>>>> position of the wifi switch on the front panel of the >>>>>>>> notebook). >>>>>>>> >>>>>>>>>> After >>>>>>>> >>>>>>>>>> restart from Windows everything is fine - the wifi >>>>>>>> associates >>>>>>>> >> with >>>>>>>> >>>>>>>>>> the >>>>>>>> >>>>>>>>>> AP >>>>>>>> >>>>>>>>>> and I can use it. If I reboot the system during the boot >>>>>>>> and >>>>>>>> >>>>>>>>>> afterwards >>>>>>>> >>>>>>>>>> I >>>>>>>> >>>>>>>>>> constantly get: >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> ath0: device timeout >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> When I get the device status through ifconfig I can see >>>>>>>> that >>>>>>>> >> ath0 >>>>>>>> >>>>>>>>>> is >>>>>>>> >>>>>>>>>> associated but wlan0 is not associated. >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> ifconfig ath0 >>>>>>>> >>>>>>>>>> ath0: flags=8843 >>>>>>>> metric >>>>>>>> >> 0 >>>>>>>> >>>>>>>>>> mtu >>>>>>>> >>>>>>>>>> 2290 >>>>>>>> >>>>>>>>>> ether 00:19:7e:91:xx:xx >>>>>>>> >>>>>>>>>> nd6 >>>>>>>> options=29 >>>>>>>> >>>>>>>>>> media: IEEE 802.11 Wireless Ethernet autoselect >>>>>>>> mode 11g >>>>>>>> >>>>>>>>>> status: associated >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> ifconfig wlan0 >>>>>>>> >>>>>>>>>> wlan0: flags=8843 >>>>>>>> >> metric 0 >>>>>>>> >>>>>>>>>> mtu >>>>>>>> >>>>>>>>>> 1500 >>>>>>>> >>>>>>>>>> ether 00:19:7e:91:xx:xx >>>>>>>> >>>>>>>>>> nd6 >>>>>>>> options=29 >>>>>>>> >>>>>>>>>> media: IEEE 802.11 Wireless Ethernet autoselect >>>>>>>> >>>>>>>>>> (autoselect) >>>>>>>> >>>>>>>>>> status: no carrier >>>>>>>> >>>>>>>>>> ssid "" channel 5 (2432 MHz 11g) >>>>>>>> >>>>>>>>>> regdomain 98 indoor ecm authmode WPA 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 >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> In /var/log/messages I get: >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> Jun 8 16:39:16 PC wpa_supplicant[3463]: Trying to >>>>>>>> associate >>>>>>>> >> with >>>>>>>> >>>>>>>>>> 54:e6:fc:ae:xx:xx (SSID='access1' freq=2432 MHz) >>>>>>>> >>>>>>>>>> Jun 8 16:39:20 PC kernel: ath0: device timeout >>>>>>>> >>>>>>>>>> Jun 8 16:39:26 PC wpa_supplicant[3463]: Authentication >>>>>>>> with >>>>>>>> >>>>>>>>>> 54:e6:fc:ae:xx:xx timed out. >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> If I scan for wireless networks I get a list and my ap >>>>>>>> is in the >>>>>>>> >>>>>>>>>> list >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> ifconfig wlan0 scan >>>>>>>> >>>>>>>>>> SSID/MESH ID BSSID CHAN RATE S:N >>>>>>>> INT CAPS >>>>>>>> >>>>>>>>>> net1 00:11:11:01:xx:xx 6 54M -68:-96 100 EP >>>>>>>> >>>>>>>>>> 5edf9c 70:71:bc:26:xx:xx 11 54M -68:-96 >>>>>>>> 100 EP >>>>>>>> >> WPS >>>>>>>> >>>>>>>>>> WPA >>>>>>>> >>>>>>>>>> WME >>>>>>>> >>>>>>>>>> access1 54:e6:fc:ae:xx:xx 5 54M -66:-96 100 >>>>>>>> EP WPA >>>>>>>> >>>>>>>>>> HTCAP >>>>>>>> >>>>>>>>>> WME >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> In rc.local I have: >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> wlans_ath0="wlan0" >>>>>>>> >>>>>>>>>> ifconfig_wlan0="WPA DHCP" >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> In wpa_supplicant I have: >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> ctrl_interface=/var/run/wpa_supplicant >>>>>>>> >>>>>>>>>> eapol_version=2 >>>>>>>> >>>>>>>>>> ap_scan=1 >>>>>>>> >>>>>>>>>> fast_reauth=1 >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> network={ >>>>>>>> >>>>>>>>>> ssid="access1" >>>>>>>> >>>>>>>>>> psk="secret1" >>>>>>>> >>>>>>>>>> priority=5 >>>>>>>> >>>>>>>>>> } >>>>>>>> >>>>>>>>>> network={ >>>>>>>> >>>>>>>>>> ssid="access2" >>>>>>>> >>>>>>>>>> psk="secret2" >>>>>>>> >>>>>>>>>> priority=5 >>>>>>>> >>>>>>>>>> } >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> I searched the net for solution to my problem but I >>>>>>>> couldn't >>>>>>>> >> find >>>>>>>> >>>>>>>>>> one. >>>>>>>> >>>>>>>>>> Can >>>>>>>> >>>>>>>>>> you help me with this? >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> Regards, >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> Lyubomir >>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>> >>>>>>>>>> freebsd-mobile@freebsd.org mailing list >>>>>>>> >>>>>>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile >>>>>>>> >>>>>>>>>> To unsubscribe, send any mail to >>>>>>>> >>>>>>>>>> "freebsd-mobile-unsubscribe@freebsd.org" >>>>>>>> >>>>>>>> >>>>>>>> >>>>>> >>>>>>>> > _______________________________________________ >>>>>>>> > freebsd-wireless@freebsd.org mailing list >>>>>>>> > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>>>>>>> > To unsubscribe, send any mail to " >>>>>>>> freebsd-wireless-unsubscribe@freebsd.org" >>>>>>>> > >>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >> > From owner-freebsd-wireless@FreeBSD.ORG Mon Jan 6 05:10:22 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 04AAE182; Mon, 6 Jan 2014 05:10:22 +0000 (UTC) Received: from mail-qc0-x231.google.com (mail-qc0-x231.google.com [IPv6:2607:f8b0:400d:c01::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8FE1E15C1; Mon, 6 Jan 2014 05:10:21 +0000 (UTC) Received: by mail-qc0-f177.google.com with SMTP id m20so16957992qcx.8 for ; Sun, 05 Jan 2014 21:10:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=XY+EH1IgczCgZ58G/IYDgI0PenRxa0oeP4RbHE9cstI=; b=UVlYX3aa3osH/hEypdm3eJsZBGeAcmk0HEp1Ap7X2+J3nztAhIC3i0VqLwizFaUWCd T3/55Ff5jwe+7F9xS10GZcNrfN2EpJv3oU6/8CX7SdeEUOUC2MBM4VtzrDz+wENLmfgZ 4/5b703CGpm/LYFZRJv7t/cauYsVwZHASWaGtgtFbfL5yAHxLanz3IGk6GprM2RZ5MXg yVuGp3OfRokR6vmOBJHB+nv9ilOOzIhYtnwSL0aC4BxX6MFY1JO/YhiCvDVC2077M53h ztHzhhwhFOPXgMWP0kCv36bLV3bdUuDHXuAi7ogYTjNJwXx2k0rWTcpT+Axvs+YgvRL0 9xAA== MIME-Version: 1.0 X-Received: by 10.49.34.207 with SMTP id b15mr181216549qej.49.1388985020728; Sun, 05 Jan 2014 21:10:20 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.52.8 with HTTP; Sun, 5 Jan 2014 21:10:20 -0800 (PST) In-Reply-To: References: <51C8AE67.7040801@unsane.co.uk> Date: Sun, 5 Jan 2014 21:10:20 -0800 X-Google-Sender-Auth: tvdBYeToEvgQM4R2cAi5hQ5udUs Message-ID: Subject: Re: Thinkpad T60 with Atheros working only after restart from Windows From: Adrian Chadd To: Lyubomir Yotov Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-wireless@freebsd.org" , "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Mon, 06 Jan 2014 05:10:22 -0000 Ok, can you provide me a dmesg please? That way I can see what the specific chipset revision is. Lemme go crack open my T60 and put an AR5418 in there :-) -a On 5 January 2014 14:10, Lyubomir Yotov wrote: > Hi Adrian, > > I tried with 11.0-CURRENT as a livecd but no success (below is the > wpa_supplicant after issuing 'ifconfig wlan0 create wlandev ath0'): > wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf > ###remark - start of wpa_supplicant output > Successfully initialized wpa_supplicant > wlan0: Trying to associate with 54:e6:fc:ae:6a:bc (SSID='aero-gate' > freq=2432 MHz) > wlan0: Authentication with 54:e6:fc:ae:6a:bc timed out. > wlan0: CTRL-EVENT-DISCONNECTED bssid=54:e6:fc:ae:6a:bc reason=3 > locally_generated=1 > wlan0: Trying to associate with 54:e6:fc:ae:6a:bc (SSID='aero-gate' > freq=2432 MHz) > wlan0: Authentication with 54:e6:fc:ae:6a:bc timed out. > wlan0: CTRL-EVENT-DISCONNECTED bssid=54:e6:fc:ae:6a:bc reason=3 > locally_generated=1 > wlan0: Trying to associate with 54:e6:fc:ae:6a:bc (SSID='aero-gate' > freq=2432 MHz) > wlan0: CTRL-EVENT-DISCONNECTED bssid=54:e6:fc:ae:6a:bc reason=3 > locally_generated=1 > ###remark - here I press Ctrl+C > ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Can't assign requested address > ioctl[SIOCS80211, op=26, val=0, arg_len=0]: Operation not supported > wlan0: CTRL-EVENT-TERMINATING > ###remark - end of wpa_supplicant output > > Any ideas? > > Lyubo > > > On 5 January 2014 23:57, Adrian Chadd wrote: > >> Ok, please do. >> >> I have a T60 with me and some AR5418 NICs, so I don't mind doing a >> transplant and trying to make it work! >> >> >> -a >> >> >> >> On 5 January 2014 08:53, Lyubomir Yotov wrote: >> >>> Not yet but I will give it a go these days. >>> >>> Thanks, >>> >>> Lyubomir >>> >>> >>> On 5 January 2014 09:45, Adrian Chadd wrote: >>> >>>> Have you tried -11? >>>> >>>> >>>> -a >>>> >>>> >>>> On 30 December 2013 09:25, Lyubomir Yotov wrote: >>>> >>>>> Hi Andrian, >>>>> >>>>> Merry Christmas and all the best for the New Year! >>>>> I would like to ask if there is something on the horizon with the >>>>> Atheros time outs? Is there any chance in getting it working without >>>>> restart to Windows (in my case)? Is there anything else I can try? >>>>> Currently I am with 9.2-RELEASE #0 r255898. >>>>> >>>>> All the best, >>>>> >>>>> Lyubomir >>>>> >>>>> >>>>> On 17 July 2013 23:06, Lyubomir Yotov wrote: >>>>> >>>>>> Hi, >>>>>> No problem, I fully understand you. If you manage to find something I >>>>>> will be more than grateful. Anyway thanks for your time! I think you are >>>>>> doing quite a god job! >>>>>> >>>>>> >>>>>> >>>>>> Regards, >>>>>> >>>>>> Lyubo >>>>>> >>>>>> >>>>>> >>>>>> On 16 July 2013 11:51, Adrian Chadd wrote: >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> I'm sorry, I don't have the time to try and debug this issue. If I >>>>>>> had a T60 here that demonstrated this behaviour then I could try to fix it. >>>>>>> But I unfortunately don't; all my T60 hardware has intel wifi. :( >>>>>>> >>>>>>> I can try putting an AR5418 in a T60 in a few weeks and see if it >>>>>>> exhibits this behaviour. But don't hold your breath. >>>>>>> >>>>>>> Sorry :( >>>>>>> >>>>>>> >>>>>>> >>>>>>> -adrian >>>>>>> >>>>>>> >>>>>>> On 15 July 2013 13:30, Lyubomir Yotov wrote: >>>>>>> >>>>>>>> Hi Adrian, >>>>>>>> I tried with -HEAD liveCD as proposed by Vincent and ghostbsd live >>>>>>>> cd but the situation is the same. I feel like I am missing something. On >>>>>>>> one hand I can scan the wireless networks and the wifi card seems to be >>>>>>>> working. On the other hand I cannot attach as the ath device times out >>>>>>>> (which according to the ath man pages should not occur). I also tried to >>>>>>>> encrypt the psk phrase with pwa_passphrase but with no success either. I >>>>>>>> tested with Kali linux live cd and the wireless was working fine. I also >>>>>>>> noticed that if I shutdown Windows and then start FreeBSD then the wifi >>>>>>>> also behaves the same way - ath0: device timed out. Only restart from >>>>>>>> Windows or restart from FreeBSD with working wifi can make the wifi work >>>>>>>> again. >>>>>>>> Do you have any other proposals? >>>>>>>> >>>>>>>> Regards, >>>>>>>> >>>>>>>> Lyubomir >>>>>>>> >>>>>>>> >>>>>>>> On 24 June 2013 23:39, Vincent Hoffman wrote: >>>>>>>> >>>>>>>>> As an easy test if you arent keen on making the leap just yet I'd >>>>>>>>> suggest getting a snapshot CD and just boot it as a liveCD to test. >>>>>>>>> either a snapshot >>>>>>>>> http://www.freebsd.org/snapshots/ >>>>>>>>> or one of the daily builds from >>>>>>>>> https://pub.allbsd.org/FreeBSD-snapshots/ >>>>>>>>> (for example >>>>>>>>> >>>>>>>>> https://pub.allbsd.org/FreeBSD-snapshots/amd64-amd64/10.0-HEAD-r252115-JPSNAP/iso/FreeBSD-10.0-HEAD-r252115-JPSNAP-amd64-amd64-release.iso >>>>>>>>> ) >>>>>>>>> >>>>>>>>> That said I run -CURRENT on my server at home (for the atheros >>>>>>>>> driver) >>>>>>>>> and dont have any problems with it. >>>>>>>>> >>>>>>>>> Vince >>>>>>>>> >>>>>>>>> >>>>>>>>> On 24/06/2013 21:01, Lyubomir Yotov wrote: >>>>>>>>> > Hi Adrian, >>>>>>>>> > >>>>>>>>> > I will try to get -HEAD on my T60 and will report back. >>>>>>>>> > >>>>>>>>> > Regards, >>>>>>>>> > >>>>>>>>> > Lyubomir >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > On 24 June 2013 20:21, Adrian Chadd wrote: >>>>>>>>> > >>>>>>>>> >> Hi, >>>>>>>>> >> >>>>>>>>> >> Would you be willing to try a -HEAD snapshot on your laptop? >>>>>>>>> >> >>>>>>>>> >> Maybe I've fixed it as part of the other driver work that I've >>>>>>>>> done as >>>>>>>>> >> part of development in -HEAD. >>>>>>>>> >> >>>>>>>>> >> But right now I really have no idea. I don't have a T60 here >>>>>>>>> that has >>>>>>>>> >> that chip in it. If all the T60 BIOSes allow AR5418 NICs then I >>>>>>>>> can >>>>>>>>> >> try it out, but all of the T60's I've played with thus far have >>>>>>>>> the >>>>>>>>> >> intel hardware in it. >>>>>>>>> >> >>>>>>>>> >> >>>>>>>>> >> >>>>>>>>> >> Adrian >>>>>>>>> >> >>>>>>>>> >> >>>>>>>>> >> On 21 June 2013 02:02, Lyubomir Yotov >>>>>>>>> wrote: >>>>>>>>> >>> Hello Adrian, >>>>>>>>> >>> >>>>>>>>> >>> Do you have any feedback on the matter? >>>>>>>>> >>> >>>>>>>>> >>> Regards, >>>>>>>>> >>> >>>>>>>>> >>> Lyubomir >>>>>>>>> >>> >>>>>>>>> >>> >>>>>>>>> >>> On 13 June 2013 10:09, Lyubomir Yotov >>>>>>>>> wrote: >>>>>>>>> >>>> Hello Adrian, >>>>>>>>> >>>> >>>>>>>>> >>>> I enabled acpi_ibm.ko but this didn't help and after "halt" >>>>>>>>> the wifi is >>>>>>>>> >>>> not working again. >>>>>>>>> >>>> >>>>>>>>> >>>> Regards, >>>>>>>>> >>>> >>>>>>>>> >>>> Lyubomir >>>>>>>>> >>>> >>>>>>>>> >>>> >>>>>>>>> >>>> On 13 June 2013 08:03, Lyubomir Yotov >>>>>>>>> wrote: >>>>>>>>> >>>>> Hello Adrian, >>>>>>>>> >>>>> I did some tests and discovered that the problem is related >>>>>>>>> to >>>>>>>>> >>>>> "halt"/"shutdown" of system. If "reboot" is carried out than >>>>>>>>> there is >>>>>>>>> >> no >>>>>>>>> >>>>> problem and the wifi works properly (even if done from Gnome >>>>>>>>> - Gnome >>>>>>>>> >> seems >>>>>>>>> >>>>> to have no relation to the problem). So what could lead to >>>>>>>>> "ath0: time >>>>>>>>> >> out" >>>>>>>>> >>>>> after shutting down or halting the system? I noticed that >>>>>>>>> there are irq >>>>>>>>> >>>>> storms on irq 17 which is the wifi irq (interrupt storm >>>>>>>>> detected on >>>>>>>>> >>>>> "irq17:"; throttling interrupt source). Something else that >>>>>>>>> I am not >>>>>>>>> >> sure to >>>>>>>>> >>>>> have relevance - after shutdown during the start-up ath0 is >>>>>>>>> reported >>>>>>>>> >> to use >>>>>>>>> >>>>> autoselect mode 11g: >>>>>>>>> >>>>> (below is from dmesg) >>>>>>>>> >>>>> >>>>>>>>> >>>>> ath0: flags=8843 >>>>>>>>> metric 0 mtu >>>>>>>>> >>>>> 2290 >>>>>>>>> >>>>> >>>>>>>>> >>>>> ether 00:19:7e:91:xx:xx >>>>>>>>> >>>>> nd6 options=29 >>>>>>>>> >>>>> media: IEEE 802.11 Wireless Ethernet autoselect mode >>>>>>>>> 11g >>>>>>>>> >>>>> status: associated >>>>>>>>> >>>>> >>>>>>>>> >>>>> After the boot has finished the mode changes to 11a: >>>>>>>>> >>>>> >>>>>>>>> >>>>> #ifconfig ath0 >>>>>>>>> >>>>> >>>>>>>>> >>>>> ath0: flags=8843 >>>>>>>>> metric 0 mtu >>>>>>>>> >>>>> 2290 >>>>>>>>> >>>>> ether 00:19:7e:91:xx:xx >>>>>>>>> >>>>> nd6 options=29 >>>>>>>>> >>>>> media: IEEE 802.11 Wireless Ethernet autoselect mode >>>>>>>>> 11a >>>>>>>>> >>>>> status: associated >>>>>>>>> >>>>> >>>>>>>>> >>>>> Do you have any idea where to look for now? >>>>>>>>> >>>>> >>>>>>>>> >>>>> Regards, >>>>>>>>> >>>>> >>>>>>>>> >>>>> >>>>>>>>> >>>>> Lyubomir >>>>>>>>> >>>>> P.S. I will try to play with acpi_ibm.ko and see if things >>>>>>>>> change if I >>>>>>>>> >>>>> make it auto-load. >>>>>>>>> >>>>> >>>>>>>>> >>>>> >>>>>>>>> >>>>> On 10 June 2013 16:06, Lyubomir Yotov >>>>>>>>> wrote: >>>>>>>>> >>>>>> Hello Adrian, >>>>>>>>> >>>>>> >>>>>>>>> >>>>>> Attached are files with consecutive vmstat -i when the wlan >>>>>>>>> is working >>>>>>>>> >>>>>> (vmstat-i_working.txt) and when the wlan is not working >>>>>>>>> >>>>>> (vmstat-i_not_working.txt). There is also output from >>>>>>>>> ifconfig when >>>>>>>>> >> the wlan >>>>>>>>> >>>>>> is not working (ifconfig.txt). >>>>>>>>> >>>>>> After some more deeper investigation it seems to me that >>>>>>>>> the problem >>>>>>>>> >>>>>> appears after starting X with Gnome. I will continue >>>>>>>>> investigating >>>>>>>>> >> with >>>>>>>>> >>>>>> "reboot"/"halt -p" and inform you. >>>>>>>>> >>>>>> BTW do you think that starting Gnome session (using startx, >>>>>>>>> as I >>>>>>>>> >> haven't >>>>>>>>> >>>>>> set auto start of X if this is of any importance) can cause >>>>>>>>> problems >>>>>>>>> >> - in >>>>>>>>> >>>>>> Gnome I have no settings for the network in the >>>>>>>>> "System->Network" >>>>>>>>> >>>>>> application and I start it with normal user? >>>>>>>>> >>>>>> >>>>>>>>> >>>>>> Regards, >>>>>>>>> >>>>>> >>>>>>>>> >>>>>> Lyubo >>>>>>>>> >>>>>> >>>>>>>>> >>>>>> >>>>>>>>> >>>>>> On 9 June 2013 18:28, Adrian Chadd >>>>>>>>> wrote: >>>>>>>>> >>>>>>> Can you please paste the vmstat -i output? >>>>>>>>> >>>>>>> >>>>>>>>> >>>>>>> >>>>>>>>> >>>>>>> >>>>>>>>> >>>>>>> adrian >>>>>>>>> >>>>>>> >>>>>>>>> >>>>>>> On 9 June 2013 06:53, Lyubomir Yotov >>>>>>>>> wrote: >>>>>>>>> >>>>>>>> Hi, >>>>>>>>> >>>>>>>> >>>>>>>>> >>>>>>>> After restart from Windows and working wireless the >>>>>>>>> number of >>>>>>>>> >>>>>>>> interrupts >>>>>>>>> >>>>>>>> increases and the rate increases. After next restart (the >>>>>>>>> ath0 >>>>>>>>> >> times >>>>>>>>> >>>>>>>> out) >>>>>>>>> >>>>>>>> the interrupts increase but the rate is going down. >>>>>>>>> >>>>>>>> I noticed that after restart from Windows and working >>>>>>>>> wifi if I >>>>>>>>> >>>>>>>> restart >>>>>>>>> >>>>>>>> /etc/rc.d/netif the wifi is working again. If I shutdown >>>>>>>>> wlan0 and >>>>>>>>> >>>>>>>> bring it >>>>>>>>> >>>>>>>> up again then I wlan0 doesn't get address but ath0 is not >>>>>>>>> timing >>>>>>>>> >> out. >>>>>>>>> >>>>>>>> I can >>>>>>>>> >>>>>>>> still get a list with the available APs around. >>>>>>>>> >>>>>>>> >>>>>>>>> >>>>>>>> Regards, >>>>>>>>> >>>>>>>> >>>>>>>>> >>>>>>>> Lyubo >>>>>>>>> >>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>>> >>>>>>>> On 8 June 2013 18:28, Adrian Chadd >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>> Hm! >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Ok, this should be working. I frequently test (read: >>>>>>>>> every other >>>>>>>>> >>>>>>>>> day) >>>>>>>>> >>>>>>>>> with the AR5416. But you're not the first person to >>>>>>>>> report this >>>>>>>>> >> bug. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Unfortunately when this happens, the interrupts aren't >>>>>>>>> actually >>>>>>>>> >>>>>>>>> making >>>>>>>>> >>>>>>>>> it to the OS. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Can you check the output of vmstat -i whilst you're >>>>>>>>> doing it? The >>>>>>>>> >>>>>>>>> ath0 >>>>>>>>> >>>>>>>>> counter should be increasing. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> adrian >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> On 8 June 2013 06:49, Lyubomir Yotov >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> Hello, >>>>>>>>> >>>>>>>>>> I have a Thinkpad T60 with dual boot between Windows XP >>>>>>>>> and >>>>>>>>> >>>>>>>>>> FreeBSD >>>>>>>>> >>>>>>>>>> 9.1-Release: >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> uname -a >>>>>>>>> >>>>>>>>>> FreeBSD T60.workgroup 9.1-RELEASE FreeBSD 9.1-RELEASE #0 >>>>>>>>> >> r243826: >>>>>>>>> >>>>>>>>>> Tue >>>>>>>>> >>>>>>>>>> Dec >>>>>>>>> >>>>>>>>>> 4 06:55:39 UTC 2012 >>>>>>>>> >>>>>>>>>> root@obrian.cse.buffalo.edu: >>>>>>>>> /usr/obj/usr/src/sys/GENERIC >>>>>>>>> >>>>>>>>>> i386 >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> I am trying to use my wifi card which is: >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> dmesg >>>>>>>>> >>>>>>>>>> .... >>>>>>>>> >>>>>>>>>> ath0: mem 0xedf00000-0xedf0ffff irq 17 >>>>>>>>> at device >>>>>>>>> >>>>>>>>>> 0.0 on >>>>>>>>> >>>>>>>>>> pci3 >>>>>>>>> >>>>>>>>>> ath0: AR5418 mac 12.10 RF5133 phy 8.1 >>>>>>>>> >>>>>>>>>> .... >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> pciconf -lv >>>>>>>>> >>>>>>>>>> .... >>>>>>>>> >>>>>>>>>> ath0@pci0:3:0:0: class=0x028000 card=0x0033168c >>>>>>>>> >>>>>>>>>> chip=0x0024168c >>>>>>>>> >>>>>>>>>> rev=0x01 hdr=0x00 >>>>>>>>> >>>>>>>>>> vendor = 'Atheros Communications Inc.' >>>>>>>>> >>>>>>>>>> device = 'AR5008 Wireless Network Adapter' >>>>>>>>> >>>>>>>>>> class = network >>>>>>>>> >>>>>>>>>> ..... >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> I followed several HOW-TOs in order to make it work. >>>>>>>>> >> Unfortunately >>>>>>>>> >>>>>>>>>> I it >>>>>>>>> >>>>>>>>>> is >>>>>>>>> >>>>>>>>>> working only after I reboot from my Windows installation >>>>>>>>> >>>>>>>>>> (regardless of >>>>>>>>> >>>>>>>>>> the >>>>>>>>> >>>>>>>>>> position of the wifi switch on the front panel of the >>>>>>>>> notebook). >>>>>>>>> >>>>>>>>>> After >>>>>>>>> >>>>>>>>>> restart from Windows everything is fine - the wifi >>>>>>>>> associates >>>>>>>>> >> with >>>>>>>>> >>>>>>>>>> the >>>>>>>>> >>>>>>>>>> AP >>>>>>>>> >>>>>>>>>> and I can use it. If I reboot the system during the >>>>>>>>> boot and >>>>>>>>> >>>>>>>>>> afterwards >>>>>>>>> >>>>>>>>>> I >>>>>>>>> >>>>>>>>>> constantly get: >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> ath0: device timeout >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> When I get the device status through ifconfig I can see >>>>>>>>> that >>>>>>>>> >> ath0 >>>>>>>>> >>>>>>>>>> is >>>>>>>>> >>>>>>>>>> associated but wlan0 is not associated. >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> ifconfig ath0 >>>>>>>>> >>>>>>>>>> ath0: >>>>>>>>> flags=8843 metric >>>>>>>>> >> 0 >>>>>>>>> >>>>>>>>>> mtu >>>>>>>>> >>>>>>>>>> 2290 >>>>>>>>> >>>>>>>>>> ether 00:19:7e:91:xx:xx >>>>>>>>> >>>>>>>>>> nd6 >>>>>>>>> options=29 >>>>>>>>> >>>>>>>>>> media: IEEE 802.11 Wireless Ethernet autoselect >>>>>>>>> mode 11g >>>>>>>>> >>>>>>>>>> status: associated >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> ifconfig wlan0 >>>>>>>>> >>>>>>>>>> wlan0: >>>>>>>>> flags=8843 >>>>>>>>> >> metric 0 >>>>>>>>> >>>>>>>>>> mtu >>>>>>>>> >>>>>>>>>> 1500 >>>>>>>>> >>>>>>>>>> ether 00:19:7e:91:xx:xx >>>>>>>>> >>>>>>>>>> nd6 >>>>>>>>> options=29 >>>>>>>>> >>>>>>>>>> media: IEEE 802.11 Wireless Ethernet autoselect >>>>>>>>> >>>>>>>>>> (autoselect) >>>>>>>>> >>>>>>>>>> status: no carrier >>>>>>>>> >>>>>>>>>> ssid "" channel 5 (2432 MHz 11g) >>>>>>>>> >>>>>>>>>> regdomain 98 indoor ecm authmode WPA 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 >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> In /var/log/messages I get: >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> Jun 8 16:39:16 PC wpa_supplicant[3463]: Trying to >>>>>>>>> associate >>>>>>>>> >> with >>>>>>>>> >>>>>>>>>> 54:e6:fc:ae:xx:xx (SSID='access1' freq=2432 MHz) >>>>>>>>> >>>>>>>>>> Jun 8 16:39:20 PC kernel: ath0: device timeout >>>>>>>>> >>>>>>>>>> Jun 8 16:39:26 PC wpa_supplicant[3463]: Authentication >>>>>>>>> with >>>>>>>>> >>>>>>>>>> 54:e6:fc:ae:xx:xx timed out. >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> If I scan for wireless networks I get a list and my ap >>>>>>>>> is in the >>>>>>>>> >>>>>>>>>> list >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> ifconfig wlan0 scan >>>>>>>>> >>>>>>>>>> SSID/MESH ID BSSID CHAN RATE S:N >>>>>>>>> INT CAPS >>>>>>>>> >>>>>>>>>> net1 00:11:11:01:xx:xx 6 54M -68:-96 100 EP >>>>>>>>> >>>>>>>>>> 5edf9c 70:71:bc:26:xx:xx 11 54M -68:-96 >>>>>>>>> 100 EP >>>>>>>>> >> WPS >>>>>>>>> >>>>>>>>>> WPA >>>>>>>>> >>>>>>>>>> WME >>>>>>>>> >>>>>>>>>> access1 54:e6:fc:ae:xx:xx 5 54M -66:-96 100 >>>>>>>>> EP WPA >>>>>>>>> >>>>>>>>>> HTCAP >>>>>>>>> >>>>>>>>>> WME >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> In rc.local I have: >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> wlans_ath0="wlan0" >>>>>>>>> >>>>>>>>>> ifconfig_wlan0="WPA DHCP" >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> In wpa_supplicant I have: >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> ctrl_interface=/var/run/wpa_supplicant >>>>>>>>> >>>>>>>>>> eapol_version=2 >>>>>>>>> >>>>>>>>>> ap_scan=1 >>>>>>>>> >>>>>>>>>> fast_reauth=1 >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> network={ >>>>>>>>> >>>>>>>>>> ssid="access1" >>>>>>>>> >>>>>>>>>> psk="secret1" >>>>>>>>> >>>>>>>>>> priority=5 >>>>>>>>> >>>>>>>>>> } >>>>>>>>> >>>>>>>>>> network={ >>>>>>>>> >>>>>>>>>> ssid="access2" >>>>>>>>> >>>>>>>>>> psk="secret2" >>>>>>>>> >>>>>>>>>> priority=5 >>>>>>>>> >>>>>>>>>> } >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> I searched the net for solution to my problem but I >>>>>>>>> couldn't >>>>>>>>> >> find >>>>>>>>> >>>>>>>>>> one. >>>>>>>>> >>>>>>>>>> Can >>>>>>>>> >>>>>>>>>> you help me with this? >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> Regards, >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> Lyubomir >>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>> >>>>>>>>>> freebsd-mobile@freebsd.org mailing list >>>>>>>>> >>>>>>>>>> >>>>>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile >>>>>>>>> >>>>>>>>>> To unsubscribe, send any mail to >>>>>>>>> >>>>>>>>>> "freebsd-mobile-unsubscribe@freebsd.org" >>>>>>>>> >>>>>>>> >>>>>>>>> >>>>>> >>>>>>>>> > _______________________________________________ >>>>>>>>> > freebsd-wireless@freebsd.org mailing list >>>>>>>>> > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>>>>>>>> > To unsubscribe, send any mail to " >>>>>>>>> freebsd-wireless-unsubscribe@freebsd.org" >>>>>>>>> > >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >> > From owner-freebsd-wireless@FreeBSD.ORG Mon Jan 6 11:06:57 2014 Return-Path: Delivered-To: freebsd-wireless@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A73BE792 for ; Mon, 6 Jan 2014 11:06:57 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 77E4F10A1 for ; Mon, 6 Jan 2014 11:06:57 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s06B6v2s045439 for ; Mon, 6 Jan 2014 11:06:57 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s06B6vFd045437 for freebsd-wireless@FreeBSD.org; Mon, 6 Jan 2014 11:06:57 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 6 Jan 2014 11:06:57 GMT Message-Id: <201401061106.s06B6vFd045437@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-wireless@FreeBSD.org Subject: Current problem reports assigned to freebsd-wireless@FreeBSD.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Mon, 06 Jan 2014 11:06:57 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/185478 wireless [iwi] panic in iwi0 driver o kern/185425 wireless [iwn] iwn difficulties in busy radio environments o kern/185223 wireless Intel Centrino Advanced–N + WiMAX 6250: WEP vs WPA o kern/184762 wireless Wlan(Intel Centrino Wireless-N 1000) can't connect to o kern/184756 wireless [iwn] iwn(4) (5100 model) radio peridiocally gets disa o kern/184692 wireless [iwi] [panic] kernel panic in iwi0 driver o conf/184657 wireless freebsd 10 unable to connect hidden wifi o kern/184631 wireless [iwn] [patch] hook in iwn2000fw and iwn2030fw to kerne o kern/184626 wireless [wlan] wlan0 missing some ifmib(4) data o kern/183759 wireless [iwn] [wlan] Interface dies, OACTIVE set on wlan0 o kern/183727 wireless [wlan] ENOBUFFS incorrectly returned when tx packet is o kern/183644 wireless [ath] [patch] ath(4) "stops" working o kern/183430 wireless [iwn] latest change to the rate code setup uses 11n ra o kern/183428 wireless [net80211] [iwn] Some APs seem to announce HT but no H o kern/181898 wireless [iwn] [patch] Centrino Advanced-N 6235 with latest iwn o kern/181694 wireless [iwn] [patch] Initialize hardware in iwn(4) resume cod o kern/181161 wireless [wl] config a old compaq wl-110 wireless card make ker o kern/181132 wireless [iwn] stream calculation is wrong for the Intel 4965 o kern/181100 wireless [bwi] Turning up bwi0 crashes / deadlocks the kernel o kern/180816 wireless [iwl] Intel Centrino Wireless-N 2200 not supported o kern/179847 wireless [ath] [patch] Update regdomain in ath drivers includin o kern/179709 wireless [ath] Atheros 5212 does not work: stuck beacon; resett o kern/179547 wireless [ath] Add AR9485 custom board fixes (CUS198) o kern/179482 wireless [ath] [patch] Fix AR9462 external LNA configuration o kern/179269 wireless [ath] [AR9285] RX antenna diversity is not functioning o kern/179232 wireless [ath] panic in ath o kern/178986 wireless [ath] Change mac address of ath(4) is not reflected wh o kern/178492 wireless [ath] ath0 (AR9287) panic o kern/178491 wireless [ath] ath0 (AR9287) stuck beacon o kern/178477 wireless [ath] missed beacon / soft reset in STA mode results i o kern/178470 wireless [panic][ath] bss vap can and does change o kern/178411 wireless [ral] [panic] FreeBSD kernel crash in rt2860 o kern/178379 wireless [net80211] [ath] WPA rekey on the STA side fails when o kern/178378 wireless [net80211] crypto state isn't reset during a reassocia o kern/178263 wireless [ath] review the use of ic_freq / ic_ieee / ic_flags / o kern/177847 wireless [ath] With TPC enabled, TX power values aren't clamped o kern/177846 wireless [ath] [net80211] net80211 TX power limit isn't correct o conf/177688 wireless WiFi regodmains information is inconsistent between "e o kern/177530 wireless [ath] ath driver isn't 32 bit int clean o kern/177465 wireless [iwn] 20%-100% packet loss with iwn driver o kern/177451 wireless [ieee80211] page fault in ieee80211_tx_mgt_timeout o kern/176238 wireless [ath] [patch] Correct buffer size calculation and simp o kern/176201 wireless [net80211] [patch] 11n station includes unrelated ht p o kern/176104 wireless [iwn] iwn0: iwn_intr: fatal firmware error o kern/175722 wireless [ath]lot of bad seriesx hwrate in kernel messages o kern/175446 wireless [ath] high volumes of PHY errors lead to BB/MAC hangs o kern/175227 wireless [ath] beacon timers aren't necessarily reprogrammed af o kern/175183 wireless [iwn] iwn(4) becomes unresponsive during initial confi o kern/175053 wireless [iwn] iwn firmware error on 9-stable with Ultimate-N 6 o kern/174891 wireless [ieee80211] struct ieee80211_node is freed during acti o kern/174722 wireless [wlan] can't use channel 12 and 13 (14) with my wifi i o kern/174661 wireless [wlan] lost alias on wlan interface o kern/174283 wireless [net80211] panics in ieee80211_ff_age() and ieee80211_ o kern/174276 wireless [ath] if_ath memory modified after free o kern/174273 wireless [net80211] taking down a net80211 node with active fas o kern/173917 wireless [iwn] wpa-supplicant issues on iwn o kern/173898 wireless [iwn] [patch] iwn(4) DOES support 6235 chip. o kern/173883 wireless [ath] ath0: unable to attach - pci issue? o kern/173711 wireless [ath] powerd kills ath on the Asus EeePC 1005HA o kern/173342 wireless PS-Poll isn't working o kern/173336 wireless [ath] Atheros card improper device poweroff handling o o kern/172955 wireless [ath] 11n does not work in adhoc mode o kern/172706 wireless [wpi] wpi0 fails to load firmware when using country o kern/172672 wireless [ubt] Bluetooth device recognised but not working o kern/172661 wireless hostapd(8) securing wireless adapter in HostAP mode is o kern/172338 wireless [ath] [net80211] CCMP IV transmit counters are not cor o kern/171598 wireless [ath] TP-Link TL-WN951N W-LAN PCI Adapter 300 MBit stu o kern/171235 wireless [ath] ath loses connection, system freezes on netif re o kern/170889 wireless [ath] ath driver uses some uninitilized memory o kern/170620 wireless [ath] LOR and deadlock when multiple vaps are used o kern/170573 wireless [iwi] Intel 2200BG iwi NIC hangs with need multicast c o kern/170513 wireless [ath] ath logs: ath_tx_aggr_comp_aggr: AR5416 bug: o kern/170433 wireless [ath] TX hang after a stuck beacon message with active o kern/170411 wireless [ath] Uninitialized variables in if_ath.c o kern/170397 wireless [ath] [patch] Uninitialized variables in ah_eeprom_928 o kern/170302 wireless [ath] 802.11n frames are not being transmitted with mu o kern/170281 wireless [ath] 802.11n locks up on aggregation setup (ampdutx) o kern/170098 wireless [ath] [net80211] VAPs (Virtual access points) with Ath o kern/170066 wireless [ral] ral(4) rt61pci Linksys freezes the machine as so o kern/169432 wireless [ath] BAR TX hang when aggregation session is reset du p kern/169362 wireless [ath] AR5416: radar pulse PHY errors sometimes include o kern/169336 wireless [ath] ANI isn't triggering in a busy/noisy environment o kern/169199 wireless [ath] Cannot set up static ip addresses for wireless w o kern/169084 wireless [ath] suspend/resume doesn't cause a rescan; the assoc o kern/168530 wireless [ath] Broken WEP probably o kern/168393 wireless AR9285: suspend/resume sometimes fails o kern/168170 wireless [net80211] ieee80211_send_bar() doesn't complete corre o kern/167870 wireless [ath] adhoc wifi client does not join an existing IBSS o kern/167834 wireless [ath] kickpcu; 'handled 0 packets' o kern/167828 wireless [iwn] iwn(4) doesn't recover automatically after firmw o kern/167798 wireless ifconfig(8): problem with "ifconfig list scan" command o kern/167491 wireless [ath] TID != hardware queue TID in ath_tx_aggr_comp_ag o kern/167113 wireless [ath] AR5210: "stuck" TX seems to be occuring, without o kern/167080 wireless [ath] channel switch on another VAP break channel setu o kern/166684 wireless [ath] [net80211] mgmtrate/mcastrate isn't updated base p kern/166642 wireless [ieee80211] [patch] in 802.11n mode for FreeBSD AP, ha o kern/166641 wireless [ieee80211] [patch] mbuf/cluster leak in AP mode in 80 p kern/166357 wireless [ath] 802.11n TX stall when the first frame in the BAW o kern/166286 wireless [net80211] [ath] initial switch to HT40 isn't causing p kern/166190 wireless [ath] TX hangs and frames stuck in TX queue o kern/166086 wireless [Patch][ath] Reflect state of rfkill switch in a sysct o kern/165969 wireless [ath] Slower performance in adhoc mode vs Client/AP mo o kern/165966 wireless [ath] ath0: device timeout on SMP machines due to race o kern/165895 wireless [ath] overly busy cabq can tie up all tx buffers o kern/165870 wireless [bwn] bwn driver does not attach on HP Pavilion dv9420 o kern/165866 wireless [ath] TX hangs, requiring a "scan" to properly reset t o kern/165849 wireless [ath] [hang] network ath driver freeze o kern/165595 wireless [ipw] ipw(4): Can't load firmare for ipw2200bg o kern/165543 wireless [ath] ath0 endless scanning of channels without connec o kern/165517 wireless [net80211] bgscan isn't triggered when invalid beacons o kern/165475 wireless [ath] operational mode change doesn't poke the underly o kern/165382 wireless [kernel] taskqueue_unblock doesn't unblock currently q o kern/165306 wireless [ath] race conditions between scanning and beacon time o kern/165220 wireless [ath] "ath_rx_tasklet: sc_inreset_cnt > 0; skipping" m o kern/165214 wireless [ieee80211] Kernel panic in ieee80211_output.c:2505 o kern/165212 wireless [ath] No WiFi on Acer Aspire One 751h (Atheros AR5BHB6 o kern/165149 wireless [ath] [net80211] Ping with data length more than iv_fr o kern/165146 wireless [net80211] Net802.11 Fragment number is assigned 1 (sh o kern/165060 wireless [ath] vap->iv_bss race conditions causing crashes insi o kern/165021 wireless [ath] ath device timeout during scan/attach, if wlan_c o kern/164721 wireless [ath] ath device timeouts o kern/164382 wireless [ath] crash when down/deleting a vap - inside ieee8021 o kern/164365 wireless [iwi] iwi0: UP/DOWN in o bin/164102 wireless hostapd not configured for 802.11n o kern/163759 wireless [ath] ath(4) "stops working" in hostap mode o kern/163724 wireless [mwl] [patch] NULL check before dereference o kern/163719 wireless [ath] ath interface do not receive multicast o kern/163689 wireless [ath] TX timeouts when sending probe/mgmt frames durin o kern/163574 wireless [net80211] overly-frequent HT occupancy changes o kern/163573 wireless [ath] hostap mode TX buffer hang o kern/163559 wireless [ath] kernel panic AH_DEBUG o kern/163318 wireless [ath] ath(4) stops working p kern/163312 wireless [panic] [ath driver] kernel panic: page fault with ath o kern/163237 wireless [ath] AR5416 as HostAP. Delays among clients when a cl o kern/163082 wireless [ath] ar9285 diversity fixes o kern/162648 wireless [ath] AR9227 ADC DC calibration failure o kern/162647 wireless [ath] 11n TX aggregation session / TX hang o kern/161293 wireless [iwn] hang at startup when starting network o kern/161035 wireless [ieee80211] Incorrect number describing 11ng MCS rate o kern/160391 wireless [ieee80211] [patch] Panic in mesh mode o kern/160296 wireless [zyd] [panic] 802.11 usb device reboots system on 'ifc o misc/160176 wireless [mips] [panic] Kernel panic on AR7161 platform with AR o kern/157449 wireless [ath] MAC address conflict causes system to freeze o kern/157243 wireless [ath] investigate beacon TX (AP) / RX (STA) when under o kern/156904 wireless [ath] AR9285 antenna diversity algorithm is buggy and o kern/156884 wireless [ath] ath instablity o kern/156327 wireless [bwn] bwn driver causes 20%-50% packet loss o kern/156322 wireless [wpi] no ahdemo support for if_wpi o kern/156321 wireless [ath] ahdemo doesn't work with if_ath o kern/155498 wireless [ral] ral(4) needs to be resynced with OpenBSD's to ga o kern/155100 wireless [ath] ath driver on busy channel: "stuck beacon" p kern/154598 wireless [ath] Atheros 5424/2424 can't connect to WPA network o kern/154567 wireless [ath] ath(4) lot of bad series(0) o kern/154327 wireless [ath] AR5416 in station mode hangs when transmitting f o kern/154284 wireless [ath] Modern ath wifi cards (such as AR9285) have miss o kern/154153 wireless [ath] AR5213 + MIPS + WPA group key packet corruption o kern/153594 wireless [wlan] netif/devd race o kern/153448 wireless [ath] ath networking device loses association after a o kern/152750 wireless [ath] ath0 lot of bad series hwrate o kern/151198 wireless [ath] ath/5416 fails bgscan with "ath0: ath_chan_set: o kern/149786 wireless [bwn] bwn on Dell Inspiron 1150: connections stall o kern/149516 wireless [ath] ath(4) hostap with fake MAC/BSSID results in sta o kern/149373 wireless [realtek/atheros]: None of my network card working o kern/148322 wireless [ath] Triggering atheros wifi beacon misses in hostap o kern/148317 wireless [ath] FreeBSD 7.x hostap memory leak in net80211 or At o kern/148078 wireless [ath] wireless networking stops functioning o kern/146426 wireless [mwl] 802.11n rates not possible on mwl o kern/146425 wireless [mwl] mwl dropping all packets during and after high u o kern/145826 wireless [panic] [ath] Unable to configure adhoc mode on ath0/w o kern/144987 wireless [wpi] [panic] injecting packets with wlaninject using o kern/144755 wireless [wlan] netif/devd race o bin/144109 wireless hostapd(8) uses the MAC of the wireless interface, but o conf/143079 wireless hostapd(8) startup missing multi wlan functionality p kern/140567 wireless [ath] [patch] ath is not worked on my notebook PC o kern/140245 wireless [ath] [panic] Kernel panic during network activity on o kern/137592 wireless [ath] panic - 7-STABLE (Aug 7, 2009 UTC) crashes on ne o kern/136943 wireless [wpi] [lor] wpi0_com_lock / wpi0 o kern/136836 wireless [ath] atheros card stops functioning after about 12 ho o kern/132722 wireless [ath] Wifi ath0 associates fine with AP, but DHCP or I o bin/131549 wireless ifconfig(8) can't clear 'monitor' mode on the wireless o kern/126475 wireless [ath] [panic] ath pcmcia card inevitably panics under o kern/125721 wireless [ath] Terrible throughput/high ping latency with Ubiqu o kern/125617 wireless [ath] [panic] ath(4) related panic o kern/125501 wireless [ath] atheros cardbus driver hangs o kern/125332 wireless [ath] [panic] crash under any non-tiny networking unde o kern/124767 wireless [iwi] Wireless connection using iwi0 driver (Intel 220 o kern/124753 wireless [ieee80211] net80211 discards power-save queue packets o kern/121061 wireless [ath] [panic] panic while ejecting ath(4)-adapter duri o docs/120456 wireless ath(4) needs to specify requirement on wlan_scan_sta o kern/119513 wireless [ath] [irq] inserting dlink dwl-g630 wireless card res o kern/116747 wireless [ndis] FreeBSD 7.0-CURRENT crash with Dell TrueMobile f kern/105348 wireless [ath] ath device stopps TX 192 problems total. From owner-freebsd-wireless@FreeBSD.ORG Mon Jan 6 14:23:02 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3F9229DC for ; Mon, 6 Jan 2014 14:23:02 +0000 (UTC) Received: from graal.it-profi.org.ua (graal.shurik.kiev.ua [193.239.74.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EE6D315BA for ; Mon, 6 Jan 2014 14:23:01 +0000 (UTC) Received: from [93.183.237.30] (helo=thinkpad.it-profi.org.ua) by graal.it-profi.org.ua with esmtpa (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1W0Aj4-000F4s-J3 for freebsd-wireless@freebsd.org; Mon, 06 Jan 2014 16:00:18 +0200 Message-ID: <52CAB6F2.3010707@shurik.kiev.ua> Date: Mon, 06 Jan 2014 16:00:18 +0200 From: Alexandr User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: freebsd-wireless@freebsd.org Subject: Problem connecting to AP Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 93.183.237.30 X-SA-Exim-Mail-From: shuriku@shurik.kiev.ua X-SA-Exim-Scanned: No (on graal.it-profi.org.ua); SAEximRunCond expanded to false X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Mon, 06 Jan 2014 14:23:02 -0000 Hello, I recently upgraded system on my laptop to current with a hope to get my wireless card working. Now it successfully recognized by kernel: iwn0: mem 0xf2d00000-0xf2d01fff irq 17 at device 0.0 on pci3 Unfortunately, I can't connect to my home access point: wpa_supplicant[519]: wlan0: CTRL-EVENT-DISCONNECTED bssid=54:e6:fc:e4:48:c4 reason=0 wpa_supplicant[519]: wlan0: WPA: 4-Way Handshake failed - pre-shared key may be incorrect wpa_supplicant[519]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="door" auth_failures=10 duration=30 I tried different security settings (WPA-WPA2 + AES-TKIP), wireless modes, radio channels on my access point, the same error. # ifconfig wlan0 wlan0: flags=8843 metric 0 mtu 1500 ether 68:5d:43:92:3a:88 nd6 options=29 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier ssid door channel 1 (2412 MHz 11g ht/40+) country US authmode WPA2/802.11i privacy ON deftxkey UNDEF txpower 13 bmiss 10 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 64 protmode CTS ampdulimit 8k -amsdutx amsdurx shortgi wme roaming MANUAL /etc/wpa_supplicant.conf: ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel eapol_version=2 network={ ssid="door" bssid=54:e6:fc:e4:48:c4 key_mgmt=WPA-PSK proto=WPA RSN psk="secret" } Other home devices connets to AP without problems. Can you point me how I can debug it? From owner-freebsd-wireless@FreeBSD.ORG Mon Jan 6 14:24:09 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9EF6BA07 for ; Mon, 6 Jan 2014 14:24:09 +0000 (UTC) Received: from mail-qc0-x231.google.com (mail-qc0-x231.google.com [IPv6:2607:f8b0:400d:c01::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5ED6D15C5 for ; Mon, 6 Jan 2014 14:24:09 +0000 (UTC) Received: by mail-qc0-f177.google.com with SMTP id m20so17398969qcx.36 for ; Mon, 06 Jan 2014 06:24:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=J/8BDa8NDKl5HVfjNlJwytPobumYq7rO/6LKiZH2XlI=; b=g1doL6977UqnHXZQenv1t9fQEMhnTfxMcSYvgiUp5w/aZIJXKob9D79sINWGnqhB6z fse8e3auegMRo0u4QbWy/rwvDRC33oHa+nzMpIBcClKfI84PKARk+PUuY0woSM+KbrOg 8TCkHonxBQKgfXYdsEo5ED/Tkchg3flgSFHIVHAe+HWVEZ4ku3OPeCHY26Qs7+LVOTAl 4iI4M3/kX1A7G07NfcsjwPTJxyIAIfcgGTbPz+NchlbTYhra7iEmC+MN6dd9MBghmQ+J hhQD0ihI7niDqu0s84hje9Qa2CjqRGv06SxD/IQLKBFknqycLdHP3X/0dOw9wU+JykeL xYkA== MIME-Version: 1.0 X-Received: by 10.229.249.66 with SMTP id mj2mr177853971qcb.4.1389018248466; Mon, 06 Jan 2014 06:24:08 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.52.8 with HTTP; Mon, 6 Jan 2014 06:24:08 -0800 (PST) In-Reply-To: <52CAB6F2.3010707@shurik.kiev.ua> References: <52CAB6F2.3010707@shurik.kiev.ua> Date: Mon, 6 Jan 2014 06:24:08 -0800 X-Google-Sender-Auth: GJSbbxz6NEy1bGiUQ8HI8Wzkzt8 Message-ID: Subject: Re: Problem connecting to AP From: Adrian Chadd To: Alexandr Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Mon, 06 Jan 2014 14:24:09 -0000 The passphrase 'secret' is too short for WPA. I gather it's not _that_, but is it long enough to meet WPA reuirements? Have you tried removing the proto= and bssid lines? You don't strictly need them. Thanks! -a On 6 January 2014 06:00, Alexandr wrote: > Hello, > > I recently upgraded system on my laptop to current with a hope to get my > wireless card working. Now it successfully recognized by kernel: > > iwn0: mem 0xf2d00000-0xf2d01fff irq 17 > at device 0.0 on pci3 > > Unfortunately, I can't connect to my home access point: > > wpa_supplicant[519]: wlan0: CTRL-EVENT-DISCONNECTED > bssid=54:e6:fc:e4:48:c4 reason=0 > wpa_supplicant[519]: wlan0: WPA: 4-Way Handshake failed - pre-shared key > may be incorrect > wpa_supplicant[519]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 > ssid="door" auth_failures=10 duration=30 > > I tried different security settings (WPA-WPA2 + AES-TKIP), wireless > modes, radio channels on my access point, the same error. > > # ifconfig wlan0 > wlan0: flags=8843 metric 0 mtu 1500 > ether 68:5d:43:92:3a:88 > nd6 options=29 > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier > ssid door channel 1 (2412 MHz 11g ht/40+) > country US authmode WPA2/802.11i privacy ON deftxkey UNDEF > txpower 13 > bmiss 10 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 > roam:rssi 7 roam:rate 64 protmode CTS ampdulimit 8k -amsdutx amsdurx > shortgi wme roaming MANUAL > > /etc/wpa_supplicant.conf: > > ctrl_interface=/var/run/wpa_supplicant > ctrl_interface_group=wheel > eapol_version=2 > > network={ > ssid="door" > bssid=54:e6:fc:e4:48:c4 > key_mgmt=WPA-PSK > proto=WPA RSN > psk="secret" > } > > > Other home devices connets to AP without problems. Can you point me how > I can debug it? > > > > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" From owner-freebsd-wireless@FreeBSD.ORG Mon Jan 6 14:28:20 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9FAA2A79; Mon, 6 Jan 2014 14:28:20 +0000 (UTC) Received: from graal.it-profi.org.ua (graal.shurik.kiev.ua [193.239.74.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 57E6215EA; Mon, 6 Jan 2014 14:28:20 +0000 (UTC) Received: from [93.183.237.30] (helo=thinkpad.it-profi.org.ua) by graal.it-profi.org.ua with esmtpa (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1W0BAA-000FBa-IF; Mon, 06 Jan 2014 16:28:18 +0200 Message-ID: <52CABD82.2070106@shurik.kiev.ua> Date: Mon, 06 Jan 2014 16:28:18 +0200 From: Alexandr User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Adrian Chadd Subject: Re: Problem connecting to AP References: <52CAB6F2.3010707@shurik.kiev.ua> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 93.183.237.30 X-SA-Exim-Mail-From: shuriku@shurik.kiev.ua X-SA-Exim-Scanned: No (on graal.it-profi.org.ua); SAEximRunCond expanded to false Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Mon, 06 Jan 2014 14:28:20 -0000 I simply changed key in this listing to "secret". Yes, I tried a very simple configuration, no luck: network={ ssid="door" psk="secret" } 06.01.2014 16:24, Adrian Chadd пишет: > The passphrase 'secret' is too short for WPA. > > I gather it's not _that_, but is it long enough to meet WPA reuirements? > > Have you tried removing the proto= and bssid lines? You don't strictly > need them. > > Thanks! > > -a > > > On 6 January 2014 06:00, Alexandr wrote: >> Hello, >> >> I recently upgraded system on my laptop to current with a hope to get my >> wireless card working. Now it successfully recognized by kernel: >> >> iwn0: mem 0xf2d00000-0xf2d01fff irq 17 >> at device 0.0 on pci3 >> >> Unfortunately, I can't connect to my home access point: >> >> wpa_supplicant[519]: wlan0: CTRL-EVENT-DISCONNECTED >> bssid=54:e6:fc:e4:48:c4 reason=0 >> wpa_supplicant[519]: wlan0: WPA: 4-Way Handshake failed - pre-shared key >> may be incorrect >> wpa_supplicant[519]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 >> ssid="door" auth_failures=10 duration=30 >> >> I tried different security settings (WPA-WPA2 + AES-TKIP), wireless >> modes, radio channels on my access point, the same error. >> >> # ifconfig wlan0 >> wlan0: flags=8843 metric 0 mtu 1500 >> ether 68:5d:43:92:3a:88 >> nd6 options=29 >> media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) >> status: no carrier >> ssid door channel 1 (2412 MHz 11g ht/40+) >> country US authmode WPA2/802.11i privacy ON deftxkey UNDEF >> txpower 13 >> bmiss 10 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 >> roam:rssi 7 roam:rate 64 protmode CTS ampdulimit 8k -amsdutx amsdurx >> shortgi wme roaming MANUAL >> >> /etc/wpa_supplicant.conf: >> >> ctrl_interface=/var/run/wpa_supplicant >> ctrl_interface_group=wheel >> eapol_version=2 >> >> network={ >> ssid="door" >> bssid=54:e6:fc:e4:48:c4 >> key_mgmt=WPA-PSK >> proto=WPA RSN >> psk="secret" >> } >> >> >> Other home devices connets to AP without problems. Can you point me how >> I can debug it? >> >> >> >> _______________________________________________ >> freebsd-wireless@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" From owner-freebsd-wireless@FreeBSD.ORG Mon Jan 6 14:43:09 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A478B1E4 for ; Mon, 6 Jan 2014 14:43:09 +0000 (UTC) Received: from mail-qe0-x22d.google.com (mail-qe0-x22d.google.com [IPv6:2607:f8b0:400d:c02::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6213F1700 for ; Mon, 6 Jan 2014 14:43:09 +0000 (UTC) Received: by mail-qe0-f45.google.com with SMTP id 6so18060759qea.4 for ; Mon, 06 Jan 2014 06:43:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=71J4mTFN2NtllJn8dU4ExPe/4FKL+uuwNUjHXZHAops=; b=h5GWG2JY+n+/NDuXI/LiDPuLpE8SS7qTIF6FWIDcuJsr7nvpOg50nzreR+0w3B/Aal 6Rr2kVvQ93hpwOcLpHiiX72ryXFWjZ1IW00IccuBalrYD8YxAGuHVrPWNk+epGaA2ckr 5V4Y9ICjQT6LoNN2MSFzgU7nDCkWXDsjGWXwDxxLXem9m9YOmk15ViAIzyIACznYzjDg cR58suIKYdmTE1MtsYhOWYWeemUtMt+nbWgngzJjpyfugUPiiY48U784xApGF0Ntn+ul JYfpu+E+yBYHzlhyP2L9x42YooYi4s7S5ILK56C/IK/aN3CaMcsdEKORMEBJB9PX27lw pasg== MIME-Version: 1.0 X-Received: by 10.224.127.131 with SMTP id g3mr149206604qas.98.1389019388637; Mon, 06 Jan 2014 06:43:08 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.52.8 with HTTP; Mon, 6 Jan 2014 06:43:08 -0800 (PST) In-Reply-To: <52CABD82.2070106@shurik.kiev.ua> References: <52CAB6F2.3010707@shurik.kiev.ua> <52CABD82.2070106@shurik.kiev.ua> Date: Mon, 6 Jan 2014 06:43:08 -0800 X-Google-Sender-Auth: L40Yv7Jf0ZAeugrM78E_2JmeEX4 Message-ID: Subject: Re: Problem connecting to AP From: Adrian Chadd To: Alexandr Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Mon, 06 Jan 2014 14:43:09 -0000 You still need a longer password, psk isn't WPA long. Try secretsecretsecre= t. -a On 6 January 2014 06:28, Alexandr wrote: > I simply changed key in this listing to "secret". Yes, I tried a very > simple configuration, no luck: > > network=3D{ > ssid=3D"door" > psk=3D"secret" > } > > > 06.01.2014 16:24, Adrian Chadd =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >> The passphrase 'secret' is too short for WPA. >> >> I gather it's not _that_, but is it long enough to meet WPA reuirements? >> >> Have you tried removing the proto=3D and bssid lines? You don't strictly >> need them. >> >> Thanks! >> >> -a >> >> >> On 6 January 2014 06:00, Alexandr wrote: >>> Hello, >>> >>> I recently upgraded system on my laptop to current with a hope to get m= y >>> wireless card working. Now it successfully recognized by kernel: >>> >>> iwn0: mem 0xf2d00000-0xf2d01fff irq 17 >>> at device 0.0 on pci3 >>> >>> Unfortunately, I can't connect to my home access point: >>> >>> wpa_supplicant[519]: wlan0: CTRL-EVENT-DISCONNECTED >>> bssid=3D54:e6:fc:e4:48:c4 reason=3D0 >>> wpa_supplicant[519]: wlan0: WPA: 4-Way Handshake failed - pre-shared ke= y >>> may be incorrect >>> wpa_supplicant[519]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=3D0 >>> ssid=3D"door" auth_failures=3D10 duration=3D30 >>> >>> I tried different security settings (WPA-WPA2 + AES-TKIP), wireless >>> modes, radio channels on my access point, the same error. >>> >>> # ifconfig wlan0 >>> wlan0: flags=3D8843 metric 0 mt= u 1500 >>> ether 68:5d:43:92:3a:88 >>> nd6 options=3D29 >>> media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) >>> status: no carrier >>> ssid door channel 1 (2412 MHz 11g ht/40+) >>> country US authmode WPA2/802.11i privacy ON deftxkey UNDEF >>> txpower 13 >>> bmiss 10 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 >>> roam:rssi 7 roam:rate 64 protmode CTS ampdulimit 8k -amsdutx am= sdurx >>> shortgi wme roaming MANUAL >>> >>> /etc/wpa_supplicant.conf: >>> >>> ctrl_interface=3D/var/run/wpa_supplicant >>> ctrl_interface_group=3Dwheel >>> eapol_version=3D2 >>> >>> network=3D{ >>> ssid=3D"door" >>> bssid=3D54:e6:fc:e4:48:c4 >>> key_mgmt=3DWPA-PSK >>> proto=3DWPA RSN >>> psk=3D"secret" >>> } >>> >>> >>> Other home devices connets to AP without problems. Can you point me how >>> I can debug it? >>> >>> >>> >>> _______________________________________________ >>> freebsd-wireless@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.= org" > From owner-freebsd-wireless@FreeBSD.ORG Mon Jan 6 14:53:31 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A6BAF54F; Mon, 6 Jan 2014 14:53:31 +0000 (UTC) Received: from graal.it-profi.org.ua (graal.shurik.kiev.ua [193.239.74.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2F6DD17CF; Mon, 6 Jan 2014 14:53:30 +0000 (UTC) Received: from [93.183.237.30] (helo=thinkpad.it-profi.org.ua) by graal.it-profi.org.ua with esmtpa (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1W0BYX-000FIT-2z; Mon, 06 Jan 2014 16:53:29 +0200 Message-ID: <52CAC368.3000105@shurik.kiev.ua> Date: Mon, 06 Jan 2014 16:53:28 +0200 From: Alexandr User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Adrian Chadd Subject: Re: Problem connecting to AP References: <52CAB6F2.3010707@shurik.kiev.ua> <52CABD82.2070106@shurik.kiev.ua> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 93.183.237.30 X-SA-Exim-Mail-From: shuriku@shurik.kiev.ua X-SA-Exim-Scanned: No (on graal.it-profi.org.ua); SAEximRunCond expanded to false Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Mon, 06 Jan 2014 14:53:31 -0000 Ок, I changed key to "secretsecretsecret", the same error - WPA: 4-Way Handshake failed - pre-shared key may be incorrect. <3>Trying to associate with 54:e6:fc:e4:48:c4 (SSID='door' freq=2412 MHz) <3>Associated with 54:e6:fc:e4:48:c4 <3>CTRL-EVENT-DISCONNECTED bssid=54:e6:fc:e4:48:c4 reason=0 <3>WPA: 4-Way Handshake failed - pre-shared key may be incorrect <3>CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="door" auth_failures=8 duration=30 But it successfully connects to my android phone: wlan0: flags=8843 metric 0 mtu 1500 ether 68:5d:43:92:3a:88 inet 192.168.1.227 netmask 0xffffff00 broadcast 192.168.1.255 nd6 options=29 media: IEEE 802.11 Wireless Ethernet MCS mode 11ng status: associated ssid htc channel 6 (2437 MHz 11g ht/20) bssid 84:7a:88:c9:25:ce country US authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 2:128-bit txpower 15 bmiss 10 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 64 protmode CTS ampdulimit 16k -amsdutx amsdurx shortgi wme roaming MANUAL May be it AP-related problem? But why other devices works (laptop with opensuse and different android devices) 06.01.2014 16:43, Adrian Chadd пишет: > You still need a longer password, psk isn't WPA long. Try secretsecretsecret. > > > -a > > On 6 January 2014 06:28, Alexandr wrote: >> I simply changed key in this listing to "secret". Yes, I tried a very >> simple configuration, no luck: >> >> network={ >> ssid="door" >> psk="secret" >> } >> >> >> 06.01.2014 16:24, Adrian Chadd пишет: >>> The passphrase 'secret' is too short for WPA. >>> >>> I gather it's not _that_, but is it long enough to meet WPA reuirements? >>> >>> Have you tried removing the proto= and bssid lines? You don't strictly >>> need them. >>> >>> Thanks! >>> >>> -a >>> >>> >>> On 6 January 2014 06:00, Alexandr wrote: >>>> Hello, >>>> >>>> I recently upgraded system on my laptop to current with a hope to get my >>>> wireless card working. Now it successfully recognized by kernel: >>>> >>>> iwn0: mem 0xf2d00000-0xf2d01fff irq 17 >>>> at device 0.0 on pci3 >>>> >>>> Unfortunately, I can't connect to my home access point: >>>> >>>> wpa_supplicant[519]: wlan0: CTRL-EVENT-DISCONNECTED >>>> bssid=54:e6:fc:e4:48:c4 reason=0 >>>> wpa_supplicant[519]: wlan0: WPA: 4-Way Handshake failed - pre-shared key >>>> may be incorrect >>>> wpa_supplicant[519]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 >>>> ssid="door" auth_failures=10 duration=30 >>>> >>>> I tried different security settings (WPA-WPA2 + AES-TKIP), wireless >>>> modes, radio channels on my access point, the same error. >>>> >>>> # ifconfig wlan0 >>>> wlan0: flags=8843 metric 0 mtu 1500 >>>> ether 68:5d:43:92:3a:88 >>>> nd6 options=29 >>>> media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) >>>> status: no carrier >>>> ssid door channel 1 (2412 MHz 11g ht/40+) >>>> country US authmode WPA2/802.11i privacy ON deftxkey UNDEF >>>> txpower 13 >>>> bmiss 10 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 >>>> roam:rssi 7 roam:rate 64 protmode CTS ampdulimit 8k -amsdutx amsdurx >>>> shortgi wme roaming MANUAL >>>> >>>> /etc/wpa_supplicant.conf: >>>> >>>> ctrl_interface=/var/run/wpa_supplicant >>>> ctrl_interface_group=wheel >>>> eapol_version=2 >>>> >>>> network={ >>>> ssid="door" >>>> bssid=54:e6:fc:e4:48:c4 >>>> key_mgmt=WPA-PSK >>>> proto=WPA RSN >>>> psk="secret" >>>> } >>>> >>>> >>>> Other home devices connets to AP without problems. Can you point me how >>>> I can debug it? >>>> >>>> >>>> >>>> _______________________________________________ >>>> freebsd-wireless@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>>> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" From owner-freebsd-wireless@FreeBSD.ORG Mon Jan 6 14:55:49 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B843C66C for ; Mon, 6 Jan 2014 14:55:49 +0000 (UTC) Received: from mail-qc0-x235.google.com (mail-qc0-x235.google.com [IPv6:2607:f8b0:400d:c01::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 731F01806 for ; Mon, 6 Jan 2014 14:55:49 +0000 (UTC) Received: by mail-qc0-f181.google.com with SMTP id e9so17744988qcy.12 for ; Mon, 06 Jan 2014 06:55:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=D/kiHYbQQp75AA0t8tmcaNwQVwCRx7OH0KyVXHPGCow=; b=1Eq7FRhDNYRo7ghIGUTYqSjuBxJpz/5nGZakrnXMnUkbM0eUtEzYRJWCzaI9LqyGg6 YbvLJhuI1LwwCB5rOooQ5/a+sr4IVrFi9W49Htz+rz+9z9Xd8d2ai6MaDuqQoYPhQ03f cumoOsYMZtgYySf2dq8cmPFQSyT7kDzet0dRwT0f/GMqwhhKLBDbuhCUMsZNCGWUuFic CptdXKOnn/diZixjhwAACA1dIcMd1s/77FOFy3FaxDBqd4qJMTnINXEmUkbVTepl+wCQ Icuht98kyWMLqR0xHbzfMgr7UaLYLGyT4opRTBcwpyTIOKqjMGaRIJ+XoCks3ADCKZST pAlw== MIME-Version: 1.0 X-Received: by 10.49.24.140 with SMTP id u12mr135032061qef.78.1389020148634; Mon, 06 Jan 2014 06:55:48 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.52.8 with HTTP; Mon, 6 Jan 2014 06:55:48 -0800 (PST) In-Reply-To: <52CAC368.3000105@shurik.kiev.ua> References: <52CAB6F2.3010707@shurik.kiev.ua> <52CABD82.2070106@shurik.kiev.ua> <52CAC368.3000105@shurik.kiev.ua> Date: Mon, 6 Jan 2014 06:55:48 -0800 X-Google-Sender-Auth: 8BIX3vdf6U2jMAogiQrX9QI_MQ4 Message-ID: Subject: Re: Problem connecting to AP From: Adrian Chadd To: Alexandr Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Mon, 06 Jan 2014 14:55:49 -0000 Whta's logged in dmesg? -a On 6 January 2014 06:53, Alexandr wrote: > =D0=9E=D0=BA, I changed key to "secretsecretsecret", the same error - WPA= : 4-Way > Handshake failed - pre-shared key may be incorrect. > > <3>Trying to associate with 54:e6:fc:e4:48:c4 (SSID=3D'door' freq=3D2412 = MHz) > <3>Associated with 54:e6:fc:e4:48:c4 > <3>CTRL-EVENT-DISCONNECTED bssid=3D54:e6:fc:e4:48:c4 reason=3D0 > <3>WPA: 4-Way Handshake failed - pre-shared key may be incorrect > <3>CTRL-EVENT-SSID-TEMP-DISABLED id=3D0 ssid=3D"door" auth_failures=3D8 > duration=3D30 > > But it successfully connects to my android phone: > > wlan0: flags=3D8843 metric 0 mtu = 1500 > ether 68:5d:43:92:3a:88 > inet 192.168.1.227 netmask 0xffffff00 broadcast 192.168.1.255 > nd6 options=3D29 > media: IEEE 802.11 Wireless Ethernet MCS mode 11ng > status: associated > ssid htc channel 6 (2437 MHz 11g ht/20) bssid 84:7a:88:c9:25:ce > country US authmode WPA2/802.11i privacy ON deftxkey UNDEF > AES-CCM 2:128-bit txpower 15 bmiss 10 scanvalid 60 bgscan > bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 64 protmode = CTS > ampdulimit 16k -amsdutx amsdurx shortgi wme roaming MANUAL > > > May be it AP-related problem? But why other devices works (laptop with > opensuse and different android devices) > > 06.01.2014 16:43, Adrian Chadd =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >> You still need a longer password, psk isn't WPA long. Try secretsecretse= cret. >> >> >> -a >> >> On 6 January 2014 06:28, Alexandr wrote: >>> I simply changed key in this listing to "secret". Yes, I tried a very >>> simple configuration, no luck: >>> >>> network=3D{ >>> ssid=3D"door" >>> psk=3D"secret" >>> } >>> >>> >>> 06.01.2014 16:24, Adrian Chadd =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >>>> The passphrase 'secret' is too short for WPA. >>>> >>>> I gather it's not _that_, but is it long enough to meet WPA reuirement= s? >>>> >>>> Have you tried removing the proto=3D and bssid lines? You don't strict= ly >>>> need them. >>>> >>>> Thanks! >>>> >>>> -a >>>> >>>> >>>> On 6 January 2014 06:00, Alexandr wrote: >>>>> Hello, >>>>> >>>>> I recently upgraded system on my laptop to current with a hope to get= my >>>>> wireless card working. Now it successfully recognized by kernel: >>>>> >>>>> iwn0: mem 0xf2d00000-0xf2d01fff irq = 17 >>>>> at device 0.0 on pci3 >>>>> >>>>> Unfortunately, I can't connect to my home access point: >>>>> >>>>> wpa_supplicant[519]: wlan0: CTRL-EVENT-DISCONNECTED >>>>> bssid=3D54:e6:fc:e4:48:c4 reason=3D0 >>>>> wpa_supplicant[519]: wlan0: WPA: 4-Way Handshake failed - pre-shared = key >>>>> may be incorrect >>>>> wpa_supplicant[519]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=3D0 >>>>> ssid=3D"door" auth_failures=3D10 duration=3D30 >>>>> >>>>> I tried different security settings (WPA-WPA2 + AES-TKIP), wireless >>>>> modes, radio channels on my access point, the same error. >>>>> >>>>> # ifconfig wlan0 >>>>> wlan0: flags=3D8843 metric 0 = mtu 1500 >>>>> ether 68:5d:43:92:3a:88 >>>>> nd6 options=3D29 >>>>> media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) >>>>> status: no carrier >>>>> ssid door channel 1 (2412 MHz 11g ht/40+) >>>>> country US authmode WPA2/802.11i privacy ON deftxkey UNDEF >>>>> txpower 13 >>>>> bmiss 10 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 >>>>> roam:rssi 7 roam:rate 64 protmode CTS ampdulimit 8k -amsdutx = amsdurx >>>>> shortgi wme roaming MANUAL >>>>> >>>>> /etc/wpa_supplicant.conf: >>>>> >>>>> ctrl_interface=3D/var/run/wpa_supplicant >>>>> ctrl_interface_group=3Dwheel >>>>> eapol_version=3D2 >>>>> >>>>> network=3D{ >>>>> ssid=3D"door" >>>>> bssid=3D54:e6:fc:e4:48:c4 >>>>> key_mgmt=3DWPA-PSK >>>>> proto=3DWPA RSN >>>>> psk=3D"secret" >>>>> } >>>>> >>>>> >>>>> Other home devices connets to AP without problems. Can you point me h= ow >>>>> I can debug it? >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> freebsd-wireless@freebsd.org mailing list >>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>>>> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebs= d.org" > From owner-freebsd-wireless@FreeBSD.ORG Mon Jan 6 14:56:03 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C2A64687 for ; Mon, 6 Jan 2014 14:56:03 +0000 (UTC) Received: from mail-qa0-x230.google.com (mail-qa0-x230.google.com [IPv6:2607:f8b0:400d:c00::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7DD11180C for ; Mon, 6 Jan 2014 14:56:03 +0000 (UTC) Received: by mail-qa0-f48.google.com with SMTP id w5so3041907qac.14 for ; Mon, 06 Jan 2014 06:56:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=Gz3IMJEAYir8kJMD24/TJ+LaJE47o7GPC5uRrMaFTOw=; b=rVd1a2MI6HnkqonE5c6wiLRRZp1ziPAi9wIoz522hFhcXUSLMHdQJcabe1nBZr/wC6 wPADKzBzAEhDBYuOuE+/zKuDZzJTJM/Q1yMANa+9HOvpKS7mFHQayE7dK50oasefScId 2iLJhRMCyx9g3c33s7HklBBPs83/YhM7jWCqh6G7HqBFn87iTnlLJz5kzhyMKNWtn5p3 zb1+WIXDKAenrQKr9na+V3p2fKqpLaQsMQeGydhvqfi7XnvVbM5OgqD9eXI1BY+12kV+ J4zpK2MQPr6ogM2+/VBhbbdg1+d1dK4fuML4JGQKv+PDwaUNATnvzoWQLtv+HxDIsbwP YyAQ== MIME-Version: 1.0 X-Received: by 10.49.38.37 with SMTP id d5mr186362979qek.17.1389020162760; Mon, 06 Jan 2014 06:56:02 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.52.8 with HTTP; Mon, 6 Jan 2014 06:56:02 -0800 (PST) In-Reply-To: References: <52CAB6F2.3010707@shurik.kiev.ua> <52CABD82.2070106@shurik.kiev.ua> <52CAC368.3000105@shurik.kiev.ua> Date: Mon, 6 Jan 2014 06:56:02 -0800 X-Google-Sender-Auth: jgsLJpmY5pBgm6F0XyY6Mm1WIHA Message-ID: Subject: Re: Problem connecting to AP From: Adrian Chadd To: Alexandr Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Mon, 06 Jan 2014 14:56:03 -0000 .. and is the AP locked down to 11n only or something? -a On 6 January 2014 06:55, Adrian Chadd wrote: > Whta's logged in dmesg? > > > -a > > On 6 January 2014 06:53, Alexandr wrote: >> =D0=9E=D0=BA, I changed key to "secretsecretsecret", the same error - WP= A: 4-Way >> Handshake failed - pre-shared key may be incorrect. >> >> <3>Trying to associate with 54:e6:fc:e4:48:c4 (SSID=3D'door' freq=3D2412= MHz) >> <3>Associated with 54:e6:fc:e4:48:c4 >> <3>CTRL-EVENT-DISCONNECTED bssid=3D54:e6:fc:e4:48:c4 reason=3D0 >> <3>WPA: 4-Way Handshake failed - pre-shared key may be incorrect >> <3>CTRL-EVENT-SSID-TEMP-DISABLED id=3D0 ssid=3D"door" auth_failures=3D8 >> duration=3D30 >> >> But it successfully connects to my android phone: >> >> wlan0: flags=3D8843 metric 0 mtu= 1500 >> ether 68:5d:43:92:3a:88 >> inet 192.168.1.227 netmask 0xffffff00 broadcast 192.168.1.255 >> nd6 options=3D29 >> media: IEEE 802.11 Wireless Ethernet MCS mode 11ng >> status: associated >> ssid htc channel 6 (2437 MHz 11g ht/20) bssid 84:7a:88:c9:25:ce >> country US authmode WPA2/802.11i privacy ON deftxkey UNDEF >> AES-CCM 2:128-bit txpower 15 bmiss 10 scanvalid 60 bgscan >> bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 64 protmode= CTS >> ampdulimit 16k -amsdutx amsdurx shortgi wme roaming MANUAL >> >> >> May be it AP-related problem? But why other devices works (laptop with >> opensuse and different android devices) >> >> 06.01.2014 16:43, Adrian Chadd =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >>> You still need a longer password, psk isn't WPA long. Try secretsecrets= ecret. >>> >>> >>> -a >>> >>> On 6 January 2014 06:28, Alexandr wrote: >>>> I simply changed key in this listing to "secret". Yes, I tried a very >>>> simple configuration, no luck: >>>> >>>> network=3D{ >>>> ssid=3D"door" >>>> psk=3D"secret" >>>> } >>>> >>>> >>>> 06.01.2014 16:24, Adrian Chadd =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >>>>> The passphrase 'secret' is too short for WPA. >>>>> >>>>> I gather it's not _that_, but is it long enough to meet WPA reuiremen= ts? >>>>> >>>>> Have you tried removing the proto=3D and bssid lines? You don't stric= tly >>>>> need them. >>>>> >>>>> Thanks! >>>>> >>>>> -a >>>>> >>>>> >>>>> On 6 January 2014 06:00, Alexandr wrote: >>>>>> Hello, >>>>>> >>>>>> I recently upgraded system on my laptop to current with a hope to ge= t my >>>>>> wireless card working. Now it successfully recognized by kernel: >>>>>> >>>>>> iwn0: mem 0xf2d00000-0xf2d01fff irq= 17 >>>>>> at device 0.0 on pci3 >>>>>> >>>>>> Unfortunately, I can't connect to my home access point: >>>>>> >>>>>> wpa_supplicant[519]: wlan0: CTRL-EVENT-DISCONNECTED >>>>>> bssid=3D54:e6:fc:e4:48:c4 reason=3D0 >>>>>> wpa_supplicant[519]: wlan0: WPA: 4-Way Handshake failed - pre-shared= key >>>>>> may be incorrect >>>>>> wpa_supplicant[519]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=3D0 >>>>>> ssid=3D"door" auth_failures=3D10 duration=3D30 >>>>>> >>>>>> I tried different security settings (WPA-WPA2 + AES-TKIP), wireless >>>>>> modes, radio channels on my access point, the same error. >>>>>> >>>>>> # ifconfig wlan0 >>>>>> wlan0: flags=3D8843 metric 0= mtu 1500 >>>>>> ether 68:5d:43:92:3a:88 >>>>>> nd6 options=3D29 >>>>>> media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) >>>>>> status: no carrier >>>>>> ssid door channel 1 (2412 MHz 11g ht/40+) >>>>>> country US authmode WPA2/802.11i privacy ON deftxkey UNDEF >>>>>> txpower 13 >>>>>> bmiss 10 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 >>>>>> roam:rssi 7 roam:rate 64 protmode CTS ampdulimit 8k -amsdutx= amsdurx >>>>>> shortgi wme roaming MANUAL >>>>>> >>>>>> /etc/wpa_supplicant.conf: >>>>>> >>>>>> ctrl_interface=3D/var/run/wpa_supplicant >>>>>> ctrl_interface_group=3Dwheel >>>>>> eapol_version=3D2 >>>>>> >>>>>> network=3D{ >>>>>> ssid=3D"door" >>>>>> bssid=3D54:e6:fc:e4:48:c4 >>>>>> key_mgmt=3DWPA-PSK >>>>>> proto=3DWPA RSN >>>>>> psk=3D"secret" >>>>>> } >>>>>> >>>>>> >>>>>> Other home devices connets to AP without problems. Can you point me = how >>>>>> I can debug it? >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> freebsd-wireless@freebsd.org mailing list >>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>>>>> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freeb= sd.org" >> From owner-freebsd-wireless@FreeBSD.ORG Mon Jan 6 15:07:38 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DE2F1958; Mon, 6 Jan 2014 15:07:37 +0000 (UTC) Received: from graal.it-profi.org.ua (graal.shurik.kiev.ua [193.239.74.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 632AD18CA; Mon, 6 Jan 2014 15:07:36 +0000 (UTC) Received: from [93.183.237.30] (helo=thinkpad.it-profi.org.ua) by graal.it-profi.org.ua with esmtpa (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1W0BmA-000FMZ-Uw; Mon, 06 Jan 2014 17:07:35 +0200 Message-ID: <52CAC6B6.8090007@shurik.kiev.ua> Date: Mon, 06 Jan 2014 17:07:34 +0200 From: Alexandr User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Adrian Chadd Subject: Re: Problem connecting to AP References: <52CAB6F2.3010707@shurik.kiev.ua> <52CABD82.2070106@shurik.kiev.ua> <52CAC368.3000105@shurik.kiev.ua> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 93.183.237.30 X-SA-Exim-Mail-From: shuriku@shurik.kiev.ua X-SA-Exim-Scanned: No (on graal.it-profi.org.ua); SAEximRunCond expanded to false Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Mon, 06 Jan 2014 15:07:38 -0000 Yes, just now it works in 11n-only. But I tried switch it to bgn-mixed, g-only, n-only - no luck. /var/log/dmesg.today: wlan0: [54:e6:fc:e4:48:c4] recv auth frame with algorithm 0 seq 2 wlan0: link state changed to UP wlan0: [54:e6:fc:e4:48:c4] recv deauthenticate (reason 2) wlan0: link state changed to DOWN /var/log/messages: Jan 6 17:05:03 thinkpad wpa_supplicant[27113]: wlan0: Trying to associate with 54:e6:fc:e4:48:c4 (SSID='door' freq=2412 MHz) Jan 6 17:05:03 thinkpad wpa_supplicant[27113]: wlan0: Associated with 54:e6:fc:e4:48:c4 Jan 6 17:05:06 thinkpad wpa_supplicant[27113]: wlan0: CTRL-EVENT-DISCONNECTED bssid=54:e6:fc:e4:48:c4 reason=0 Jan 6 17:05:17 thinkpad wpa_supplicant[27113]: wlan0: Trying to associate with 54:e6:fc:e4:48:c4 (SSID='door' freq=2412 MHz) Jan 6 17:05:17 thinkpad wpa_supplicant[27113]: wlan0: Associated with 54:e6:fc:e4:48:c4 Jan 6 17:05:20 thinkpad wpa_supplicant[27113]: wlan0: CTRL-EVENT-DISCONNECTED bssid=54:e6:fc:e4:48:c4 reason=0 06.01.2014 16:56, Adrian Chadd пишет: > .. and is the AP locked down to 11n only or something? > > > -a > > On 6 January 2014 06:55, Adrian Chadd wrote: >> Whta's logged in dmesg? >> >> >> -a >> >> On 6 January 2014 06:53, Alexandr wrote: >>> Ок, I changed key to "secretsecretsecret", the same error - WPA: 4-Way >>> Handshake failed - pre-shared key may be incorrect. >>> >>> <3>Trying to associate with 54:e6:fc:e4:48:c4 (SSID='door' freq=2412 MHz) >>> <3>Associated with 54:e6:fc:e4:48:c4 >>> <3>CTRL-EVENT-DISCONNECTED bssid=54:e6:fc:e4:48:c4 reason=0 >>> <3>WPA: 4-Way Handshake failed - pre-shared key may be incorrect >>> <3>CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="door" auth_failures=8 >>> duration=30 >>> >>> But it successfully connects to my android phone: >>> >>> wlan0: flags=8843 metric 0 mtu 1500 >>> ether 68:5d:43:92:3a:88 >>> inet 192.168.1.227 netmask 0xffffff00 broadcast 192.168.1.255 >>> nd6 options=29 >>> media: IEEE 802.11 Wireless Ethernet MCS mode 11ng >>> status: associated >>> ssid htc channel 6 (2437 MHz 11g ht/20) bssid 84:7a:88:c9:25:ce >>> country US authmode WPA2/802.11i privacy ON deftxkey UNDEF >>> AES-CCM 2:128-bit txpower 15 bmiss 10 scanvalid 60 bgscan >>> bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 64 protmode CTS >>> ampdulimit 16k -amsdutx amsdurx shortgi wme roaming MANUAL >>> >>> >>> May be it AP-related problem? But why other devices works (laptop with >>> opensuse and different android devices) >>> >>> 06.01.2014 16:43, Adrian Chadd пишет: >>>> You still need a longer password, psk isn't WPA long. Try secretsecretsecret. >>>> >>>> >>>> -a >>>> >>>> On 6 January 2014 06:28, Alexandr wrote: >>>>> I simply changed key in this listing to "secret". Yes, I tried a very >>>>> simple configuration, no luck: >>>>> >>>>> network={ >>>>> ssid="door" >>>>> psk="secret" >>>>> } >>>>> >>>>> >>>>> 06.01.2014 16:24, Adrian Chadd пишет: >>>>>> The passphrase 'secret' is too short for WPA. >>>>>> >>>>>> I gather it's not _that_, but is it long enough to meet WPA reuirements? >>>>>> >>>>>> Have you tried removing the proto= and bssid lines? You don't strictly >>>>>> need them. >>>>>> >>>>>> Thanks! >>>>>> >>>>>> -a >>>>>> >>>>>> >>>>>> On 6 January 2014 06:00, Alexandr wrote: >>>>>>> Hello, >>>>>>> >>>>>>> I recently upgraded system on my laptop to current with a hope to get my >>>>>>> wireless card working. Now it successfully recognized by kernel: >>>>>>> >>>>>>> iwn0: mem 0xf2d00000-0xf2d01fff irq 17 >>>>>>> at device 0.0 on pci3 >>>>>>> >>>>>>> Unfortunately, I can't connect to my home access point: >>>>>>> >>>>>>> wpa_supplicant[519]: wlan0: CTRL-EVENT-DISCONNECTED >>>>>>> bssid=54:e6:fc:e4:48:c4 reason=0 >>>>>>> wpa_supplicant[519]: wlan0: WPA: 4-Way Handshake failed - pre-shared key >>>>>>> may be incorrect >>>>>>> wpa_supplicant[519]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 >>>>>>> ssid="door" auth_failures=10 duration=30 >>>>>>> >>>>>>> I tried different security settings (WPA-WPA2 + AES-TKIP), wireless >>>>>>> modes, radio channels on my access point, the same error. >>>>>>> >>>>>>> # ifconfig wlan0 >>>>>>> wlan0: flags=8843 metric 0 mtu 1500 >>>>>>> ether 68:5d:43:92:3a:88 >>>>>>> nd6 options=29 >>>>>>> media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) >>>>>>> status: no carrier >>>>>>> ssid door channel 1 (2412 MHz 11g ht/40+) >>>>>>> country US authmode WPA2/802.11i privacy ON deftxkey UNDEF >>>>>>> txpower 13 >>>>>>> bmiss 10 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 >>>>>>> roam:rssi 7 roam:rate 64 protmode CTS ampdulimit 8k -amsdutx amsdurx >>>>>>> shortgi wme roaming MANUAL >>>>>>> >>>>>>> /etc/wpa_supplicant.conf: >>>>>>> >>>>>>> ctrl_interface=/var/run/wpa_supplicant >>>>>>> ctrl_interface_group=wheel >>>>>>> eapol_version=2 >>>>>>> >>>>>>> network={ >>>>>>> ssid="door" >>>>>>> bssid=54:e6:fc:e4:48:c4 >>>>>>> key_mgmt=WPA-PSK >>>>>>> proto=WPA RSN >>>>>>> psk="secret" >>>>>>> } >>>>>>> >>>>>>> >>>>>>> Other home devices connets to AP without problems. Can you point me how >>>>>>> I can debug it? >>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> freebsd-wireless@freebsd.org mailing list >>>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>>>>>> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" From owner-freebsd-wireless@FreeBSD.ORG Mon Jan 6 15:09:00 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 38AF5DC1 for ; Mon, 6 Jan 2014 15:09:00 +0000 (UTC) Received: from mail-qe0-x235.google.com (mail-qe0-x235.google.com [IPv6:2607:f8b0:400d:c02::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E705418E9 for ; Mon, 6 Jan 2014 15:08:59 +0000 (UTC) Received: by mail-qe0-f53.google.com with SMTP id nc12so18686098qeb.12 for ; Mon, 06 Jan 2014 07:08:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=0AYnSWFomNWKff48/dhwapsw1yaFoI59BCRzljrs/GY=; b=ZSY/Cbe2XhThyaK3xFLTHzcgVxHdiKEJZZKK4C4XkqE183D0Ir9mR+wHLGq4+h2PaH xBuVE2WX7Q4ja89DLZPKw7KS6+LjIm5pFtoujDjWPIwC0+8n7EPa6RxoLgQF9xD+zw7R 056NaTJUXYFXLqDGY6EGDJGzlyb7Bml03Kopt8KPvh1OaqrJgUNB/oNoNGwtNhY+z0xo vLgTaELZu1opKIfpdcuaPaAYYDxAxEdUiES8sKKtll1Aj/iovjM+ZT/5XWGZaGqjRcGA KHIwH90usbOjHIbeDt7+zfs6ZrDPq0limznMOUfXCdcJnvdCwTBrEwVBFT6StwYhOlUc 4ppA== MIME-Version: 1.0 X-Received: by 10.49.24.140 with SMTP id u12mr135113021qef.78.1389020939182; Mon, 06 Jan 2014 07:08:59 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.52.8 with HTTP; Mon, 6 Jan 2014 07:08:59 -0800 (PST) In-Reply-To: <52CAC6B6.8090007@shurik.kiev.ua> References: <52CAB6F2.3010707@shurik.kiev.ua> <52CABD82.2070106@shurik.kiev.ua> <52CAC368.3000105@shurik.kiev.ua> <52CAC6B6.8090007@shurik.kiev.ua> Date: Mon, 6 Jan 2014 07:08:59 -0800 X-Google-Sender-Auth: --JeAsX2jpepwx3diJSSibIRsXw Message-ID: Subject: Re: Problem connecting to AP From: Adrian Chadd To: Alexandr Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Mon, 06 Jan 2014 15:09:00 -0000 Which AP is it? I kinda want to see a packet dump of the negotiation exchange. I'm worried that your AP is deciding to kick you off because you don't meet some minimum rate selection or something. -a On 6 January 2014 07:07, Alexandr wrote: > Yes, just now it works in 11n-only. But I tried switch it to bgn-mixed, > g-only, n-only - no luck. > > /var/log/dmesg.today: > > wlan0: [54:e6:fc:e4:48:c4] recv auth frame with algorithm 0 seq 2 > wlan0: link state changed to UP > wlan0: [54:e6:fc:e4:48:c4] recv deauthenticate (reason 2) > wlan0: link state changed to DOWN > > /var/log/messages: > > Jan 6 17:05:03 thinkpad wpa_supplicant[27113]: wlan0: Trying to > associate with 54:e6:fc:e4:48:c4 (SSID=3D'door' freq=3D2412 MHz) > Jan 6 17:05:03 thinkpad wpa_supplicant[27113]: wlan0: Associated with > 54:e6:fc:e4:48:c4 > Jan 6 17:05:06 thinkpad wpa_supplicant[27113]: wlan0: > CTRL-EVENT-DISCONNECTED bssid=3D54:e6:fc:e4:48:c4 reason=3D0 > Jan 6 17:05:17 thinkpad wpa_supplicant[27113]: wlan0: Trying to > associate with 54:e6:fc:e4:48:c4 (SSID=3D'door' freq=3D2412 MHz) > Jan 6 17:05:17 thinkpad wpa_supplicant[27113]: wlan0: Associated with > 54:e6:fc:e4:48:c4 > Jan 6 17:05:20 thinkpad wpa_supplicant[27113]: wlan0: > CTRL-EVENT-DISCONNECTED bssid=3D54:e6:fc:e4:48:c4 reason=3D0 > > 06.01.2014 16:56, Adrian Chadd =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >> .. and is the AP locked down to 11n only or something? >> >> >> -a >> >> On 6 January 2014 06:55, Adrian Chadd wrote: >>> Whta's logged in dmesg? >>> >>> >>> -a >>> >>> On 6 January 2014 06:53, Alexandr wrote: >>>> =D0=9E=D0=BA, I changed key to "secretsecretsecret", the same error - = WPA: 4-Way >>>> Handshake failed - pre-shared key may be incorrect. >>>> >>>> <3>Trying to associate with 54:e6:fc:e4:48:c4 (SSID=3D'door' freq=3D24= 12 MHz) >>>> <3>Associated with 54:e6:fc:e4:48:c4 >>>> <3>CTRL-EVENT-DISCONNECTED bssid=3D54:e6:fc:e4:48:c4 reason=3D0 >>>> <3>WPA: 4-Way Handshake failed - pre-shared key may be incorrect >>>> <3>CTRL-EVENT-SSID-TEMP-DISABLED id=3D0 ssid=3D"door" auth_failures=3D= 8 >>>> duration=3D30 >>>> >>>> But it successfully connects to my android phone: >>>> >>>> wlan0: flags=3D8843 metric 0 m= tu 1500 >>>> ether 68:5d:43:92:3a:88 >>>> inet 192.168.1.227 netmask 0xffffff00 broadcast 192.168.1.255 >>>> nd6 options=3D29 >>>> media: IEEE 802.11 Wireless Ethernet MCS mode 11ng >>>> status: associated >>>> ssid htc channel 6 (2437 MHz 11g ht/20) bssid 84:7a:88:c9:25:c= e >>>> country US authmode WPA2/802.11i privacy ON deftxkey UNDEF >>>> AES-CCM 2:128-bit txpower 15 bmiss 10 scanvalid 60 bgscan >>>> bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 64 protmo= de CTS >>>> ampdulimit 16k -amsdutx amsdurx shortgi wme roaming MANUAL >>>> >>>> >>>> May be it AP-related problem? But why other devices works (laptop with >>>> opensuse and different android devices) >>>> >>>> 06.01.2014 16:43, Adrian Chadd =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >>>>> You still need a longer password, psk isn't WPA long. Try secretsecre= tsecret. >>>>> >>>>> >>>>> -a >>>>> >>>>> On 6 January 2014 06:28, Alexandr wrote: >>>>>> I simply changed key in this listing to "secret". Yes, I tried a ver= y >>>>>> simple configuration, no luck: >>>>>> >>>>>> network=3D{ >>>>>> ssid=3D"door" >>>>>> psk=3D"secret" >>>>>> } >>>>>> >>>>>> >>>>>> 06.01.2014 16:24, Adrian Chadd =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >>>>>>> The passphrase 'secret' is too short for WPA. >>>>>>> >>>>>>> I gather it's not _that_, but is it long enough to meet WPA reuirem= ents? >>>>>>> >>>>>>> Have you tried removing the proto=3D and bssid lines? You don't str= ictly >>>>>>> need them. >>>>>>> >>>>>>> Thanks! >>>>>>> >>>>>>> -a >>>>>>> >>>>>>> >>>>>>> On 6 January 2014 06:00, Alexandr wrote: >>>>>>>> Hello, >>>>>>>> >>>>>>>> I recently upgraded system on my laptop to current with a hope to = get my >>>>>>>> wireless card working. Now it successfully recognized by kernel: >>>>>>>> >>>>>>>> iwn0: mem 0xf2d00000-0xf2d01fff i= rq 17 >>>>>>>> at device 0.0 on pci3 >>>>>>>> >>>>>>>> Unfortunately, I can't connect to my home access point: >>>>>>>> >>>>>>>> wpa_supplicant[519]: wlan0: CTRL-EVENT-DISCONNECTED >>>>>>>> bssid=3D54:e6:fc:e4:48:c4 reason=3D0 >>>>>>>> wpa_supplicant[519]: wlan0: WPA: 4-Way Handshake failed - pre-shar= ed key >>>>>>>> may be incorrect >>>>>>>> wpa_supplicant[519]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=3D0 >>>>>>>> ssid=3D"door" auth_failures=3D10 duration=3D30 >>>>>>>> >>>>>>>> I tried different security settings (WPA-WPA2 + AES-TKIP), wireles= s >>>>>>>> modes, radio channels on my access point, the same error. >>>>>>>> >>>>>>>> # ifconfig wlan0 >>>>>>>> wlan0: flags=3D8843 metric= 0 mtu 1500 >>>>>>>> ether 68:5d:43:92:3a:88 >>>>>>>> nd6 options=3D29 >>>>>>>> media: IEEE 802.11 Wireless Ethernet autoselect (autoselec= t) >>>>>>>> status: no carrier >>>>>>>> ssid door channel 1 (2412 MHz 11g ht/40+) >>>>>>>> country US authmode WPA2/802.11i privacy ON deftxkey UNDEF >>>>>>>> txpower 13 >>>>>>>> bmiss 10 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 25= 0 >>>>>>>> roam:rssi 7 roam:rate 64 protmode CTS ampdulimit 8k -amsdu= tx amsdurx >>>>>>>> shortgi wme roaming MANUAL >>>>>>>> >>>>>>>> /etc/wpa_supplicant.conf: >>>>>>>> >>>>>>>> ctrl_interface=3D/var/run/wpa_supplicant >>>>>>>> ctrl_interface_group=3Dwheel >>>>>>>> eapol_version=3D2 >>>>>>>> >>>>>>>> network=3D{ >>>>>>>> ssid=3D"door" >>>>>>>> bssid=3D54:e6:fc:e4:48:c4 >>>>>>>> key_mgmt=3DWPA-PSK >>>>>>>> proto=3DWPA RSN >>>>>>>> psk=3D"secret" >>>>>>>> } >>>>>>>> >>>>>>>> >>>>>>>> Other home devices connets to AP without problems. Can you point m= e how >>>>>>>> I can debug it? >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> freebsd-wireless@freebsd.org mailing list >>>>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>>>>>>> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@fre= ebsd.org" > From owner-freebsd-wireless@FreeBSD.ORG Mon Jan 6 15:17:29 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DE55D497; Mon, 6 Jan 2014 15:17:29 +0000 (UTC) Received: from graal.it-profi.org.ua (graal.shurik.kiev.ua [193.239.74.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6390519B7; Mon, 6 Jan 2014 15:17:29 +0000 (UTC) Received: from [93.183.237.30] (helo=thinkpad.it-profi.org.ua) by graal.it-profi.org.ua with esmtpa (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1W0Bvj-000FPA-Mi; Mon, 06 Jan 2014 17:17:27 +0200 Message-ID: <52CAC907.8020507@shurik.kiev.ua> Date: Mon, 06 Jan 2014 17:17:27 +0200 From: Alexandr User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Adrian Chadd Subject: Re: Problem connecting to AP References: <52CAB6F2.3010707@shurik.kiev.ua> <52CABD82.2070106@shurik.kiev.ua> <52CAC368.3000105@shurik.kiev.ua> <52CAC6B6.8090007@shurik.kiev.ua> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 93.183.237.30 X-SA-Exim-Mail-From: shuriku@shurik.kiev.ua X-SA-Exim-Scanned: No (on graal.it-profi.org.ua); SAEximRunCond expanded to false Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Mon, 06 Jan 2014 15:17:29 -0000 It's TP-Link TL-MR3420 rev.1. How can I capture a dump? AP has no such tools and it logs is clean. Can I do it from my bsd? 06.01.2014 17:08, Adrian Chadd пишет: > Which AP is it? > > I kinda want to see a packet dump of the negotiation exchange. I'm > worried that your AP is deciding to kick you off because you don't > meet some minimum rate selection or something. > > -a > > On 6 January 2014 07:07, Alexandr wrote: >> Yes, just now it works in 11n-only. But I tried switch it to bgn-mixed, >> g-only, n-only - no luck. >> >> /var/log/dmesg.today: >> >> wlan0: [54:e6:fc:e4:48:c4] recv auth frame with algorithm 0 seq 2 >> wlan0: link state changed to UP >> wlan0: [54:e6:fc:e4:48:c4] recv deauthenticate (reason 2) >> wlan0: link state changed to DOWN >> >> /var/log/messages: >> >> Jan 6 17:05:03 thinkpad wpa_supplicant[27113]: wlan0: Trying to >> associate with 54:e6:fc:e4:48:c4 (SSID='door' freq=2412 MHz) >> Jan 6 17:05:03 thinkpad wpa_supplicant[27113]: wlan0: Associated with >> 54:e6:fc:e4:48:c4 >> Jan 6 17:05:06 thinkpad wpa_supplicant[27113]: wlan0: >> CTRL-EVENT-DISCONNECTED bssid=54:e6:fc:e4:48:c4 reason=0 >> Jan 6 17:05:17 thinkpad wpa_supplicant[27113]: wlan0: Trying to >> associate with 54:e6:fc:e4:48:c4 (SSID='door' freq=2412 MHz) >> Jan 6 17:05:17 thinkpad wpa_supplicant[27113]: wlan0: Associated with >> 54:e6:fc:e4:48:c4 >> Jan 6 17:05:20 thinkpad wpa_supplicant[27113]: wlan0: >> CTRL-EVENT-DISCONNECTED bssid=54:e6:fc:e4:48:c4 reason=0 >> >> 06.01.2014 16:56, Adrian Chadd пишет: >>> .. and is the AP locked down to 11n only or something? >>> >>> >>> -a >>> >>> On 6 January 2014 06:55, Adrian Chadd wrote: >>>> Whta's logged in dmesg? >>>> >>>> >>>> -a >>>> >>>> On 6 January 2014 06:53, Alexandr wrote: >>>>> Ок, I changed key to "secretsecretsecret", the same error - WPA: 4-Way >>>>> Handshake failed - pre-shared key may be incorrect. >>>>> >>>>> <3>Trying to associate with 54:e6:fc:e4:48:c4 (SSID='door' freq=2412 MHz) >>>>> <3>Associated with 54:e6:fc:e4:48:c4 >>>>> <3>CTRL-EVENT-DISCONNECTED bssid=54:e6:fc:e4:48:c4 reason=0 >>>>> <3>WPA: 4-Way Handshake failed - pre-shared key may be incorrect >>>>> <3>CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="door" auth_failures=8 >>>>> duration=30 >>>>> >>>>> But it successfully connects to my android phone: >>>>> >>>>> wlan0: flags=8843 metric 0 mtu 1500 >>>>> ether 68:5d:43:92:3a:88 >>>>> inet 192.168.1.227 netmask 0xffffff00 broadcast 192.168.1.255 >>>>> nd6 options=29 >>>>> media: IEEE 802.11 Wireless Ethernet MCS mode 11ng >>>>> status: associated >>>>> ssid htc channel 6 (2437 MHz 11g ht/20) bssid 84:7a:88:c9:25:ce >>>>> country US authmode WPA2/802.11i privacy ON deftxkey UNDEF >>>>> AES-CCM 2:128-bit txpower 15 bmiss 10 scanvalid 60 bgscan >>>>> bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 64 protmode CTS >>>>> ampdulimit 16k -amsdutx amsdurx shortgi wme roaming MANUAL >>>>> >>>>> >>>>> May be it AP-related problem? But why other devices works (laptop with >>>>> opensuse and different android devices) >>>>> >>>>> 06.01.2014 16:43, Adrian Chadd пишет: >>>>>> You still need a longer password, psk isn't WPA long. Try secretsecretsecret. >>>>>> >>>>>> >>>>>> -a >>>>>> >>>>>> On 6 January 2014 06:28, Alexandr wrote: >>>>>>> I simply changed key in this listing to "secret". Yes, I tried a very >>>>>>> simple configuration, no luck: >>>>>>> >>>>>>> network={ >>>>>>> ssid="door" >>>>>>> psk="secret" >>>>>>> } >>>>>>> >>>>>>> >>>>>>> 06.01.2014 16:24, Adrian Chadd пишет: >>>>>>>> The passphrase 'secret' is too short for WPA. >>>>>>>> >>>>>>>> I gather it's not _that_, but is it long enough to meet WPA reuirements? >>>>>>>> >>>>>>>> Have you tried removing the proto= and bssid lines? You don't strictly >>>>>>>> need them. >>>>>>>> >>>>>>>> Thanks! >>>>>>>> >>>>>>>> -a >>>>>>>> >>>>>>>> >>>>>>>> On 6 January 2014 06:00, Alexandr wrote: >>>>>>>>> Hello, >>>>>>>>> >>>>>>>>> I recently upgraded system on my laptop to current with a hope to get my >>>>>>>>> wireless card working. Now it successfully recognized by kernel: >>>>>>>>> >>>>>>>>> iwn0: mem 0xf2d00000-0xf2d01fff irq 17 >>>>>>>>> at device 0.0 on pci3 >>>>>>>>> >>>>>>>>> Unfortunately, I can't connect to my home access point: >>>>>>>>> >>>>>>>>> wpa_supplicant[519]: wlan0: CTRL-EVENT-DISCONNECTED >>>>>>>>> bssid=54:e6:fc:e4:48:c4 reason=0 >>>>>>>>> wpa_supplicant[519]: wlan0: WPA: 4-Way Handshake failed - pre-shared key >>>>>>>>> may be incorrect >>>>>>>>> wpa_supplicant[519]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 >>>>>>>>> ssid="door" auth_failures=10 duration=30 >>>>>>>>> >>>>>>>>> I tried different security settings (WPA-WPA2 + AES-TKIP), wireless >>>>>>>>> modes, radio channels on my access point, the same error. >>>>>>>>> >>>>>>>>> # ifconfig wlan0 >>>>>>>>> wlan0: flags=8843 metric 0 mtu 1500 >>>>>>>>> ether 68:5d:43:92:3a:88 >>>>>>>>> nd6 options=29 >>>>>>>>> media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) >>>>>>>>> status: no carrier >>>>>>>>> ssid door channel 1 (2412 MHz 11g ht/40+) >>>>>>>>> country US authmode WPA2/802.11i privacy ON deftxkey UNDEF >>>>>>>>> txpower 13 >>>>>>>>> bmiss 10 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 >>>>>>>>> roam:rssi 7 roam:rate 64 protmode CTS ampdulimit 8k -amsdutx amsdurx >>>>>>>>> shortgi wme roaming MANUAL >>>>>>>>> >>>>>>>>> /etc/wpa_supplicant.conf: >>>>>>>>> >>>>>>>>> ctrl_interface=/var/run/wpa_supplicant >>>>>>>>> ctrl_interface_group=wheel >>>>>>>>> eapol_version=2 >>>>>>>>> >>>>>>>>> network={ >>>>>>>>> ssid="door" >>>>>>>>> bssid=54:e6:fc:e4:48:c4 >>>>>>>>> key_mgmt=WPA-PSK >>>>>>>>> proto=WPA RSN >>>>>>>>> psk="secret" >>>>>>>>> } >>>>>>>>> >>>>>>>>> >>>>>>>>> Other home devices connets to AP without problems. Can you point me how >>>>>>>>> I can debug it? >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> freebsd-wireless@freebsd.org mailing list >>>>>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>>>>>>>> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" From owner-freebsd-wireless@FreeBSD.ORG Mon Jan 6 16:00:56 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8347F21F for ; Mon, 6 Jan 2014 16:00:56 +0000 (UTC) Received: from mail-qe0-x230.google.com (mail-qe0-x230.google.com [IPv6:2607:f8b0:400d:c02::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 38B641F5E for ; Mon, 6 Jan 2014 16:00:56 +0000 (UTC) Received: by mail-qe0-f48.google.com with SMTP id gc15so18602096qeb.7 for ; Mon, 06 Jan 2014 08:00:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=blbg2MkNJLs3wmIiV04Kj46d4mqXi2ByWgx8r4O35/0=; b=ty2LCVUAjZh4SvBuXIu66vhmrOIVQwqL/hdMBmmfp0bvc9EairGynvwjP/vlX+2YqX ceYBSFHzPPU6rhz5hJXL9xnUVWWzyOafLhP+cY6SyiBRy+2qZ4yDT09mmbipPWYEAP6W W8WqxtNeEiw+0PtAYabZ9aqTeUPbfSsek8jrNu+33Gb/RxKgcifewCEWGt1VWEM8IBdO 5dN5KV68WpRm6EufX/9ibtpJpy2qvfHkr44Xt1jvgZz/6Z5f+sL4vaPD2vygm1ymhct5 7DAP1GhAH7Or3fXcVgqjxpOO8+GdmruqBMtA6zboz2dq+cDphuI/ZlRZDc3Ep1DDWAam Z2pw== MIME-Version: 1.0 X-Received: by 10.224.13.203 with SMTP id d11mr5035691qaa.26.1389024055448; Mon, 06 Jan 2014 08:00:55 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.52.8 with HTTP; Mon, 6 Jan 2014 08:00:55 -0800 (PST) In-Reply-To: <52CAC907.8020507@shurik.kiev.ua> References: <52CAB6F2.3010707@shurik.kiev.ua> <52CABD82.2070106@shurik.kiev.ua> <52CAC368.3000105@shurik.kiev.ua> <52CAC6B6.8090007@shurik.kiev.ua> <52CAC907.8020507@shurik.kiev.ua> Date: Mon, 6 Jan 2014 08:00:55 -0800 X-Google-Sender-Auth: LELtVQuxqzUu5sU7IH_v0Vt17PM Message-ID: Subject: Re: Problem connecting to AP From: Adrian Chadd To: Alexandr Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Mon, 06 Jan 2014 16:00:56 -0000 tcpdump -ni wlan0 -y IEEE802_11_RADIO -l -v -w pcap.out -a On 6 January 2014 07:17, Alexandr wrote: > It's TP-Link TL-MR3420 rev.1. > > How can I capture a dump? AP has no such tools and it logs is clean. Can > I do it from my bsd? > > 06.01.2014 17:08, Adrian Chadd =D0=C9=DB=C5=D4: >> Which AP is it? >> >> I kinda want to see a packet dump of the negotiation exchange. I'm >> worried that your AP is deciding to kick you off because you don't >> meet some minimum rate selection or something. >> >> -a >> >> On 6 January 2014 07:07, Alexandr wrote: >>> Yes, just now it works in 11n-only. But I tried switch it to bgn-mixed, >>> g-only, n-only - no luck. >>> >>> /var/log/dmesg.today: >>> >>> wlan0: [54:e6:fc:e4:48:c4] recv auth frame with algorithm 0 seq 2 >>> wlan0: link state changed to UP >>> wlan0: [54:e6:fc:e4:48:c4] recv deauthenticate (reason 2) >>> wlan0: link state changed to DOWN >>> >>> /var/log/messages: >>> >>> Jan 6 17:05:03 thinkpad wpa_supplicant[27113]: wlan0: Trying to >>> associate with 54:e6:fc:e4:48:c4 (SSID=3D'door' freq=3D2412 MHz) >>> Jan 6 17:05:03 thinkpad wpa_supplicant[27113]: wlan0: Associated with >>> 54:e6:fc:e4:48:c4 >>> Jan 6 17:05:06 thinkpad wpa_supplicant[27113]: wlan0: >>> CTRL-EVENT-DISCONNECTED bssid=3D54:e6:fc:e4:48:c4 reason=3D0 >>> Jan 6 17:05:17 thinkpad wpa_supplicant[27113]: wlan0: Trying to >>> associate with 54:e6:fc:e4:48:c4 (SSID=3D'door' freq=3D2412 MHz) >>> Jan 6 17:05:17 thinkpad wpa_supplicant[27113]: wlan0: Associated with >>> 54:e6:fc:e4:48:c4 >>> Jan 6 17:05:20 thinkpad wpa_supplicant[27113]: wlan0: >>> CTRL-EVENT-DISCONNECTED bssid=3D54:e6:fc:e4:48:c4 reason=3D0 >>> >>> 06.01.2014 16:56, Adrian Chadd =D0=C9=DB=C5=D4: >>>> .. and is the AP locked down to 11n only or something? >>>> >>>> >>>> -a >>>> >>>> On 6 January 2014 06:55, Adrian Chadd wrote: >>>>> Whta's logged in dmesg? >>>>> >>>>> >>>>> -a >>>>> >>>>> On 6 January 2014 06:53, Alexandr wrote: >>>>>> =EF=CB, I changed key to "secretsecretsecret", the same error - WPA:= 4-Way >>>>>> Handshake failed - pre-shared key may be incorrect. >>>>>> >>>>>> <3>Trying to associate with 54:e6:fc:e4:48:c4 (SSID=3D'door' freq=3D= 2412 MHz) >>>>>> <3>Associated with 54:e6:fc:e4:48:c4 >>>>>> <3>CTRL-EVENT-DISCONNECTED bssid=3D54:e6:fc:e4:48:c4 reason=3D0 >>>>>> <3>WPA: 4-Way Handshake failed - pre-shared key may be incorrect >>>>>> <3>CTRL-EVENT-SSID-TEMP-DISABLED id=3D0 ssid=3D"door" auth_failures= =3D8 >>>>>> duration=3D30 >>>>>> >>>>>> But it successfully connects to my android phone: >>>>>> >>>>>> wlan0: flags=3D8843 metric 0= mtu 1500 >>>>>> ether 68:5d:43:92:3a:88 >>>>>> inet 192.168.1.227 netmask 0xffffff00 broadcast 192.168.1.25= 5 >>>>>> nd6 options=3D29 >>>>>> media: IEEE 802.11 Wireless Ethernet MCS mode 11ng >>>>>> status: associated >>>>>> ssid htc channel 6 (2437 MHz 11g ht/20) bssid 84:7a:88:c9:25= :ce >>>>>> country US authmode WPA2/802.11i privacy ON deftxkey UNDEF >>>>>> AES-CCM 2:128-bit txpower 15 bmiss 10 scanvalid 60 bgscan >>>>>> bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 64 prot= mode CTS >>>>>> ampdulimit 16k -amsdutx amsdurx shortgi wme roaming MANUAL >>>>>> >>>>>> >>>>>> May be it AP-related problem? But why other devices works (laptop wi= th >>>>>> opensuse and different android devices) >>>>>> >>>>>> 06.01.2014 16:43, Adrian Chadd =D0=C9=DB=C5=D4: >>>>>>> You still need a longer password, psk isn't WPA long. Try secretsec= retsecret. >>>>>>> >>>>>>> >>>>>>> -a >>>>>>> >>>>>>> On 6 January 2014 06:28, Alexandr wrote: >>>>>>>> I simply changed key in this listing to "secret". Yes, I tried a v= ery >>>>>>>> simple configuration, no luck: >>>>>>>> >>>>>>>> network=3D{ >>>>>>>> ssid=3D"door" >>>>>>>> psk=3D"secret" >>>>>>>> } >>>>>>>> >>>>>>>> >>>>>>>> 06.01.2014 16:24, Adrian Chadd =D0=C9=DB=C5=D4: >>>>>>>>> The passphrase 'secret' is too short for WPA. >>>>>>>>> >>>>>>>>> I gather it's not _that_, but is it long enough to meet WPA reuir= ements? >>>>>>>>> >>>>>>>>> Have you tried removing the proto=3D and bssid lines? You don't s= trictly >>>>>>>>> need them. >>>>>>>>> >>>>>>>>> Thanks! >>>>>>>>> >>>>>>>>> -a >>>>>>>>> >>>>>>>>> >>>>>>>>> On 6 January 2014 06:00, Alexandr wrote: >>>>>>>>>> Hello, >>>>>>>>>> >>>>>>>>>> I recently upgraded system on my laptop to current with a hope t= o get my >>>>>>>>>> wireless card working. Now it successfully recognized by kernel: >>>>>>>>>> >>>>>>>>>> iwn0: mem 0xf2d00000-0xf2d01fff= irq 17 >>>>>>>>>> at device 0.0 on pci3 >>>>>>>>>> >>>>>>>>>> Unfortunately, I can't connect to my home access point: >>>>>>>>>> >>>>>>>>>> wpa_supplicant[519]: wlan0: CTRL-EVENT-DISCONNECTED >>>>>>>>>> bssid=3D54:e6:fc:e4:48:c4 reason=3D0 >>>>>>>>>> wpa_supplicant[519]: wlan0: WPA: 4-Way Handshake failed - pre-sh= ared key >>>>>>>>>> may be incorrect >>>>>>>>>> wpa_supplicant[519]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=3D0 >>>>>>>>>> ssid=3D"door" auth_failures=3D10 duration=3D30 >>>>>>>>>> >>>>>>>>>> I tried different security settings (WPA-WPA2 + AES-TKIP), wirel= ess >>>>>>>>>> modes, radio channels on my access point, the same error. >>>>>>>>>> >>>>>>>>>> # ifconfig wlan0 >>>>>>>>>> wlan0: flags=3D8843 metr= ic 0 mtu 1500 >>>>>>>>>> ether 68:5d:43:92:3a:88 >>>>>>>>>> nd6 options=3D29 >>>>>>>>>> media: IEEE 802.11 Wireless Ethernet autoselect (autosel= ect) >>>>>>>>>> status: no carrier >>>>>>>>>> ssid door channel 1 (2412 MHz 11g ht/40+) >>>>>>>>>> country US authmode WPA2/802.11i privacy ON deftxkey UND= EF >>>>>>>>>> txpower 13 >>>>>>>>>> bmiss 10 scanvalid 60 bgscan bgscanintvl 300 bgscanidle = 250 >>>>>>>>>> roam:rssi 7 roam:rate 64 protmode CTS ampdulimit 8k -ams= dutx amsdurx >>>>>>>>>> shortgi wme roaming MANUAL >>>>>>>>>> >>>>>>>>>> /etc/wpa_supplicant.conf: >>>>>>>>>> >>>>>>>>>> ctrl_interface=3D/var/run/wpa_supplicant >>>>>>>>>> ctrl_interface_group=3Dwheel >>>>>>>>>> eapol_version=3D2 >>>>>>>>>> >>>>>>>>>> network=3D{ >>>>>>>>>> ssid=3D"door" >>>>>>>>>> bssid=3D54:e6:fc:e4:48:c4 >>>>>>>>>> key_mgmt=3DWPA-PSK >>>>>>>>>> proto=3DWPA RSN >>>>>>>>>> psk=3D"secret" >>>>>>>>>> } >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Other home devices connets to AP without problems. Can you point= me how >>>>>>>>>> I can debug it? >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> freebsd-wireless@freebsd.org mailing list >>>>>>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>>>>>>>>> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@f= reebsd.org" > From owner-freebsd-wireless@FreeBSD.ORG Mon Jan 6 16:49:05 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 392744DA; Mon, 6 Jan 2014 16:49:05 +0000 (UTC) Received: from graal.it-profi.org.ua (graal.shurik.kiev.ua [193.239.74.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3B7FA14AC; Mon, 6 Jan 2014 16:49:03 +0000 (UTC) Received: from [93.183.237.30] (helo=thinkpad.it-profi.org.ua) by graal.it-profi.org.ua with esmtpa (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1W0DMK-000FlW-JZ; Mon, 06 Jan 2014 18:49:00 +0200 Message-ID: <52CADE7C.7040909@shurik.kiev.ua> Date: Mon, 06 Jan 2014 18:49:00 +0200 From: Alexandr User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Adrian Chadd Subject: Re: Problem connecting to AP References: <52CAB6F2.3010707@shurik.kiev.ua> <52CABD82.2070106@shurik.kiev.ua> <52CAC368.3000105@shurik.kiev.ua> <52CAC6B6.8090007@shurik.kiev.ua> <52CAC907.8020507@shurik.kiev.ua> In-Reply-To: X-SA-Exim-Connect-IP: 93.183.237.30 X-SA-Exim-Mail-From: shuriku@shurik.kiev.ua X-SA-Exim-Scanned: No (on graal.it-profi.org.ua); SAEximRunCond expanded to false Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Mon, 06 Jan 2014 16:49:05 -0000 Attached 06.01.2014 18:00, Adrian Chadd ÐÉÛÅÔ: > tcpdump -ni wlan0 -y IEEE802_11_RADIO -l -v -w pcap.out > > > -a > > On 6 January 2014 07:17, Alexandr wrote: >> It's TP-Link TL-MR3420 rev.1. >> >> How can I capture a dump? AP has no such tools and it logs is clean. Can >> I do it from my bsd? >> >> 06.01.2014 17:08, Adrian Chadd ÐÉÛÅÔ: >>> Which AP is it? >>> >>> I kinda want to see a packet dump of the negotiation exchange. I'm >>> worried that your AP is deciding to kick you off because you don't >>> meet some minimum rate selection or something. >>> >>> -a >>> >>> On 6 January 2014 07:07, Alexandr wrote: >>>> Yes, just now it works in 11n-only. But I tried switch it to bgn-mixed, >>>> g-only, n-only - no luck. >>>> >>>> /var/log/dmesg.today: >>>> >>>> wlan0: [54:e6:fc:e4:48:c4] recv auth frame with algorithm 0 seq 2 >>>> wlan0: link state changed to UP >>>> wlan0: [54:e6:fc:e4:48:c4] recv deauthenticate (reason 2) >>>> wlan0: link state changed to DOWN >>>> >>>> /var/log/messages: >>>> >>>> Jan 6 17:05:03 thinkpad wpa_supplicant[27113]: wlan0: Trying to >>>> associate with 54:e6:fc:e4:48:c4 (SSID='door' freq=2412 MHz) >>>> Jan 6 17:05:03 thinkpad wpa_supplicant[27113]: wlan0: Associated with >>>> 54:e6:fc:e4:48:c4 >>>> Jan 6 17:05:06 thinkpad wpa_supplicant[27113]: wlan0: >>>> CTRL-EVENT-DISCONNECTED bssid=54:e6:fc:e4:48:c4 reason=0 >>>> Jan 6 17:05:17 thinkpad wpa_supplicant[27113]: wlan0: Trying to >>>> associate with 54:e6:fc:e4:48:c4 (SSID='door' freq=2412 MHz) >>>> Jan 6 17:05:17 thinkpad wpa_supplicant[27113]: wlan0: Associated with >>>> 54:e6:fc:e4:48:c4 >>>> Jan 6 17:05:20 thinkpad wpa_supplicant[27113]: wlan0: >>>> CTRL-EVENT-DISCONNECTED bssid=54:e6:fc:e4:48:c4 reason=0 >>>> >>>> 06.01.2014 16:56, Adrian Chadd ÐÉÛÅÔ: >>>>> .. and is the AP locked down to 11n only or something? >>>>> >>>>> >>>>> -a >>>>> >>>>> On 6 January 2014 06:55, Adrian Chadd wrote: >>>>>> Whta's logged in dmesg? >>>>>> >>>>>> >>>>>> -a >>>>>> >>>>>> On 6 January 2014 06:53, Alexandr wrote: >>>>>>> ïË, I changed key to "secretsecretsecret", the same error - WPA: 4-Way >>>>>>> Handshake failed - pre-shared key may be incorrect. >>>>>>> >>>>>>> <3>Trying to associate with 54:e6:fc:e4:48:c4 (SSID='door' freq=2412 MHz) >>>>>>> <3>Associated with 54:e6:fc:e4:48:c4 >>>>>>> <3>CTRL-EVENT-DISCONNECTED bssid=54:e6:fc:e4:48:c4 reason=0 >>>>>>> <3>WPA: 4-Way Handshake failed - pre-shared key may be incorrect >>>>>>> <3>CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="door" auth_failures=8 >>>>>>> duration=30 >>>>>>> >>>>>>> But it successfully connects to my android phone: >>>>>>> >>>>>>> wlan0: flags=8843 metric 0 mtu 1500 >>>>>>> ether 68:5d:43:92:3a:88 >>>>>>> inet 192.168.1.227 netmask 0xffffff00 broadcast 192.168.1.255 >>>>>>> nd6 options=29 >>>>>>> media: IEEE 802.11 Wireless Ethernet MCS mode 11ng >>>>>>> status: associated >>>>>>> ssid htc channel 6 (2437 MHz 11g ht/20) bssid 84:7a:88:c9:25:ce >>>>>>> country US authmode WPA2/802.11i privacy ON deftxkey UNDEF >>>>>>> AES-CCM 2:128-bit txpower 15 bmiss 10 scanvalid 60 bgscan >>>>>>> bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 64 protmode CTS >>>>>>> ampdulimit 16k -amsdutx amsdurx shortgi wme roaming MANUAL >>>>>>> >>>>>>> >>>>>>> May be it AP-related problem? But why other devices works (laptop with >>>>>>> opensuse and different android devices) >>>>>>> >>>>>>> 06.01.2014 16:43, Adrian Chadd ÐÉÛÅÔ: >>>>>>>> You still need a longer password, psk isn't WPA long. Try secretsecretsecret. >>>>>>>> >>>>>>>> >>>>>>>> -a >>>>>>>> >>>>>>>> On 6 January 2014 06:28, Alexandr wrote: >>>>>>>>> I simply changed key in this listing to "secret". Yes, I tried a very >>>>>>>>> simple configuration, no luck: >>>>>>>>> >>>>>>>>> network={ >>>>>>>>> ssid="door" >>>>>>>>> psk="secret" >>>>>>>>> } >>>>>>>>> >>>>>>>>> >>>>>>>>> 06.01.2014 16:24, Adrian Chadd ÐÉÛÅÔ: >>>>>>>>>> The passphrase 'secret' is too short for WPA. >>>>>>>>>> >>>>>>>>>> I gather it's not _that_, but is it long enough to meet WPA reuirements? >>>>>>>>>> >>>>>>>>>> Have you tried removing the proto= and bssid lines? You don't strictly >>>>>>>>>> need them. >>>>>>>>>> >>>>>>>>>> Thanks! >>>>>>>>>> >>>>>>>>>> -a >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On 6 January 2014 06:00, Alexandr wrote: >>>>>>>>>>> Hello, >>>>>>>>>>> >>>>>>>>>>> I recently upgraded system on my laptop to current with a hope to get my >>>>>>>>>>> wireless card working. Now it successfully recognized by kernel: >>>>>>>>>>> >>>>>>>>>>> iwn0: mem 0xf2d00000-0xf2d01fff irq 17 >>>>>>>>>>> at device 0.0 on pci3 >>>>>>>>>>> >>>>>>>>>>> Unfortunately, I can't connect to my home access point: >>>>>>>>>>> >>>>>>>>>>> wpa_supplicant[519]: wlan0: CTRL-EVENT-DISCONNECTED >>>>>>>>>>> bssid=54:e6:fc:e4:48:c4 reason=0 >>>>>>>>>>> wpa_supplicant[519]: wlan0: WPA: 4-Way Handshake failed - pre-shared key >>>>>>>>>>> may be incorrect >>>>>>>>>>> wpa_supplicant[519]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 >>>>>>>>>>> ssid="door" auth_failures=10 duration=30 >>>>>>>>>>> >>>>>>>>>>> I tried different security settings (WPA-WPA2 + AES-TKIP), wireless >>>>>>>>>>> modes, radio channels on my access point, the same error. >>>>>>>>>>> >>>>>>>>>>> # ifconfig wlan0 >>>>>>>>>>> wlan0: flags=8843 metric 0 mtu 1500 >>>>>>>>>>> ether 68:5d:43:92:3a:88 >>>>>>>>>>> nd6 options=29 >>>>>>>>>>> media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) >>>>>>>>>>> status: no carrier >>>>>>>>>>> ssid door channel 1 (2412 MHz 11g ht/40+) >>>>>>>>>>> country US authmode WPA2/802.11i privacy ON deftxkey UNDEF >>>>>>>>>>> txpower 13 >>>>>>>>>>> bmiss 10 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 >>>>>>>>>>> roam:rssi 7 roam:rate 64 protmode CTS ampdulimit 8k -amsdutx amsdurx >>>>>>>>>>> shortgi wme roaming MANUAL >>>>>>>>>>> >>>>>>>>>>> /etc/wpa_supplicant.conf: >>>>>>>>>>> >>>>>>>>>>> ctrl_interface=/var/run/wpa_supplicant >>>>>>>>>>> ctrl_interface_group=wheel >>>>>>>>>>> eapol_version=2 >>>>>>>>>>> >>>>>>>>>>> network={ >>>>>>>>>>> ssid="door" >>>>>>>>>>> bssid=54:e6:fc:e4:48:c4 >>>>>>>>>>> key_mgmt=WPA-PSK >>>>>>>>>>> proto=WPA RSN >>>>>>>>>>> psk="secret" >>>>>>>>>>> } >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Other home devices connets to AP without problems. Can you point me how >>>>>>>>>>> I can debug it? >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> freebsd-wireless@freebsd.org mailing list >>>>>>>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>>>>>>>>>> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" From owner-freebsd-wireless@FreeBSD.ORG Mon Jan 6 18:50:55 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 23D0D81D; Mon, 6 Jan 2014 18:50:55 +0000 (UTC) Received: from mail-gw11.york.ac.uk (mail-gw11.york.ac.uk [144.32.129.150]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D9FEF1F25; Mon, 6 Jan 2014 18:50:54 +0000 (UTC) Received: from ury.york.ac.uk ([144.32.64.162]:39867) by mail-gw11.york.ac.uk with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1W0FGG-0002Sy-DU; Mon, 06 Jan 2014 18:50:52 +0000 Date: Mon, 6 Jan 2014 18:50:52 +0000 (GMT) From: Gavin Atkinson X-X-Sender: gavin@ury.york.ac.uk To: Adrian Chadd Subject: Re: [iwn] Centrino 135 support In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Mon, 06 Jan 2014 18:50:55 -0000 On Sat, 4 Jan 2014, Adrian Chadd wrote: > Hi! Thanks for taking=A0 look at it! >=20 > Feel free to commit the firmware files and add it to the build. >=20 > I'll look at the required driver config changes.=A0 Just drop me a separa= te patch for that. Firmware committed, patch at http://people.freebsd.org/~gavin/iwn135.diff= =20 updated. Thanks! Gavin > On Jan 4, 2014 5:55 PM, "Gavin Atkinson" wrote: >=20 > Hi all, >=20 > I have a new laptop (Lenovo G500s) with a Centrino 135, which isn't > currently supported by iwn(4). =A0According to the Linux driver, th= is > chipset requires a new firmware, but otherwise appears to be treate= d very > similarly to the 2030. >=20 > The patch at http://people.freebsd.org/~gavin/iwn135.diff works for= me. > I've tested it heavily with a IWN_DID_135_2/IWN_SDID_135_2 device o= n both > 11g and 11ng, and it seems stable (certainly no less stable than ot= her > iwn(4) interfaces...) >=20 > Is anybody able to review? >=20 > Thanks, >=20 > Gavin > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@free= bsd.org" >=20 >=20 >=20 From owner-freebsd-wireless@FreeBSD.ORG Mon Jan 6 18:57:21 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9A6299BE; Mon, 6 Jan 2014 18:57:21 +0000 (UTC) Received: from mail-qc0-x22e.google.com (mail-qc0-x22e.google.com [IPv6:2607:f8b0:400d:c01::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 465DD1F58; Mon, 6 Jan 2014 18:57:21 +0000 (UTC) Received: by mail-qc0-f174.google.com with SMTP id n7so18072596qcx.33 for ; Mon, 06 Jan 2014 10:57:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=o2waKgUHI47rJYgHbPRfT9pdsZLe5MD0d/EZDwBraIg=; b=y8V5zAJZxzIPb+iF1rYyER78jUwD5q5uYh2hZT1frI8DLZ1IX1hdqUYIBKiLnK4Kqz a19jMZWmlvZb4+sw8hYHXaH/f+KM5JqRbtA58YzXo5O+Jg0EXpoXYP2y1IcjkCu5PNKb YAKnXcf7UeGH0kVk8FYlVdQSspkywZoGuuj8GpVWSJ4AaBIlsWP8wxZwxariqZKdPRm7 RmqoRbmEas8/7gSCxY7OuC5jifwZuOTjEhGW3J90z1gndGWyWf3v/IoN6QuGZlSJDuMI d1fxNLQ2XAgAWLOOZDKxfcKMBvgwLoaHCSOm5HOn7WycMShTCjd07ECz9DxMR/2ryj4u oo7Q== MIME-Version: 1.0 X-Received: by 10.224.13.141 with SMTP id c13mr173842108qaa.76.1389034640487; Mon, 06 Jan 2014 10:57:20 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.52.8 with HTTP; Mon, 6 Jan 2014 10:57:20 -0800 (PST) In-Reply-To: References: Date: Mon, 6 Jan 2014 10:57:20 -0800 X-Google-Sender-Auth: 6_a1klxQX3gg2QDV0j1hHjs0_W0 Message-ID: Subject: Re: [iwn] Centrino 135 support From: Adrian Chadd To: Gavin Atkinson Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Mon, 06 Jan 2014 18:57:21 -0000 Hi! Cool! Now, why'd you use the 2030 limits / config? Does the linux driver code do this? -a On 6 January 2014 10:50, Gavin Atkinson wrote: > On Sat, 4 Jan 2014, Adrian Chadd wrote: > >> Hi! Thanks for taking look at it! >> >> Feel free to commit the firmware files and add it to the build. >> >> I'll look at the required driver config changes. Just drop me a separate patch for that. > > Firmware committed, patch at http://people.freebsd.org/~gavin/iwn135.diff > updated. > > Thanks! > > Gavin > >> On Jan 4, 2014 5:55 PM, "Gavin Atkinson" wrote: >> >> Hi all, >> >> I have a new laptop (Lenovo G500s) with a Centrino 135, which isn't >> currently supported by iwn(4). According to the Linux driver, this >> chipset requires a new firmware, but otherwise appears to be treated very >> similarly to the 2030. >> >> The patch at http://people.freebsd.org/~gavin/iwn135.diff works for me. >> I've tested it heavily with a IWN_DID_135_2/IWN_SDID_135_2 device on both >> 11g and 11ng, and it seems stable (certainly no less stable than other >> iwn(4) interfaces...) >> >> Is anybody able to review? >> >> Thanks, >> >> Gavin >> _______________________________________________ >> freebsd-wireless@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" >> >> >> From owner-freebsd-wireless@FreeBSD.ORG Mon Jan 6 19:09:04 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E7FABEFD; Mon, 6 Jan 2014 19:09:04 +0000 (UTC) Received: from mail-gw12.york.ac.uk (mail-gw12.york.ac.uk [144.32.129.162]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A829C112C; Mon, 6 Jan 2014 19:09:04 +0000 (UTC) Received: from ury.york.ac.uk ([144.32.64.162]:16525) by mail-gw12.york.ac.uk with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1W0FXk-0002eK-T8; Mon, 06 Jan 2014 19:08:56 +0000 Date: Mon, 6 Jan 2014 19:08:56 +0000 (GMT) From: Gavin Atkinson X-X-Sender: gavin@ury.york.ac.uk To: Adrian Chadd Subject: Re: [iwn] Centrino 135 support In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Mon, 06 Jan 2014 19:09:05 -0000 On Mon, 6 Jan 2014, Adrian Chadd wrote: > Hi! > > Cool! > > Now, why'd you use the 2030 limits / config? Does the linux driver code do this? Yes, other than the firmware itself, Linux basically treats this exactly like a 2030: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/net/wireless/iwlwifi/iwl-2000.c?id=refs/tags/v3.13-rc7 Gavin > > On 6 January 2014 10:50, Gavin Atkinson wrote: > > On Sat, 4 Jan 2014, Adrian Chadd wrote: > > > >> Hi! Thanks for taking look at it! > >> > >> Feel free to commit the firmware files and add it to the build. > >> > >> I'll look at the required driver config changes. Just drop me a separate patch for that. > > > > Firmware committed, patch at http://people.freebsd.org/~gavin/iwn135.diff > > updated. > > > > Thanks! > > > > Gavin > > > >> On Jan 4, 2014 5:55 PM, "Gavin Atkinson" wrote: > >> > >> Hi all, > >> > >> I have a new laptop (Lenovo G500s) with a Centrino 135, which isn't > >> currently supported by iwn(4). According to the Linux driver, this > >> chipset requires a new firmware, but otherwise appears to be treated very > >> similarly to the 2030. > >> > >> The patch at http://people.freebsd.org/~gavin/iwn135.diff works for me. > >> I've tested it heavily with a IWN_DID_135_2/IWN_SDID_135_2 device on both > >> 11g and 11ng, and it seems stable (certainly no less stable than other > >> iwn(4) interfaces...) > >> > >> Is anybody able to review? > >> > >> Thanks, > >> > >> Gavin > >> _______________________________________________ > >> freebsd-wireless@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > >> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" > >> > >> > >> > From owner-freebsd-wireless@FreeBSD.ORG Mon Jan 6 23:22:00 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BBEA9441 for ; Mon, 6 Jan 2014 23:22:00 +0000 (UTC) Received: from mail-ee0-x22d.google.com (mail-ee0-x22d.google.com [IPv6:2a00:1450:4013:c00::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5090315C3 for ; Mon, 6 Jan 2014 23:22:00 +0000 (UTC) Received: by mail-ee0-f45.google.com with SMTP id d49so7971693eek.18 for ; Mon, 06 Jan 2014 15:21:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=1BNa6rMud4uQOQWCHpZhpIXfdLRDIBqWmwfraSlgLxw=; b=sXijc9OqbgOIoBaYsZphCGYuIYIVgaWPaDipJrBUDG4reDLecl8ObbmaFSKnk+Jv7C r9y26u302M4txQqll4a6Gil4klFNdGJ5AdNiSdqfCZChrvEqVjQxlNFCGb7b9V9AAinD nGZb92F1qC0jlF3/KjrjA7bg0DI3LyEypUOYwduZcVi8moG91JlwZ0pNehLZWBlcz4Y+ oxLQTEP/FdnSt9TlKSNDrpaw5ymfAvNJ1W3Ktw61dGcGPbaVfcAJHQ40HG2HqGDrGrv1 nfjhYdi988Es65RXKs+YpLDvZNrJ1vrdGKwJDoca0hmWeTI+KG/I9oTVrwZXM18YlXZ7 9cjg== X-Received: by 10.15.35.194 with SMTP id g42mr2147409eev.20.1389050518737; Mon, 06 Jan 2014 15:21:58 -0800 (PST) Received: from unknown-lite.local (ip-176-199-192-126.unitymediagroup.de. [176.199.192.126]) by mx.google.com with ESMTPSA id a51sm174968099eeh.8.2014.01.06.15.21.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 06 Jan 2014 15:21:57 -0800 (PST) Message-ID: <52CB3A95.40502@gmail.com> Date: Tue, 07 Jan 2014 00:21:57 +0100 From: pbtraveller User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: freebsd-wireless@freebsd.org Subject: 802.11n on FreeBSD 10.0-RC4 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Mon, 06 Jan 2014 23:22:00 -0000 Hi, I was told that 802.11n code for atheros wifi cards was committed to FreeBSD 10.0. I am currently running a machine with FreeBSD 10.0-RC4 and the following wifi card vendor = 'Atheros Communications Inc.' device = 'AR9287 Wireless Network Adapter (PCI-Express)' class = network I loaded the following modules at boot time by placing the following in /boot/loader.conf if_ath_load="YES" if_ath_pci_load="YES" When typing ifconfig -v wlan0 list channel I only get Channel 6 : 2437 MHz 11g ht/40+ and the like but no 11n my /etc/rc.conf looks like this ... create_args_wlan0="wlanmode hostap" ifconfig_wlan0="ssid myssid mode 11n up WPA"... ifconfig shows me that the systems is running 802.11g only inet6 fe80::12fe:edff:fe75:3c2b%wlan0 prefixlen 64 tentative scopeid 0x5 nd6 options=29 media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng status: running ssid myssid channel 4 (2427 MHz 11g ht/40+) bssid 10:fe:ed:75:3c:2b regdomain 32924 country CN indoor ecm authmode WPA2/802.11i What am I doing wrong or was 802.11n not committed to FreeBSD 10 ? Many thanks! pbtraveller From owner-freebsd-wireless@FreeBSD.ORG Mon Jan 6 23:24:17 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6C1F0563 for ; Mon, 6 Jan 2014 23:24:17 +0000 (UTC) Received: from mail-qa0-x234.google.com (mail-qa0-x234.google.com [IPv6:2607:f8b0:400d:c00::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2C19115FB for ; Mon, 6 Jan 2014 23:24:17 +0000 (UTC) Received: by mail-qa0-f52.google.com with SMTP id w8so38827qac.39 for ; Mon, 06 Jan 2014 15:24:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=X2rG6L/k/tMO5Fzaui2n2JbtSfBnDNQKxNXjYmlJKrM=; b=TRrT138QrCDWQkW5Qt124tJQXg0QZ7hkvfweAteuvtceOLR/JtlYG9ZsleuWGXgPnZ U2tgIi4tdwYT6UNplTk/aAaGJJ8X5GhAFam4JbHaPFFOsYbN7QtuTy0LXgmZNy4YMQVT tkpRD7GcWCsxyVc83Wb0jyzz4CppUKMITdZja8J3Uq/WiU7lwwu8GbKXzMkS82UUd8w0 +yXmBdqz8eoqUfEJ9HF4kd/n0ODx8dntiTg0dmh/yyANwIz2K8nd8V0N0o/3x0HFWPVb Fpvt8UNDj4uk+lAeCDyM1DbP7Oe9uGKPYoh1EGVNQlHRx1MK3sY/GrE7fZbzh7jouXng Mbhw== MIME-Version: 1.0 X-Received: by 10.49.24.140 with SMTP id u12mr138954668qef.78.1389050656341; Mon, 06 Jan 2014 15:24:16 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.52.8 with HTTP; Mon, 6 Jan 2014 15:24:16 -0800 (PST) In-Reply-To: <52CB3A95.40502@gmail.com> References: <52CB3A95.40502@gmail.com> Date: Mon, 6 Jan 2014 15:24:16 -0800 X-Google-Sender-Auth: WLX4GSbm8pJWWWjx3fahgj9g9KY Message-ID: Subject: Re: 802.11n on FreeBSD 10.0-RC4 From: Adrian Chadd To: pbtraveller Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Mon, 06 Jan 2014 23:24:17 -0000 Nope, running 11ng! Look, says 11ng! on a ht/40 channel! Totally 11ng! -a On 6 January 2014 15:21, pbtraveller wrote: > Hi, > > I was told that 802.11n code for atheros wifi cards was committed to FreeBSD > 10.0. > > I am currently running a machine with FreeBSD 10.0-RC4 and the following > wifi card > > vendor = 'Atheros Communications Inc.' > device = 'AR9287 Wireless Network Adapter (PCI-Express)' > class = network > > I loaded the following modules at boot time by placing the following in > /boot/loader.conf > > if_ath_load="YES" > if_ath_pci_load="YES" > > When typing ifconfig -v wlan0 list channel I only get > > Channel 6 : 2437 MHz 11g ht/40+ > > and the like but no 11n > > my /etc/rc.conf looks like this > > ... > create_args_wlan0="wlanmode hostap" > ifconfig_wlan0="ssid myssid mode 11n up WPA"... > > ifconfig shows me that the systems is running 802.11g only > > inet6 fe80::12fe:edff:fe75:3c2b%wlan0 prefixlen 64 tentative scopeid 0x5 > nd6 options=29 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng > status: running > ssid myssid channel 4 (2427 MHz 11g ht/40+) bssid 10:fe:ed:75:3c:2b > regdomain 32924 country CN indoor ecm authmode WPA2/802.11i > > What am I doing wrong or was 802.11n not committed to FreeBSD 10 ? > > Many thanks! > > pbtraveller > > > > > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" From owner-freebsd-wireless@FreeBSD.ORG Tue Jan 7 02:52:42 2014 Return-Path: Delivered-To: freebsd-wireless@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ED921149; Tue, 7 Jan 2014 02:52:42 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C2DBC16B8; Tue, 7 Jan 2014 02:52:42 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s072qgkJ075982; Tue, 7 Jan 2014 02:52:42 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s072qgOH075981; Tue, 7 Jan 2014 02:52:42 GMT (envelope-from linimon) Date: Tue, 7 Jan 2014 02:52:42 GMT Message-Id: <201401070252.s072qgOH075981@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-wireless@FreeBSD.org From: linimon@FreeBSD.org Subject: Re: kern/185025: [iwi] iwi driver panic on 10.0rc2 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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, 07 Jan 2014 02:52:43 -0000 Old Synopsis: iwi driver panic on 10.0rc2 New Synopsis: [iwi] iwi driver panic on 10.0rc2 Responsible-Changed-From-To: freebsd-bugs->freebsd-wireless Responsible-Changed-By: linimon Responsible-Changed-When: Tue Jan 7 02:52:21 UTC 2014 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=185025 From owner-freebsd-wireless@FreeBSD.ORG Tue Jan 7 13:28:49 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8CD9B981; Tue, 7 Jan 2014 13:28:49 +0000 (UTC) Received: from man.dat.pl (dat.pl [80.51.155.34]) by mx1.freebsd.org (Postfix) with ESMTP id 15C9A17C1; Tue, 7 Jan 2014 13:28:48 +0000 (UTC) Received: from man.dat.pl (localhost [127.0.0.1]) by man.dat.pl (Postfix) with ESMTP id 81099CEF684; Tue, 7 Jan 2014 14:23:35 +0100 (CET) X-Virus-Scanned: amavisd-new at dat.pl Received: from man.dat.pl ([127.0.0.1]) by man.dat.pl (man.dat.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id grU6Oo0fBt1r; Tue, 7 Jan 2014 14:23:32 +0100 (CET) Received: from [10.0.6.81] (unknown [212.69.68.42]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by man.dat.pl (Postfix) with ESMTPSA id 77985CEF5A6; Tue, 7 Jan 2014 14:23:32 +0100 (CET) Message-ID: <52CBFFD3.1080504@dat.pl> Date: Tue, 07 Jan 2014 14:23:31 +0100 From: Maciej Milewski User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Alexandr , Adrian Chadd Subject: Re: Problem connecting to AP References: <52CAB6F2.3010707@shurik.kiev.ua> <52CABD82.2070106@shurik.kiev.ua> In-Reply-To: <52CABD82.2070106@shurik.kiev.ua> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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, 07 Jan 2014 13:28:49 -0000 On 06.01.2014 15:28, Alexandr wrote: > I simply changed key in this listing to "secret". Yes, I tried a very > simple configuration, no luck: > > network={ > ssid="door" > psk="secret" > } Try using wpa_passphrase: man wpa_passphrase. It should create correct psk. > > 06.01.2014 16:24, Adrian Chadd пишет: >> The passphrase 'secret' is too short for WPA. >> >> I gather it's not _that_, but is it long enough to meet WPA reuirements? >> >> Have you tried removing the proto= and bssid lines? You don't strictly >> need them. >> >> Thanks! >> >> -a >> >> >> On 6 January 2014 06:00, Alexandr wrote: >>> Hello, >>> >>> I recently upgraded system on my laptop to current with a hope to get my >>> wireless card working. Now it successfully recognized by kernel: >>> >>> iwn0: mem 0xf2d00000-0xf2d01fff irq 17 >>> at device 0.0 on pci3 >>> >>> Unfortunately, I can't connect to my home access point: >>> >>> wpa_supplicant[519]: wlan0: CTRL-EVENT-DISCONNECTED >>> bssid=54:e6:fc:e4:48:c4 reason=0 >>> wpa_supplicant[519]: wlan0: WPA: 4-Way Handshake failed - pre-shared key >>> may be incorrect >>> wpa_supplicant[519]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 >>> ssid="door" auth_failures=10 duration=30 >>> >>> I tried different security settings (WPA-WPA2 + AES-TKIP), wireless >>> modes, radio channels on my access point, the same error. >>> >>> # ifconfig wlan0 >>> wlan0: flags=8843 metric 0 mtu 1500 >>> ether 68:5d:43:92:3a:88 >>> nd6 options=29 >>> media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) >>> status: no carrier >>> ssid door channel 1 (2412 MHz 11g ht/40+) >>> country US authmode WPA2/802.11i privacy ON deftxkey UNDEF >>> txpower 13 >>> bmiss 10 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 >>> roam:rssi 7 roam:rate 64 protmode CTS ampdulimit 8k -amsdutx amsdurx >>> shortgi wme roaming MANUAL >>> >>> /etc/wpa_supplicant.conf: >>> >>> ctrl_interface=/var/run/wpa_supplicant >>> ctrl_interface_group=wheel >>> eapol_version=2 >>> >>> network={ >>> ssid="door" >>> bssid=54:e6:fc:e4:48:c4 >>> key_mgmt=WPA-PSK >>> proto=WPA RSN >>> psk="secret" >>> } >>> >>> >>> Other home devices connets to AP without problems. Can you point me how >>> I can debug it? >>> >>> >>> >>> _______________________________________________ >>> freebsd-wireless@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" -- Pozdrawiam, Maciej Milewski From owner-freebsd-wireless@FreeBSD.ORG Tue Jan 7 20:55:20 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 45B47536 for ; Tue, 7 Jan 2014 20:55:20 +0000 (UTC) Received: from mail-qc0-x22b.google.com (mail-qc0-x22b.google.com [IPv6:2607:f8b0:400d:c01::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0437B1D7B for ; Tue, 7 Jan 2014 20:55:19 +0000 (UTC) Received: by mail-qc0-f171.google.com with SMTP id c9so662382qcz.16 for ; Tue, 07 Jan 2014 12:55:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=c+2l7Crb1iq9Qv/uI20agymRvGDgdDoE2Q3VaRfm+WM=; b=ZTvHXTSbrjeUZEA23+OGCK+UJqaokAHyFIj6Xt0w+cgq1xR2p9sHmpvbEMH2hzlmIS dZy4othrQhRZpQ09hxLPR19J/pl4kQvK6fp6cM90OZTyTUBwJA7TNh9SfCe5YFPZscZK 5uKhoDW2emuhVGOzQIGrSSDC7le5GsxWkDALo9hWcDzDXU0q7ZAClqGNQy0nQNoEgi9b TPLTf2OnVzl+h3yLuGdzh65JzWKI9Rsj36Ses5SIt0D/9SAnihKVyAB5o9151LDYavD1 BO7PTn7Ly61jf44NTZ8blDrohXNjCAZP4vkSM7f2o5OvEYxszeQQICmdXKQiAUmmEFtt ZJ9g== MIME-Version: 1.0 X-Received: by 10.224.13.141 with SMTP id c13mr186323989qaa.76.1389128119162; Tue, 07 Jan 2014 12:55:19 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.52.8 with HTTP; Tue, 7 Jan 2014 12:55:19 -0800 (PST) In-Reply-To: <52CC6448.2070700@gmail.com> References: <52CB3A95.40502@gmail.com> <52CC6448.2070700@gmail.com> Date: Tue, 7 Jan 2014 12:55:19 -0800 X-Google-Sender-Auth: NbI9AF4S1-F-1NyYpn-VBgjqQks Message-ID: Subject: Re: 802.11n on FreeBSD 10.0-RC4 From: Adrian Chadd To: pbtraveller , "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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, 07 Jan 2014 20:55:20 -0000 Yup! 11n normally involves going from a non-11n channel (11bg, 11a) to "upgrade" to an 11n channel. So yeah, it'll look like 11g, except it'll also use 11n rates. -a On 7 January 2014 12:32, pbtraveller wrote: > Hi Adrian, > > thanks a lot for the quick response and sorry to bug you again: > > So the "ht" in > > "media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng > status: running ssid myssid channel 4 (2427 MHz 11g ht/40+)" > > means it is running 802.11n with 2x 20MHz channels? > > I am just wondering because it says "autoselect mode 11ng" and "(2427 MHz > 11g ht/40+) irrespective of whether I use mode 11g or mode 11n in > /etc/rc.conf (i.e. ifconfig_wlan0="ssid myssid mode 11g up WPA" or > "ifconfig_wlan0="ssid myssid mode 11n up WPA"). The only difference is the > channel that is being used (channel 7 in case of mode 11g and channel 4 in > case of mode 11n). > > Also the throughput of the wifi device is still considerably lower than the > throughput of the 100 Mbit/s ethernet device of the same machine. > > Many thanks and kind regards! > > pbtraveller > > > > > > > > Am 07.01.14 00:24, schrieb Adrian Chadd: > > Nope, running 11ng! Look, says 11ng! on a ht/40 channel! Totally 11ng! > > -a > > > On 6 January 2014 15:21, pbtraveller wrote: > > Hi, > > I was told that 802.11n code for atheros wifi cards was committed to FreeBSD > 10.0. > > I am currently running a machine with FreeBSD 10.0-RC4 and the following > wifi card > > vendor = 'Atheros Communications Inc.' > device = 'AR9287 Wireless Network Adapter (PCI-Express)' > class = network > > I loaded the following modules at boot time by placing the following in > /boot/loader.conf > > if_ath_load="YES" > if_ath_pci_load="YES" > > When typing ifconfig -v wlan0 list channel I only get > > Channel 6 : 2437 MHz 11g ht/40+ > > and the like but no 11n > > my /etc/rc.conf looks like this > > ... > create_args_wlan0="wlanmode hostap" > ifconfig_wlan0="ssid myssid mode 11n up WPA"... > > ifconfig shows me that the systems is running 802.11g only > > inet6 fe80::12fe:edff:fe75:3c2b%wlan0 prefixlen 64 tentative scopeid 0x5 > nd6 options=29 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng > status: running > ssid myssid channel 4 (2427 MHz 11g ht/40+) bssid 10:fe:ed:75:3c:2b > regdomain 32924 country CN indoor ecm authmode WPA2/802.11i > > What am I doing wrong or was 802.11n not committed to FreeBSD 10 ? > > Many thanks! > > pbtraveller > > > > > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" > > From owner-freebsd-wireless@FreeBSD.ORG Tue Jan 7 23:00:21 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CF001612; Tue, 7 Jan 2014 23:00:21 +0000 (UTC) Received: from mail-qc0-x232.google.com (mail-qc0-x232.google.com [IPv6:2607:f8b0:400d:c01::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7BE3417D0; Tue, 7 Jan 2014 23:00:21 +0000 (UTC) Received: by mail-qc0-f178.google.com with SMTP id i17so800735qcy.23 for ; Tue, 07 Jan 2014 15:00:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=794yhQoNwU7hjkQMiSLQA9y3p64/BHWl4vNEGv+zGuY=; b=PXss4g0j5dxrJdwifFVglcpzBHTVVmV/DrGzkSpKNvaoaFZzvDnyt4OmsaZk5E70Sq DVPToSZ6Hk1wV6OJ7wqPvMEUmhDZdkue/hHJb3VIRBNPF0gmdonkamghf7VgijzgSvXK Slfk4G0oT5or4ap1G73+zCnA3oQvgFMZzD+18SwuKt4h2g4xvxqgdglIgdgf6SenabPV th8EZn60YnWAn1MmZmXBrVaKQgdcYE3CJnN7MhWXXEA8TPe7fBtbMK8N7QAi16uIRGam KjmgiFGkXxoQDjWkjNLHMQE6icdvc1/meiOsyYj0rum9D6Cw1BtiS/CCVEnHUbNSeN8p 3OqA== MIME-Version: 1.0 X-Received: by 10.49.24.140 with SMTP id u12mr150937572qef.78.1389135620711; Tue, 07 Jan 2014 15:00:20 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.52.8 with HTTP; Tue, 7 Jan 2014 15:00:20 -0800 (PST) In-Reply-To: <79AEC286-90EB-41D0-8CA8-18A78D53C3C6@pean.org> References: <79AEC286-90EB-41D0-8CA8-18A78D53C3C6@pean.org> Date: Tue, 7 Jan 2014 15:00:20 -0800 X-Google-Sender-Auth: aKObMfPasoMJ54lcZVf18wYPRyI Message-ID: Subject: Re: wpa_supplicant problem. From: Adrian Chadd To: =?ISO-8859-1?Q?Peter_Ankerst=E5l?= , "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Cc: "stable@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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, 07 Jan 2014 23:00:21 -0000 hi, please retry with the only network block entries being: ssid=3D psk=3D .. and let wpa_supplicant figure it out. -a On 7 January 2014 13:07, Peter Ankerst=E5l wrote: > Hi! > > Im trying to connect from a Lenovo X220 to my FreeBSD router running host= apd. The router is supporting > a lot of other clients (OS X and iOS) without any problems. And my lapto= p can connect to my phone when > I set it up as a hotspot. > > Lenovo X220: > FreeBSD lenny 10.0-RC2 FreeBSD 10.0-RC2 #0 r259404: Sun Dec 15 08:18:20 U= TC 2013 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 > > iwn0@pci0:3:0:0: class=3D0x028000 card=3D0x13118086 chip=3D0x00858= 086 rev=3D0x34 hdr=3D0x00 > vendor =3D 'Intel Corporation' > device =3D 'Centrino Advanced-N 6205 [Taylor Peak]' > class =3D network > > # cat /etc/wpa_supplicant.conf > ctrl_interface=3D/var/run/wpa_supplicant > eapol_version=3D2 > ap_scan=3D1 > fast_reauth=3D1 > > network=3D{ > priority=3D100 > proto=3DRSN WPA > ssid=3D"web" > key_mgmt=3DWPA-PSK > pairwise=3DCCMP TKIP > group=3DCCMP TKIP > psk=3D=93secret=94 > } > > Router: > FreeBSD gw 10.0-RC1 FreeBSD 10.0-RC1 #3 r259258: Thu Dec 12 16:21:37 CET = 2013 root@gw:/usr/obj/usr/src/sys/SOEKRIS i386 > > ath0@pci0:7:0:0: class=3D0x028000 card=3D0x3114168c chip=3D0x00301= 68c rev=3D0x01 hdr=3D0x00 > vendor =3D 'Atheros Communications Inc.' > device =3D 'AR9300 Wireless LAN adaptor' > class =3D network > > # cat /etc/hostapd.conf > interface=3Dwlan0 > driver=3Dbsd > debug=3D0 > ctrl_interface=3D/var/run/hostapd > ctrl_interface_group=3Dwheel > ssid=3Dweb > wpa=3D2 > wpa_passphrase=3Dsecret > wpa_key_mgmt=3DWPA-PSK > wpa_pairwise=3DCCMP TKIP > rsn_pairwise=3DCCMP > > > debug output from wpa_supplicant. > # wpa_supplicant -D bsd -i wlan0 -d -c /etc/wpa_supplicant.conf > wpa_supplicant v2.0 > Successfully initialized wpa_supplicant > Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'bs= d' ctrl_interface 'N/A' bridge 'N/A' > Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.con= f' > Reading configuration file '/etc/wpa_supplicant.conf' > ctrl_interface=3D'/var/run/wpa_supplicant' > eapol_version=3D2 > ap_scan=3D1 > fast_reauth=3D1 > Priority group 100 > id=3D0 ssid=3D'web' > wpa_driver_bsd_capa: drivercaps=3D0x2581e201,cryptocaps=3D0x00000000 > wlan0: Own MAC address: f0:de:f1:c9:14:4d > bsd_set_key: alg=3D0 addr=3D0x0 key_idx=3D0 set_tx=3D0 seq_len=3D0 key_le= n=3D0 > bsd_del_key: key_idx=3D0 > bsd_set_key: alg=3D0 addr=3D0x0 key_idx=3D1 set_tx=3D0 seq_len=3D0 key_le= n=3D0 > bsd_del_key: key_idx=3D1 > bsd_set_key: alg=3D0 addr=3D0x0 key_idx=3D2 set_tx=3D0 seq_len=3D0 key_le= n=3D0 > bsd_del_key: key_idx=3D2 > bsd_set_key: alg=3D0 addr=3D0x0 key_idx=3D3 set_tx=3D0 seq_len=3D0 key_le= n=3D0 > bsd_del_key: key_idx=3D3 > wpa_driver_bsd_set_countermeasures: enabled=3D0 > wlan0: RSN: flushing PMKID list in the driver > wlan0: Setting scan request: 0 sec 100000 usec > WPS: Set UUID for interface wlan0 > WPS: UUID based on MAC address - hexdump(len=3D16): f4 2a e7 3f ed 75 52 = b7 99 15 e0 56 b1 07 04 4f > EAPOL: SUPP_PAE entering state DISCONNECTED > EAPOL: Supplicant port status: Unauthorized > EAPOL: KEY_RX entering state NO_KEY_RECEIVE > EAPOL: SUPP_BE entering state INITIALIZE > EAP: EAP entering state DISABLED > EAPOL: Supplicant port status: Unauthorized > EAPOL: Supplicant port status: Unauthorized > wlan0: Added interface wlan0 > wlan0: State: DISCONNECTED -> DISCONNECTED > wlan0: State: DISCONNECTED -> SCANNING > wlan0: Starting AP scan for wildcard SSID > wpa_driver_bsd_set_wpa: enabled=3D1 > wpa_driver_bsd_set_wpa_internal: wpa=3D3 privacy=3D1 > EAPOL: disable timer tick > EAPOL: Supplicant port status: Unauthorized > wlan0: Event SCAN_RESULTS (3) received > Received 2508 bytes of scan results (9 BSSes) > wlan0: BSS: Start scan result update 1 > wlan0: BSS: Add new id 0 BSSID 04:f0:21:01:3d:87 SSID 'web' > wlan0: BSS: Add new id 1 BSSID 8a:08:93:36:a1:10 SSID 'Mavar' > wlan0: BSS: Add new id 2 BSSID 88:1f:a1:36:93:08 SSID 'Gotland' > wlan0: BSS: Add new id 3 BSSID 8a:09:93:36:a1:10 SSID 'Mavar' > wlan0: BSS: Add new id 4 BSSID 88:1f:a1:36:93:09 SSID 'Gotland++' > wlan0: BSS: Add new id 5 BSSID 58:98:35:ba:2c:17 SSID 'Katyusha' > wlan0: BSS: Add new id 6 BSSID 58:98:35:be:ef:9f SSID 'TeliaGateway58-98-= 35-BE-EF-9F' > wlan0: BSS: Add new id 7 BSSID cc:b2:55:94:23:e8 SSID 'P-sons' > wlan0: BSS: Add new id 8 BSSID a0:21:b7:b4:55:d8 SSID 'Bonnier' > BSS: last_scan_res_used=3D9/32 last_scan_full=3D0 > wlan0: New scan results available > WPS: AP cc:b2:55:94:23:e8 type 0 added > WPS: AP a0:21:b7:b4:55:d8 type 0 added > WPS: AP[0] cc:b2:55:94:23:e8 type=3D0 tries=3D0 last_attempt=3D-1 sec ago= blacklist=3D0 > WPS: AP[1] a0:21:b7:b4:55:d8 type=3D0 tries=3D0 last_attempt=3D-1 sec ago= blacklist=3D0 > wlan0: Selecting BSS from priority group 100 > wlan0: 0: 04:f0:21:01:3d:87 ssid=3D'web' wpa_ie_len=3D0 rsn_ie_len=3D20 c= aps=3D0x11 level=3D-67 > wlan0: selected based on RSN IE > wlan0: selected BSS 04:f0:21:01:3d:87 ssid=3D'web' > wlan0: Request association: reassociate: 0 selected: 04:f0:21:01:3d:87 = bssid: 00:00:00:00:00:00 pending: 00:00:00:00:00:00 wpa_ > state: SCANNING > wlan0: Trying to associate with 04:f0:21:01:3d:87 (SSID=3D'web' freq=3D52= 80 MHz) > FT: Stored MDIE and FTIE from (Re)Association Response - hexdump(len=3D0)= : > wlan0: Cancelling scan request > wlan0: WPA: clearing own WPA/RSN IE > wlan0: Automatic auth_alg selection: 0x1 > RSN: PMKSA cache search - network_ctx=3D0x0 try_opportunistic=3D0 > RSN: Search for BSSID 04:f0:21:01:3d:87 > RSN: No PMKSA cache entry found > wlan0: RSN: using IEEE 802.11i/D9.0 > wlan0: WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 proto= 2 > wlan0: WPA: clearing AP WPA IE > WPA: set AP RSN IE - hexdump(len=3D22): 30 14 01 00 00 0f ac 04 01 00 00 = 0f ac 04 01 00 00 0f ac 02 0c 00 > wlan0: WPA: using GTK CCMP > wlan0: WPA: using PTK CCMP > wlan0: WPA: using KEY_MGMT WPA-PSK > WPA: Set own WPA IE default - hexdump(len=3D22): 30 14 01 00 00 0f ac 04 = 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 > wlan0: No keys have been configured - skip key clearing > wlan0: State: SCANNING -> ASSOCIATING > Limit connection to BSSID 04:f0:21:01:3d:87 freq=3D5280 MHz based on scan= results (bssid_set=3D0) > wpa_driver_bsd_associate: ssid 'web' wpa ie len 22 pairwise 3 group 3 key= mgmt 1 > wpa_driver_bsd_set_drop_unencrypted: enabled=3D1 > bsd_set_opt_ie: set WPA+RSN ie (len 22) > wpa_driver_bsd_associate: set PRIVACY 1 > wlan0: Setting authentication timeout: 10 sec 0 usec > EAPOL: External notification - EAP success=3D0 > EAPOL: Supplicant port status: Unauthorized > EAPOL: External notification - EAP fail=3D0 > EAPOL: Supplicant port status: Unauthorized > EAPOL: External notification - portControl=3DAuto > EAPOL: Supplicant port status: Unauthorized > RSN: Ignored PMKID candidate without preauth flag > wlan0: Event ASSOC (0) received > wlan0: State: ASSOCIATING -> ASSOCIATED > wlan0: Associated to a new BSS: BSSID=3D04:f0:21:01:3d:87 > wlan0: No keys have been configured - skip key clearing > wlan0: Associated with 04:f0:21:01:3d:87 > wlan0: WPA: Association event - clear replay counter > wlan0: WPA: Clear old PTK > EAPOL: External notification - portEnabled=3D0 > EAPOL: Supplicant port status: Unauthorized > EAPOL: External notification - portValid=3D0 > EAPOL: Supplicant port status: Unauthorized > EAPOL: External notification - EAP success=3D0 > EAPOL: Supplicant port status: Unauthorized > EAPOL: External notification - portEnabled=3D1 > EAPOL: SUPP_PAE entering state CONNECTING > EAPOL: enable timer tick > EAPOL: SUPP_BE entering state IDLE > wlan0: Setting authentication timeout: 10 sec 0 usec > wlan0: Cancelling scan request > EAPOL: startWhen --> 0 > EAPOL: disable timer tick > EAPOL: SUPP_PAE entering state CONNECTING > EAPOL: enable timer tick > EAPOL: txStart > WPA: drop TX EAPOL in non-IEEE 802.1X mode (type=3D1 len=3D0) > wlan0: Event DISASSOC (1) received > wlan0: Disassociation notification > wlan0: CTRL-EVENT-DISCONNECTED bssid=3D04:f0:21:01:3d:87 reason=3D0 > wlan0: Auto connect enabled: try to reconnect (wps=3D0 wpa_state=3D6) > wlan0: Setting scan request: 0 sec 100000 usec > Added BSSID 04:f0:21:01:3d:87 into blacklist > wlan0: Blacklist count 1 --> request scan in 100 ms > wlan0: Setting scan request: 0 sec 100000 usec > wlan0: Disconnect event - remove keys > bsd_set_key: alg=3D0 addr=3D0x0 key_idx=3D0 set_tx=3D0 seq_len=3D0 key_le= n=3D0 > bsd_del_key: key_idx=3D0 > bsd_set_key: alg=3D0 addr=3D0x0 key_idx=3D1 set_tx=3D0 seq_len=3D0 key_le= n=3D0 > bsd_del_key: key_idx=3D1 > bsd_set_key: alg=3D0 addr=3D0x0 key_idx=3D2 set_tx=3D0 seq_len=3D0 key_le= n=3D0 > bsd_del_key: key_idx=3D2 > bsd_set_key: alg=3D0 addr=3D0x0 key_idx=3D3 set_tx=3D0 seq_len=3D0 key_le= n=3D0 > bsd_del_key: key_idx=3D3 > bsd_set_key: alg=3D0 addr=3D0x801c2f4c8 key_idx=3D0 set_tx=3D0 seq_len=3D= 0 key_len=3D0 > bsd_del_key: addr=3D04:f0:21:01:3d:87 > wlan0: State: ASSOCIATED -> DISCONNECTED > EAPOL: External notification - portEnabled=3D0 > EAPOL: SUPP_PAE entering state DISCONNECTED > EAPOL: Supplicant port status: Unauthorized > EAPOL: SUPP_BE entering state INITIALIZE > EAPOL: Supplicant port status: Unauthorized > EAPOL: External notification - portValid=3D0 > EAPOL: Supplicant port status: Unauthorized > EAPOL: External notification - EAP success=3D0 > EAPOL: Supplicant port status: Unauthorized > wlan0: State: DISCONNECTED -> SCANNING > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-wireless@FreeBSD.ORG Wed Jan 8 06:04:28 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CC5C3E83 for ; Wed, 8 Jan 2014 06:04:28 +0000 (UTC) Received: from system.jails.se (system.jails.se [IPv6:2001:16d8:cc1e:1::1]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DC57111D1 for ; Wed, 8 Jan 2014 06:04:27 +0000 (UTC) Received: from localhost (system.jails.se [91.205.63.85]) by system.jails.se (Postfix) with SMTP id 3540932F2A9 for ; Wed, 8 Jan 2014 07:04:17 +0100 (CET) Received: from klein.pean.org (klein.pean.org [IPv6:2001:16d8:ff9f::60]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by system.jails.se (Postfix) with ESMTPSA id A4B6732F296; Wed, 8 Jan 2014 07:03:40 +0100 (CET) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Subject: Re: wpa_supplicant problem. From: =?windows-1252?Q?Peter_Ankerst=E5l?= In-Reply-To: Date: Wed, 8 Jan 2014 07:03:37 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <8CFBC6B5-B683-4EC3-9561-EFFA6CE55755@pean.org> References: <79AEC286-90EB-41D0-8CA8-18A78D53C3C6@pean.org> To: Adrian Chadd X-Mailer: Apple Mail (2.1827) Cc: "stable@freebsd.org" , "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Wed, 08 Jan 2014 06:04:28 -0000 Hi! Now I get on the router: wlan0: STA f0:de:f1:c9:14:4d WPA: EAPOL-Key timeout WPA: f0:de:f1:c9:14:4d WPA_PTK entering state PTKSTART wlan0: STA f0:de:f1:c9:14:4d WPA: sending 1/4 msg of 4-Way Handshake and on the client: wlan0: Selecting BSS from priority group 0 wlan0: 0: 04:f0:21:01:3d:87 ssid=3D'web' wpa_ie_len=3D0 rsn_ie_len=3D20 = caps=3D0x31 level=3D-65 wlan0: selected based on RSN IE wlan0: selected BSS 04:f0:21:01:3d:87 ssid=3D'web' wlan0: Request association: reassociate: 0 selected: 04:f0:21:01:3d:87 = bssid: 00:00:00:00:00:00 pending: 00:00:00:00:00:00 wpa_state: = SCANNING wlan0: Trying to associate with 04:f0:21:01:3d:87 (SSID=3D'web' = freq=3D2412 MHz) FT: Stored MDIE and FTIE from (Re)Association Response - hexdump(len=3D0):= wlan0: Cancelling scan request wlan0: WPA: clearing own WPA/RSN IE wlan0: Automatic auth_alg selection: 0x1 RSN: PMKSA cache search - network_ctx=3D0x0 try_opportunistic=3D0 RSN: Search for BSSID 04:f0:21:01:3d:87 RSN: No PMKSA cache entry found wlan0: RSN: using IEEE 802.11i/D9.0 wlan0: WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 = proto 2 wlan0: WPA: clearing AP WPA IE WPA: set AP RSN IE - hexdump(len=3D22): 30 14 01 00 00 0f ac 04 01 00 00 = 0f ac 04 01 00 00 0f ac 02 00 00 wlan0: WPA: using GTK CCMP wlan0: WPA: using PTK CCMP wlan0: WPA: using KEY_MGMT WPA-PSK WPA: Set own WPA IE default - hexdump(len=3D22): 30 14 01 00 00 0f ac 04 = 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 wlan0: No keys have been configured - skip key clearing wlan0: State: SCANNING -> ASSOCIATING Limit connection to BSSID 04:f0:21:01:3d:87 freq=3D2412 MHz based on = scan results (bssid_set=3D0) wpa_driver_bsd_associate: ssid 'web' wpa ie len 22 pairwise 3 group 3 = key mgmt 1 wpa_driver_bsd_set_drop_unencrypted: enabled=3D1 bsd_set_opt_ie: set WPA+RSN ie (len 22) wpa_driver_bsd_associate: set PRIVACY 1 wlan0: Setting authentication timeout: 10 sec 0 usec EAPOL: External notification - EAP success=3D0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - EAP fail=3D0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portControl=3DAuto EAPOL: Supplicant port status: Unauthorized RSN: Ignored PMKID candidate without preauth flag wlan0: Event ASSOC (0) received wlan0: State: ASSOCIATING -> ASSOCIATED On 08 Jan 2014, at 00:00, Adrian Chadd wrote: > hi, >=20 > please retry with the only network block entries being: >=20 > ssid=3D > psk=3D >=20 > .. and let wpa_supplicant figure it out. >=20 >=20 > -a >=20 >=20 > On 7 January 2014 13:07, Peter Ankerst=E5l wrote: >> Hi! >>=20 >> Im trying to connect from a Lenovo X220 to my FreeBSD router running = hostapd. The router is supporting >> a lot of other clients (OS X and iOS) without any problems. And my = laptop can connect to my phone when >> I set it up as a hotspot. >>=20 >> Lenovo X220: >> FreeBSD lenny 10.0-RC2 FreeBSD 10.0-RC2 #0 r259404: Sun Dec 15 = 08:18:20 UTC 2013 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC = amd64 >>=20 >> iwn0@pci0:3:0:0: class=3D0x028000 card=3D0x13118086 = chip=3D0x00858086 rev=3D0x34 hdr=3D0x00 >> vendor =3D 'Intel Corporation' >> device =3D 'Centrino Advanced-N 6205 [Taylor Peak]' >> class =3D network >>=20 >> # cat /etc/wpa_supplicant.conf >> ctrl_interface=3D/var/run/wpa_supplicant >> eapol_version=3D2 >> ap_scan=3D1 >> fast_reauth=3D1 >>=20 >> network=3D{ >> priority=3D100 >> proto=3DRSN WPA >> ssid=3D"web" >> key_mgmt=3DWPA-PSK >> pairwise=3DCCMP TKIP >> group=3DCCMP TKIP >> psk=3D=93secret=94 >> } >>=20 >> Router: >> FreeBSD gw 10.0-RC1 FreeBSD 10.0-RC1 #3 r259258: Thu Dec 12 16:21:37 = CET 2013 root@gw:/usr/obj/usr/src/sys/SOEKRIS i386 >>=20 >> ath0@pci0:7:0:0: class=3D0x028000 card=3D0x3114168c = chip=3D0x0030168c rev=3D0x01 hdr=3D0x00 >> vendor =3D 'Atheros Communications Inc.' >> device =3D 'AR9300 Wireless LAN adaptor' >> class =3D network >>=20 >> # cat /etc/hostapd.conf >> interface=3Dwlan0 >> driver=3Dbsd >> debug=3D0 >> ctrl_interface=3D/var/run/hostapd >> ctrl_interface_group=3Dwheel >> ssid=3Dweb >> wpa=3D2 >> wpa_passphrase=3Dsecret >> wpa_key_mgmt=3DWPA-PSK >> wpa_pairwise=3DCCMP TKIP >> rsn_pairwise=3DCCMP >>=20 >>=20 >> debug output from wpa_supplicant. >> # wpa_supplicant -D bsd -i wlan0 -d -c /etc/wpa_supplicant.conf >> wpa_supplicant v2.0 >> Successfully initialized wpa_supplicant >> Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver = 'bsd' ctrl_interface 'N/A' bridge 'N/A' >> Configuration file '/etc/wpa_supplicant.conf' -> = '/etc/wpa_supplicant.conf' >> Reading configuration file '/etc/wpa_supplicant.conf' >> ctrl_interface=3D'/var/run/wpa_supplicant' >> eapol_version=3D2 >> ap_scan=3D1 >> fast_reauth=3D1 >> Priority group 100 >> id=3D0 ssid=3D'web' >> wpa_driver_bsd_capa: drivercaps=3D0x2581e201,cryptocaps=3D0x00000000 >> wlan0: Own MAC address: f0:de:f1:c9:14:4d >> bsd_set_key: alg=3D0 addr=3D0x0 key_idx=3D0 set_tx=3D0 seq_len=3D0 = key_len=3D0 >> bsd_del_key: key_idx=3D0 >> bsd_set_key: alg=3D0 addr=3D0x0 key_idx=3D1 set_tx=3D0 seq_len=3D0 = key_len=3D0 >> bsd_del_key: key_idx=3D1 >> bsd_set_key: alg=3D0 addr=3D0x0 key_idx=3D2 set_tx=3D0 seq_len=3D0 = key_len=3D0 >> bsd_del_key: key_idx=3D2 >> bsd_set_key: alg=3D0 addr=3D0x0 key_idx=3D3 set_tx=3D0 seq_len=3D0 = key_len=3D0 >> bsd_del_key: key_idx=3D3 >> wpa_driver_bsd_set_countermeasures: enabled=3D0 >> wlan0: RSN: flushing PMKID list in the driver >> wlan0: Setting scan request: 0 sec 100000 usec >> WPS: Set UUID for interface wlan0 >> WPS: UUID based on MAC address - hexdump(len=3D16): f4 2a e7 3f ed 75 = 52 b7 99 15 e0 56 b1 07 04 4f >> EAPOL: SUPP_PAE entering state DISCONNECTED >> EAPOL: Supplicant port status: Unauthorized >> EAPOL: KEY_RX entering state NO_KEY_RECEIVE >> EAPOL: SUPP_BE entering state INITIALIZE >> EAP: EAP entering state DISABLED >> EAPOL: Supplicant port status: Unauthorized >> EAPOL: Supplicant port status: Unauthorized >> wlan0: Added interface wlan0 >> wlan0: State: DISCONNECTED -> DISCONNECTED >> wlan0: State: DISCONNECTED -> SCANNING >> wlan0: Starting AP scan for wildcard SSID >> wpa_driver_bsd_set_wpa: enabled=3D1 >> wpa_driver_bsd_set_wpa_internal: wpa=3D3 privacy=3D1 >> EAPOL: disable timer tick >> EAPOL: Supplicant port status: Unauthorized >> wlan0: Event SCAN_RESULTS (3) received >> Received 2508 bytes of scan results (9 BSSes) >> wlan0: BSS: Start scan result update 1 >> wlan0: BSS: Add new id 0 BSSID 04:f0:21:01:3d:87 SSID 'web' >> wlan0: BSS: Add new id 1 BSSID 8a:08:93:36:a1:10 SSID 'Mavar' >> wlan0: BSS: Add new id 2 BSSID 88:1f:a1:36:93:08 SSID 'Gotland' >> wlan0: BSS: Add new id 3 BSSID 8a:09:93:36:a1:10 SSID 'Mavar' >> wlan0: BSS: Add new id 4 BSSID 88:1f:a1:36:93:09 SSID 'Gotland++' >> wlan0: BSS: Add new id 5 BSSID 58:98:35:ba:2c:17 SSID 'Katyusha' >> wlan0: BSS: Add new id 6 BSSID 58:98:35:be:ef:9f SSID = 'TeliaGateway58-98-35-BE-EF-9F' >> wlan0: BSS: Add new id 7 BSSID cc:b2:55:94:23:e8 SSID 'P-sons' >> wlan0: BSS: Add new id 8 BSSID a0:21:b7:b4:55:d8 SSID 'Bonnier' >> BSS: last_scan_res_used=3D9/32 last_scan_full=3D0 >> wlan0: New scan results available >> WPS: AP cc:b2:55:94:23:e8 type 0 added >> WPS: AP a0:21:b7:b4:55:d8 type 0 added >> WPS: AP[0] cc:b2:55:94:23:e8 type=3D0 tries=3D0 last_attempt=3D-1 sec = ago blacklist=3D0 >> WPS: AP[1] a0:21:b7:b4:55:d8 type=3D0 tries=3D0 last_attempt=3D-1 sec = ago blacklist=3D0 >> wlan0: Selecting BSS from priority group 100 >> wlan0: 0: 04:f0:21:01:3d:87 ssid=3D'web' wpa_ie_len=3D0 rsn_ie_len=3D20= caps=3D0x11 level=3D-67 >> wlan0: selected based on RSN IE >> wlan0: selected BSS 04:f0:21:01:3d:87 ssid=3D'web' >> wlan0: Request association: reassociate: 0 selected: = 04:f0:21:01:3d:87 bssid: 00:00:00:00:00:00 pending: 00:00:00:00:00:00 = wpa_ >> state: SCANNING >> wlan0: Trying to associate with 04:f0:21:01:3d:87 (SSID=3D'web' = freq=3D5280 MHz) >> FT: Stored MDIE and FTIE from (Re)Association Response - = hexdump(len=3D0): >> wlan0: Cancelling scan request >> wlan0: WPA: clearing own WPA/RSN IE >> wlan0: Automatic auth_alg selection: 0x1 >> RSN: PMKSA cache search - network_ctx=3D0x0 try_opportunistic=3D0 >> RSN: Search for BSSID 04:f0:21:01:3d:87 >> RSN: No PMKSA cache entry found >> wlan0: RSN: using IEEE 802.11i/D9.0 >> wlan0: WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 = proto 2 >> wlan0: WPA: clearing AP WPA IE >> WPA: set AP RSN IE - hexdump(len=3D22): 30 14 01 00 00 0f ac 04 01 00 = 00 0f ac 04 01 00 00 0f ac 02 0c 00 >> wlan0: WPA: using GTK CCMP >> wlan0: WPA: using PTK CCMP >> wlan0: WPA: using KEY_MGMT WPA-PSK >> WPA: Set own WPA IE default - hexdump(len=3D22): 30 14 01 00 00 0f ac = 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 >> wlan0: No keys have been configured - skip key clearing >> wlan0: State: SCANNING -> ASSOCIATING >> Limit connection to BSSID 04:f0:21:01:3d:87 freq=3D5280 MHz based on = scan results (bssid_set=3D0) >> wpa_driver_bsd_associate: ssid 'web' wpa ie len 22 pairwise 3 group 3 = key mgmt 1 >> wpa_driver_bsd_set_drop_unencrypted: enabled=3D1 >> bsd_set_opt_ie: set WPA+RSN ie (len 22) >> wpa_driver_bsd_associate: set PRIVACY 1 >> wlan0: Setting authentication timeout: 10 sec 0 usec >> EAPOL: External notification - EAP success=3D0 >> EAPOL: Supplicant port status: Unauthorized >> EAPOL: External notification - EAP fail=3D0 >> EAPOL: Supplicant port status: Unauthorized >> EAPOL: External notification - portControl=3DAuto >> EAPOL: Supplicant port status: Unauthorized >> RSN: Ignored PMKID candidate without preauth flag >> wlan0: Event ASSOC (0) received >> wlan0: State: ASSOCIATING -> ASSOCIATED >> wlan0: Associated to a new BSS: BSSID=3D04:f0:21:01:3d:87 >> wlan0: No keys have been configured - skip key clearing >> wlan0: Associated with 04:f0:21:01:3d:87 >> wlan0: WPA: Association event - clear replay counter >> wlan0: WPA: Clear old PTK >> EAPOL: External notification - portEnabled=3D0 >> EAPOL: Supplicant port status: Unauthorized >> EAPOL: External notification - portValid=3D0 >> EAPOL: Supplicant port status: Unauthorized >> EAPOL: External notification - EAP success=3D0 >> EAPOL: Supplicant port status: Unauthorized >> EAPOL: External notification - portEnabled=3D1 >> EAPOL: SUPP_PAE entering state CONNECTING >> EAPOL: enable timer tick >> EAPOL: SUPP_BE entering state IDLE >> wlan0: Setting authentication timeout: 10 sec 0 usec >> wlan0: Cancelling scan request >> EAPOL: startWhen --> 0 >> EAPOL: disable timer tick >> EAPOL: SUPP_PAE entering state CONNECTING >> EAPOL: enable timer tick >> EAPOL: txStart >> WPA: drop TX EAPOL in non-IEEE 802.1X mode (type=3D1 len=3D0) >> wlan0: Event DISASSOC (1) received >> wlan0: Disassociation notification >> wlan0: CTRL-EVENT-DISCONNECTED bssid=3D04:f0:21:01:3d:87 reason=3D0 >> wlan0: Auto connect enabled: try to reconnect (wps=3D0 wpa_state=3D6) >> wlan0: Setting scan request: 0 sec 100000 usec >> Added BSSID 04:f0:21:01:3d:87 into blacklist >> wlan0: Blacklist count 1 --> request scan in 100 ms >> wlan0: Setting scan request: 0 sec 100000 usec >> wlan0: Disconnect event - remove keys >> bsd_set_key: alg=3D0 addr=3D0x0 key_idx=3D0 set_tx=3D0 seq_len=3D0 = key_len=3D0 >> bsd_del_key: key_idx=3D0 >> bsd_set_key: alg=3D0 addr=3D0x0 key_idx=3D1 set_tx=3D0 seq_len=3D0 = key_len=3D0 >> bsd_del_key: key_idx=3D1 >> bsd_set_key: alg=3D0 addr=3D0x0 key_idx=3D2 set_tx=3D0 seq_len=3D0 = key_len=3D0 >> bsd_del_key: key_idx=3D2 >> bsd_set_key: alg=3D0 addr=3D0x0 key_idx=3D3 set_tx=3D0 seq_len=3D0 = key_len=3D0 >> bsd_del_key: key_idx=3D3 >> bsd_set_key: alg=3D0 addr=3D0x801c2f4c8 key_idx=3D0 set_tx=3D0 = seq_len=3D0 key_len=3D0 >> bsd_del_key: addr=3D04:f0:21:01:3d:87 >> wlan0: State: ASSOCIATED -> DISCONNECTED >> EAPOL: External notification - portEnabled=3D0 >> EAPOL: SUPP_PAE entering state DISCONNECTED >> EAPOL: Supplicant port status: Unauthorized >> EAPOL: SUPP_BE entering state INITIALIZE >> EAPOL: Supplicant port status: Unauthorized >> EAPOL: External notification - portValid=3D0 >> EAPOL: Supplicant port status: Unauthorized >> EAPOL: External notification - EAP success=3D0 >> EAPOL: Supplicant port status: Unauthorized >> wlan0: State: DISCONNECTED -> SCANNING >>=20 >>=20 >> _______________________________________________ >> freebsd-stable@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> To unsubscribe, send any mail to = "freebsd-stable-unsubscribe@freebsd.org" >=20 From owner-freebsd-wireless@FreeBSD.ORG Wed Jan 8 06:26:08 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0FC55332 for ; Wed, 8 Jan 2014 06:26:08 +0000 (UTC) Received: from system.jails.se (system.jails.se [IPv6:2001:16d8:cc1e:1::1]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 82DA61362 for ; Wed, 8 Jan 2014 06:26:06 +0000 (UTC) Received: from localhost (system.jails.se [91.205.63.85]) by system.jails.se (Postfix) with SMTP id 02AE632F3EF for ; Wed, 8 Jan 2014 07:25:57 +0100 (CET) Received: from klein.pean.org (klein.pean.org [IPv6:2001:16d8:ff9f::60]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by system.jails.se (Postfix) with ESMTPSA id 0762532F3DC; Wed, 8 Jan 2014 07:25:40 +0100 (CET) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Subject: Re: wpa_supplicant problem. From: =?windows-1252?Q?Peter_Ankerst=E5l?= In-Reply-To: Date: Wed, 8 Jan 2014 07:25:39 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <18F80D66-D1EB-4359-BB7F-6084E8F6D309@pean.org> References: <79AEC286-90EB-41D0-8CA8-18A78D53C3C6@pean.org> To: Adrian Chadd X-Mailer: Apple Mail (2.1827) Cc: "stable@freebsd.org" , "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Wed, 08 Jan 2014 06:26:08 -0000 Ooops. Missed the important part of client messages. Also I have tried = with different pre-shared keys but it still don=92t work.=20 wlan0: State: ASSOCIATING -> ASSOCIATED wlan0: Associated to a new BSS: BSSID=3D04:f0:21:01:3d:87 wlan0: No keys have been configured - skip key clearing wlan0: Associated with 04:f0:21:01:3d:87 wlan0: WPA: Association event - clear replay counter wlan0: WPA: Clear old PTK EAPOL: External notification - portEnabled=3D0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portValid=3D0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - EAP success=3D0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portEnabled=3D1 EAPOL: SUPP_PAE entering state CONNECTING EAPOL: enable timer tick EAPOL: SUPP_BE entering state IDLE wlan0: Setting authentication timeout: 10 sec 0 usec wlan0: Cancelling scan request wlan0: RX EAPOL from 04:f0:21:01:3d:87 wlan0: Setting authentication timeout: 10 sec 0 usec wlan0: IEEE 802.1X RX: version=3D2 type=3D3 length=3D95 wlan0: EAPOL-Key type=3D2 wlan0: key_info 0x8a (ver=3D2 keyidx=3D0 rsvd=3D0 Pairwise Ack) wlan0: key_length=3D16 key_data_length=3D0 replay_counter - hexdump(len=3D8): 00 00 00 00 00 00 00 01 key_nonce - hexdump(len=3D32): 94 73 9c af a7 74 b0 22 b2 28 94 82 ac = b2 63 13 e5 f1 96 d7 8e e1 61 15 e3 0c 7c 2d 4c 41 f1 d8 key_iv - hexdump(len=3D16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 = 00 00 key_rsc - hexdump(len=3D8): 00 00 00 00 00 00 00 00 key_id (reserved) - hexdump(len=3D8): 00 00 00 00 00 00 00 00 key_mic - hexdump(len=3D16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 = 00 00 wlan0: State: ASSOCIATED -> 4WAY_HANDSHAKE wlan0: WPA: RX message 1 of 4-Way Handshake from 04:f0:21:01:3d:87 = (ver=3D2) RSN: msg 1/4 key data - hexdump(len=3D0): WPA: Renewed SNonce - hexdump(len=3D32): 89 be 5d 40 70 3f 59 27 34 ed = 6d 31 0e 03 c5 41 b5 de cc 2d 9e 05 a0 b4 5b b8 ac 7a 46 bc 6a 79 WPA: PTK derivation - A1=3Df0:de:f1:c9:14:4d A2=3D04:f0:21:01:3d:87 WPA: Nonce1 - hexdump(len=3D32): 89 be 5d 40 70 3f 59 27 34 ed 6d 31 0e = 03 c5 41 b5 de cc 2d 9e 05 a0 b4 5b b8 ac 7a 46 bc 6a 79 WPA: Nonce2 - hexdump(len=3D32): 94 73 9c af a7 74 b0 22 b2 28 94 82 ac = b2 63 13 e5 f1 96 d7 8e e1 61 15 e3 0c 7c 2d 4c 41 f1 d8 WPA: PMK - hexdump(len=3D32): [REMOVED] WPA: PTK - hexdump(len=3D48): [REMOVED] WPA: WPA IE for msg 2/4 - hexdump(len=3D22): 30 14 01 00 00 0f ac 04 01 = 00 00 0f ac 04 01 00 00 0f ac 02 00 00 WPA: Replay Counter - hexdump(len=3D8): 00 00 00 00 00 00 00 01 wlan0: WPA: Sending EAPOL-Key 2/4 WPA: KCK - hexdump(len=3D16): [REMOVED] WPA: Derived Key MIC - hexdump(len=3D16): c1 6a 85 5f fa 2c f2 b1 d8 25 = bf ad 39 bf 71 b9 EAPOL: startWhen --> 0 EAPOL: disable timer tick EAPOL: SUPP_PAE entering state CONNECTING EAPOL: enable timer tick EAPOL: txStart WPA: drop TX EAPOL in non-IEEE 802.1X mode (type=3D1 len=3D0) wlan0: Event DISASSOC (1) received wlan0: Disassociation notification wlan0: CTRL-EVENT-DISCONNECTED bssid=3D04:f0:21:01:3d:87 reason=3D0 wlan0: WPA: 4-Way Handshake failed - pre-shared key may be incorrect wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=3D0 ssid=3D"web" auth_failures=3D1= duration=3D10 On 08 Jan 2014, at 00:00, Adrian Chadd wrote: > hi, >=20 > please retry with the only network block entries being: >=20 > ssid=3D > psk=3D >=20 > .. and let wpa_supplicant figure it out. >=20 >=20 > -a >=20 >=20 > On 7 January 2014 13:07, Peter Ankerst=E5l wrote: >> Hi! >>=20 >> Im trying to connect from a Lenovo X220 to my FreeBSD router running = hostapd. The router is supporting >> a lot of other clients (OS X and iOS) without any problems. And my = laptop can connect to my phone when >> I set it up as a hotspot. >>=20 >> Lenovo X220: >> FreeBSD lenny 10.0-RC2 FreeBSD 10.0-RC2 #0 r259404: Sun Dec 15 = 08:18:20 UTC 2013 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC = amd64 >>=20 >> iwn0@pci0:3:0:0: class=3D0x028000 card=3D0x13118086 = chip=3D0x00858086 rev=3D0x34 hdr=3D0x00 >> vendor =3D 'Intel Corporation' >> device =3D 'Centrino Advanced-N 6205 [Taylor Peak]' >> class =3D network >>=20 >> # cat /etc/wpa_supplicant.conf >> ctrl_interface=3D/var/run/wpa_supplicant >> eapol_version=3D2 >> ap_scan=3D1 >> fast_reauth=3D1 >>=20 >> network=3D{ >> priority=3D100 >> proto=3DRSN WPA >> ssid=3D"web" >> key_mgmt=3DWPA-PSK >> pairwise=3DCCMP TKIP >> group=3DCCMP TKIP >> psk=3D=93secret=94 >> } >>=20 >> Router: >> FreeBSD gw 10.0-RC1 FreeBSD 10.0-RC1 #3 r259258: Thu Dec 12 16:21:37 = CET 2013 root@gw:/usr/obj/usr/src/sys/SOEKRIS i386 >>=20 >> ath0@pci0:7:0:0: class=3D0x028000 card=3D0x3114168c = chip=3D0x0030168c rev=3D0x01 hdr=3D0x00 >> vendor =3D 'Atheros Communications Inc.' >> device =3D 'AR9300 Wireless LAN adaptor' >> class =3D network >>=20 >> # cat /etc/hostapd.conf >> interface=3Dwlan0 >> driver=3Dbsd >> debug=3D0 >> ctrl_interface=3D/var/run/hostapd >> ctrl_interface_group=3Dwheel >> ssid=3Dweb >> wpa=3D2 >> wpa_passphrase=3Dsecret >> wpa_key_mgmt=3DWPA-PSK >> wpa_pairwise=3DCCMP TKIP >> rsn_pairwise=3DCCMP >>=20 >>=20 >> debug output from wpa_supplicant. >> # wpa_supplicant -D bsd -i wlan0 -d -c /etc/wpa_supplicant.conf >> wpa_supplicant v2.0 >> Successfully initialized wpa_supplicant >> Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver = 'bsd' ctrl_interface 'N/A' bridge 'N/A' >> Configuration file '/etc/wpa_supplicant.conf' -> = '/etc/wpa_supplicant.conf' >> Reading configuration file '/etc/wpa_supplicant.conf' >> ctrl_interface=3D'/var/run/wpa_supplicant' >> eapol_version=3D2 >> ap_scan=3D1 >> fast_reauth=3D1 >> Priority group 100 >> id=3D0 ssid=3D'web' >> wpa_driver_bsd_capa: drivercaps=3D0x2581e201,cryptocaps=3D0x00000000 >> wlan0: Own MAC address: f0:de:f1:c9:14:4d >> bsd_set_key: alg=3D0 addr=3D0x0 key_idx=3D0 set_tx=3D0 seq_len=3D0 = key_len=3D0 >> bsd_del_key: key_idx=3D0 >> bsd_set_key: alg=3D0 addr=3D0x0 key_idx=3D1 set_tx=3D0 seq_len=3D0 = key_len=3D0 >> bsd_del_key: key_idx=3D1 >> bsd_set_key: alg=3D0 addr=3D0x0 key_idx=3D2 set_tx=3D0 seq_len=3D0 = key_len=3D0 >> bsd_del_key: key_idx=3D2 >> bsd_set_key: alg=3D0 addr=3D0x0 key_idx=3D3 set_tx=3D0 seq_len=3D0 = key_len=3D0 >> bsd_del_key: key_idx=3D3 >> wpa_driver_bsd_set_countermeasures: enabled=3D0 >> wlan0: RSN: flushing PMKID list in the driver >> wlan0: Setting scan request: 0 sec 100000 usec >> WPS: Set UUID for interface wlan0 >> WPS: UUID based on MAC address - hexdump(len=3D16): f4 2a e7 3f ed 75 = 52 b7 99 15 e0 56 b1 07 04 4f >> EAPOL: SUPP_PAE entering state DISCONNECTED >> EAPOL: Supplicant port status: Unauthorized >> EAPOL: KEY_RX entering state NO_KEY_RECEIVE >> EAPOL: SUPP_BE entering state INITIALIZE >> EAP: EAP entering state DISABLED >> EAPOL: Supplicant port status: Unauthorized >> EAPOL: Supplicant port status: Unauthorized >> wlan0: Added interface wlan0 >> wlan0: State: DISCONNECTED -> DISCONNECTED >> wlan0: State: DISCONNECTED -> SCANNING >> wlan0: Starting AP scan for wildcard SSID >> wpa_driver_bsd_set_wpa: enabled=3D1 >> wpa_driver_bsd_set_wpa_internal: wpa=3D3 privacy=3D1 >> EAPOL: disable timer tick >> EAPOL: Supplicant port status: Unauthorized >> wlan0: Event SCAN_RESULTS (3) received >> Received 2508 bytes of scan results (9 BSSes) >> wlan0: BSS: Start scan result update 1 >> wlan0: BSS: Add new id 0 BSSID 04:f0:21:01:3d:87 SSID 'web' >> wlan0: BSS: Add new id 1 BSSID 8a:08:93:36:a1:10 SSID 'Mavar' >> wlan0: BSS: Add new id 2 BSSID 88:1f:a1:36:93:08 SSID 'Gotland' >> wlan0: BSS: Add new id 3 BSSID 8a:09:93:36:a1:10 SSID 'Mavar' >> wlan0: BSS: Add new id 4 BSSID 88:1f:a1:36:93:09 SSID 'Gotland++' >> wlan0: BSS: Add new id 5 BSSID 58:98:35:ba:2c:17 SSID 'Katyusha' >> wlan0: BSS: Add new id 6 BSSID 58:98:35:be:ef:9f SSID = 'TeliaGateway58-98-35-BE-EF-9F' >> wlan0: BSS: Add new id 7 BSSID cc:b2:55:94:23:e8 SSID 'P-sons' >> wlan0: BSS: Add new id 8 BSSID a0:21:b7:b4:55:d8 SSID 'Bonnier' >> BSS: last_scan_res_used=3D9/32 last_scan_full=3D0 >> wlan0: New scan results available >> WPS: AP cc:b2:55:94:23:e8 type 0 added >> WPS: AP a0:21:b7:b4:55:d8 type 0 added >> WPS: AP[0] cc:b2:55:94:23:e8 type=3D0 tries=3D0 last_attempt=3D-1 sec = ago blacklist=3D0 >> WPS: AP[1] a0:21:b7:b4:55:d8 type=3D0 tries=3D0 last_attempt=3D-1 sec = ago blacklist=3D0 >> wlan0: Selecting BSS from priority group 100 >> wlan0: 0: 04:f0:21:01:3d:87 ssid=3D'web' wpa_ie_len=3D0 rsn_ie_len=3D20= caps=3D0x11 level=3D-67 >> wlan0: selected based on RSN IE >> wlan0: selected BSS 04:f0:21:01:3d:87 ssid=3D'web' >> wlan0: Request association: reassociate: 0 selected: = 04:f0:21:01:3d:87 bssid: 00:00:00:00:00:00 pending: 00:00:00:00:00:00 = wpa_ >> state: SCANNING >> wlan0: Trying to associate with 04:f0:21:01:3d:87 (SSID=3D'web' = freq=3D5280 MHz) >> FT: Stored MDIE and FTIE from (Re)Association Response - = hexdump(len=3D0): >> wlan0: Cancelling scan request >> wlan0: WPA: clearing own WPA/RSN IE >> wlan0: Automatic auth_alg selection: 0x1 >> RSN: PMKSA cache search - network_ctx=3D0x0 try_opportunistic=3D0 >> RSN: Search for BSSID 04:f0:21:01:3d:87 >> RSN: No PMKSA cache entry found >> wlan0: RSN: using IEEE 802.11i/D9.0 >> wlan0: WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 = proto 2 >> wlan0: WPA: clearing AP WPA IE >> WPA: set AP RSN IE - hexdump(len=3D22): 30 14 01 00 00 0f ac 04 01 00 = 00 0f ac 04 01 00 00 0f ac 02 0c 00 >> wlan0: WPA: using GTK CCMP >> wlan0: WPA: using PTK CCMP >> wlan0: WPA: using KEY_MGMT WPA-PSK >> WPA: Set own WPA IE default - hexdump(len=3D22): 30 14 01 00 00 0f ac = 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 >> wlan0: No keys have been configured - skip key clearing >> wlan0: State: SCANNING -> ASSOCIATING >> Limit connection to BSSID 04:f0:21:01:3d:87 freq=3D5280 MHz based on = scan results (bssid_set=3D0) >> wpa_driver_bsd_associate: ssid 'web' wpa ie len 22 pairwise 3 group 3 = key mgmt 1 >> wpa_driver_bsd_set_drop_unencrypted: enabled=3D1 >> bsd_set_opt_ie: set WPA+RSN ie (len 22) >> wpa_driver_bsd_associate: set PRIVACY 1 >> wlan0: Setting authentication timeout: 10 sec 0 usec >> EAPOL: External notification - EAP success=3D0 >> EAPOL: Supplicant port status: Unauthorized >> EAPOL: External notification - EAP fail=3D0 >> EAPOL: Supplicant port status: Unauthorized >> EAPOL: External notification - portControl=3DAuto >> EAPOL: Supplicant port status: Unauthorized >> RSN: Ignored PMKID candidate without preauth flag >> wlan0: Event ASSOC (0) received >> wlan0: State: ASSOCIATING -> ASSOCIATED >> wlan0: Associated to a new BSS: BSSID=3D04:f0:21:01:3d:87 >> wlan0: No keys have been configured - skip key clearing >> wlan0: Associated with 04:f0:21:01:3d:87 >> wlan0: WPA: Association event - clear replay counter >> wlan0: WPA: Clear old PTK >> EAPOL: External notification - portEnabled=3D0 >> EAPOL: Supplicant port status: Unauthorized >> EAPOL: External notification - portValid=3D0 >> EAPOL: Supplicant port status: Unauthorized >> EAPOL: External notification - EAP success=3D0 >> EAPOL: Supplicant port status: Unauthorized >> EAPOL: External notification - portEnabled=3D1 >> EAPOL: SUPP_PAE entering state CONNECTING >> EAPOL: enable timer tick >> EAPOL: SUPP_BE entering state IDLE >> wlan0: Setting authentication timeout: 10 sec 0 usec >> wlan0: Cancelling scan request >> EAPOL: startWhen --> 0 >> EAPOL: disable timer tick >> EAPOL: SUPP_PAE entering state CONNECTING >> EAPOL: enable timer tick >> EAPOL: txStart >> WPA: drop TX EAPOL in non-IEEE 802.1X mode (type=3D1 len=3D0) >> wlan0: Event DISASSOC (1) received >> wlan0: Disassociation notification >> wlan0: CTRL-EVENT-DISCONNECTED bssid=3D04:f0:21:01:3d:87 reason=3D0 >> wlan0: Auto connect enabled: try to reconnect (wps=3D0 wpa_state=3D6) >> wlan0: Setting scan request: 0 sec 100000 usec >> Added BSSID 04:f0:21:01:3d:87 into blacklist >> wlan0: Blacklist count 1 --> request scan in 100 ms >> wlan0: Setting scan request: 0 sec 100000 usec >> wlan0: Disconnect event - remove keys >> bsd_set_key: alg=3D0 addr=3D0x0 key_idx=3D0 set_tx=3D0 seq_len=3D0 = key_len=3D0 >> bsd_del_key: key_idx=3D0 >> bsd_set_key: alg=3D0 addr=3D0x0 key_idx=3D1 set_tx=3D0 seq_len=3D0 = key_len=3D0 >> bsd_del_key: key_idx=3D1 >> bsd_set_key: alg=3D0 addr=3D0x0 key_idx=3D2 set_tx=3D0 seq_len=3D0 = key_len=3D0 >> bsd_del_key: key_idx=3D2 >> bsd_set_key: alg=3D0 addr=3D0x0 key_idx=3D3 set_tx=3D0 seq_len=3D0 = key_len=3D0 >> bsd_del_key: key_idx=3D3 >> bsd_set_key: alg=3D0 addr=3D0x801c2f4c8 key_idx=3D0 set_tx=3D0 = seq_len=3D0 key_len=3D0 >> bsd_del_key: addr=3D04:f0:21:01:3d:87 >> wlan0: State: ASSOCIATED -> DISCONNECTED >> EAPOL: External notification - portEnabled=3D0 >> EAPOL: SUPP_PAE entering state DISCONNECTED >> EAPOL: Supplicant port status: Unauthorized >> EAPOL: SUPP_BE entering state INITIALIZE >> EAPOL: Supplicant port status: Unauthorized >> EAPOL: External notification - portValid=3D0 >> EAPOL: Supplicant port status: Unauthorized >> EAPOL: External notification - EAP success=3D0 >> EAPOL: Supplicant port status: Unauthorized >> wlan0: State: DISCONNECTED -> SCANNING >>=20 >>=20 >> _______________________________________________ >> freebsd-stable@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> To unsubscribe, send any mail to = "freebsd-stable-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to = "freebsd-stable-unsubscribe@freebsd.org" >=20 From owner-freebsd-wireless@FreeBSD.ORG Wed Jan 8 06:30:13 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4437F4B8; Wed, 8 Jan 2014 06:30:13 +0000 (UTC) Received: from mail-qa0-x233.google.com (mail-qa0-x233.google.com [IPv6:2607:f8b0:400d:c00::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E2918138A; Wed, 8 Jan 2014 06:30:12 +0000 (UTC) Received: by mail-qa0-f51.google.com with SMTP id i13so1525983qae.10 for ; Tue, 07 Jan 2014 22:30:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=rXqUPV+0qWFZW9d6KAWlWo7GPa5rW3g+b17W2LDqrNk=; b=SlYthV8oHC7c/akqAZwfSzDL67svWn3NdFzDXw0And6n45Yin/S7qg8Z02+Di4wAiF LLgDiu7+HbZxYT/uVsh8Er6tKRek6hIDrT0cHvmagjINIxP/cHE6CtI5FVeBaTy+Xue+ TCMYhiTDBWU1yB18kXAKw0r2mH1aBc8smC/e8gg6G+/Qxm0rl9KmzjsHcXfzSjjpyeHB 9KRjjtonYsH44c7+F1mZ1jvVzFfQpqzN5n2HwJD6esjSwjiL/JCydeFuboSx9RnbVxXW dSi3nB6WE37GKorOdXst1XorfMRBzR/wSq+Dhxloo86mRRjj8/HcrBtcIR88RmtiD0Lm iDPA== MIME-Version: 1.0 X-Received: by 10.229.126.9 with SMTP id a9mr196126850qcs.0.1389162612038; Tue, 07 Jan 2014 22:30:12 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.52.8 with HTTP; Tue, 7 Jan 2014 22:30:11 -0800 (PST) In-Reply-To: <8CFBC6B5-B683-4EC3-9561-EFFA6CE55755@pean.org> References: <79AEC286-90EB-41D0-8CA8-18A78D53C3C6@pean.org> <8CFBC6B5-B683-4EC3-9561-EFFA6CE55755@pean.org> Date: Tue, 7 Jan 2014 22:30:11 -0800 X-Google-Sender-Auth: VnA9KESoSMTFfGtL2Y4kvNaXMvY Message-ID: Subject: Re: wpa_supplicant problem. From: Adrian Chadd To: =?ISO-8859-1?Q?Peter_Ankerst=E5l?= Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Cc: "stable@freebsd.org" , "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Wed, 08 Jan 2014 06:30:13 -0000 Hm, sounds to me like something I fixed in -HEAD. Try -HEAD. The TL;DR - the EAPOL frames are going out at a much higher transmit rate than the initial association attempts, which means it associates fine but it can't authenticate successfully. Try running -HEAD. I bet it'll work. -a On 7 January 2014 22:03, Peter Ankerst=E5l wrote: > Hi! > > Now I get on the router: > wlan0: STA f0:de:f1:c9:14:4d WPA: EAPOL-Key timeout > WPA: f0:de:f1:c9:14:4d WPA_PTK entering state PTKSTART > wlan0: STA f0:de:f1:c9:14:4d WPA: sending 1/4 msg of 4-Way Handshake > > > and on the client: > wlan0: Selecting BSS from priority group 0 > wlan0: 0: 04:f0:21:01:3d:87 ssid=3D'web' wpa_ie_len=3D0 rsn_ie_len=3D20 c= aps=3D0x31 level=3D-65 > wlan0: selected based on RSN IE > wlan0: selected BSS 04:f0:21:01:3d:87 ssid=3D'web' > wlan0: Request association: reassociate: 0 selected: 04:f0:21:01:3d:87 = bssid: 00:00:00:00:00:00 pending: 00:00:00:00:00:00 wpa_state: SCANNING > wlan0: Trying to associate with 04:f0:21:01:3d:87 (SSID=3D'web' freq=3D24= 12 MHz) > FT: Stored MDIE and FTIE from (Re)Association Response - hexdump(len=3D0)= : > wlan0: Cancelling scan request > wlan0: WPA: clearing own WPA/RSN IE > wlan0: Automatic auth_alg selection: 0x1 > RSN: PMKSA cache search - network_ctx=3D0x0 try_opportunistic=3D0 > RSN: Search for BSSID 04:f0:21:01:3d:87 > RSN: No PMKSA cache entry found > wlan0: RSN: using IEEE 802.11i/D9.0 > wlan0: WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 proto= 2 > wlan0: WPA: clearing AP WPA IE > WPA: set AP RSN IE - hexdump(len=3D22): 30 14 01 00 00 0f ac 04 01 00 00 = 0f ac 04 01 00 00 0f ac 02 00 00 > wlan0: WPA: using GTK CCMP > wlan0: WPA: using PTK CCMP > wlan0: WPA: using KEY_MGMT WPA-PSK > WPA: Set own WPA IE default - hexdump(len=3D22): 30 14 01 00 00 0f ac 04 = 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 > wlan0: No keys have been configured - skip key clearing > wlan0: State: SCANNING -> ASSOCIATING > Limit connection to BSSID 04:f0:21:01:3d:87 freq=3D2412 MHz based on scan= results (bssid_set=3D0) > wpa_driver_bsd_associate: ssid 'web' wpa ie len 22 pairwise 3 group 3 key= mgmt 1 > wpa_driver_bsd_set_drop_unencrypted: enabled=3D1 > bsd_set_opt_ie: set WPA+RSN ie (len 22) > wpa_driver_bsd_associate: set PRIVACY 1 > wlan0: Setting authentication timeout: 10 sec 0 usec > EAPOL: External notification - EAP success=3D0 > EAPOL: Supplicant port status: Unauthorized > EAPOL: External notification - EAP fail=3D0 > EAPOL: Supplicant port status: Unauthorized > EAPOL: External notification - portControl=3DAuto > EAPOL: Supplicant port status: Unauthorized > RSN: Ignored PMKID candidate without preauth flag > wlan0: Event ASSOC (0) received > wlan0: State: ASSOCIATING -> ASSOCIATED > > On 08 Jan 2014, at 00:00, Adrian Chadd wrote: > >> hi, >> >> please retry with the only network block entries being: >> >> ssid=3D >> psk=3D >> >> .. and let wpa_supplicant figure it out. >> >> >> -a >> >> >> On 7 January 2014 13:07, Peter Ankerst=E5l wrote: >>> Hi! >>> >>> Im trying to connect from a Lenovo X220 to my FreeBSD router running ho= stapd. The router is supporting >>> a lot of other clients (OS X and iOS) without any problems. And my lap= top can connect to my phone when >>> I set it up as a hotspot. >>> >>> Lenovo X220: >>> FreeBSD lenny 10.0-RC2 FreeBSD 10.0-RC2 #0 r259404: Sun Dec 15 08:18:20= UTC 2013 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >>> >>> iwn0@pci0:3:0:0: class=3D0x028000 card=3D0x13118086 chip=3D0x008= 58086 rev=3D0x34 hdr=3D0x00 >>> vendor =3D 'Intel Corporation' >>> device =3D 'Centrino Advanced-N 6205 [Taylor Peak]' >>> class =3D network >>> >>> # cat /etc/wpa_supplicant.conf >>> ctrl_interface=3D/var/run/wpa_supplicant >>> eapol_version=3D2 >>> ap_scan=3D1 >>> fast_reauth=3D1 >>> >>> network=3D{ >>> priority=3D100 >>> proto=3DRSN WPA >>> ssid=3D"web" >>> key_mgmt=3DWPA-PSK >>> pairwise=3DCCMP TKIP >>> group=3DCCMP TKIP >>> psk=3D=93secret=94 >>> } >>> >>> Router: >>> FreeBSD gw 10.0-RC1 FreeBSD 10.0-RC1 #3 r259258: Thu Dec 12 16:21:37 CE= T 2013 root@gw:/usr/obj/usr/src/sys/SOEKRIS i386 >>> >>> ath0@pci0:7:0:0: class=3D0x028000 card=3D0x3114168c chip=3D0x003= 0168c rev=3D0x01 hdr=3D0x00 >>> vendor =3D 'Atheros Communications Inc.' >>> device =3D 'AR9300 Wireless LAN adaptor' >>> class =3D network >>> >>> # cat /etc/hostapd.conf >>> interface=3Dwlan0 >>> driver=3Dbsd >>> debug=3D0 >>> ctrl_interface=3D/var/run/hostapd >>> ctrl_interface_group=3Dwheel >>> ssid=3Dweb >>> wpa=3D2 >>> wpa_passphrase=3Dsecret >>> wpa_key_mgmt=3DWPA-PSK >>> wpa_pairwise=3DCCMP TKIP >>> rsn_pairwise=3DCCMP >>> >>> >>> debug output from wpa_supplicant. >>> # wpa_supplicant -D bsd -i wlan0 -d -c /etc/wpa_supplicant.conf >>> wpa_supplicant v2.0 >>> Successfully initialized wpa_supplicant >>> Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver '= bsd' ctrl_interface 'N/A' bridge 'N/A' >>> Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.c= onf' >>> Reading configuration file '/etc/wpa_supplicant.conf' >>> ctrl_interface=3D'/var/run/wpa_supplicant' >>> eapol_version=3D2 >>> ap_scan=3D1 >>> fast_reauth=3D1 >>> Priority group 100 >>> id=3D0 ssid=3D'web' >>> wpa_driver_bsd_capa: drivercaps=3D0x2581e201,cryptocaps=3D0x00000000 >>> wlan0: Own MAC address: f0:de:f1:c9:14:4d >>> bsd_set_key: alg=3D0 addr=3D0x0 key_idx=3D0 set_tx=3D0 seq_len=3D0 key_= len=3D0 >>> bsd_del_key: key_idx=3D0 >>> bsd_set_key: alg=3D0 addr=3D0x0 key_idx=3D1 set_tx=3D0 seq_len=3D0 key_= len=3D0 >>> bsd_del_key: key_idx=3D1 >>> bsd_set_key: alg=3D0 addr=3D0x0 key_idx=3D2 set_tx=3D0 seq_len=3D0 key_= len=3D0 >>> bsd_del_key: key_idx=3D2 >>> bsd_set_key: alg=3D0 addr=3D0x0 key_idx=3D3 set_tx=3D0 seq_len=3D0 key_= len=3D0 >>> bsd_del_key: key_idx=3D3 >>> wpa_driver_bsd_set_countermeasures: enabled=3D0 >>> wlan0: RSN: flushing PMKID list in the driver >>> wlan0: Setting scan request: 0 sec 100000 usec >>> WPS: Set UUID for interface wlan0 >>> WPS: UUID based on MAC address - hexdump(len=3D16): f4 2a e7 3f ed 75 5= 2 b7 99 15 e0 56 b1 07 04 4f >>> EAPOL: SUPP_PAE entering state DISCONNECTED >>> EAPOL: Supplicant port status: Unauthorized >>> EAPOL: KEY_RX entering state NO_KEY_RECEIVE >>> EAPOL: SUPP_BE entering state INITIALIZE >>> EAP: EAP entering state DISABLED >>> EAPOL: Supplicant port status: Unauthorized >>> EAPOL: Supplicant port status: Unauthorized >>> wlan0: Added interface wlan0 >>> wlan0: State: DISCONNECTED -> DISCONNECTED >>> wlan0: State: DISCONNECTED -> SCANNING >>> wlan0: Starting AP scan for wildcard SSID >>> wpa_driver_bsd_set_wpa: enabled=3D1 >>> wpa_driver_bsd_set_wpa_internal: wpa=3D3 privacy=3D1 >>> EAPOL: disable timer tick >>> EAPOL: Supplicant port status: Unauthorized >>> wlan0: Event SCAN_RESULTS (3) received >>> Received 2508 bytes of scan results (9 BSSes) >>> wlan0: BSS: Start scan result update 1 >>> wlan0: BSS: Add new id 0 BSSID 04:f0:21:01:3d:87 SSID 'web' >>> wlan0: BSS: Add new id 1 BSSID 8a:08:93:36:a1:10 SSID 'Mavar' >>> wlan0: BSS: Add new id 2 BSSID 88:1f:a1:36:93:08 SSID 'Gotland' >>> wlan0: BSS: Add new id 3 BSSID 8a:09:93:36:a1:10 SSID 'Mavar' >>> wlan0: BSS: Add new id 4 BSSID 88:1f:a1:36:93:09 SSID 'Gotland++' >>> wlan0: BSS: Add new id 5 BSSID 58:98:35:ba:2c:17 SSID 'Katyusha' >>> wlan0: BSS: Add new id 6 BSSID 58:98:35:be:ef:9f SSID 'TeliaGateway58-9= 8-35-BE-EF-9F' >>> wlan0: BSS: Add new id 7 BSSID cc:b2:55:94:23:e8 SSID 'P-sons' >>> wlan0: BSS: Add new id 8 BSSID a0:21:b7:b4:55:d8 SSID 'Bonnier' >>> BSS: last_scan_res_used=3D9/32 last_scan_full=3D0 >>> wlan0: New scan results available >>> WPS: AP cc:b2:55:94:23:e8 type 0 added >>> WPS: AP a0:21:b7:b4:55:d8 type 0 added >>> WPS: AP[0] cc:b2:55:94:23:e8 type=3D0 tries=3D0 last_attempt=3D-1 sec a= go blacklist=3D0 >>> WPS: AP[1] a0:21:b7:b4:55:d8 type=3D0 tries=3D0 last_attempt=3D-1 sec a= go blacklist=3D0 >>> wlan0: Selecting BSS from priority group 100 >>> wlan0: 0: 04:f0:21:01:3d:87 ssid=3D'web' wpa_ie_len=3D0 rsn_ie_len=3D20= caps=3D0x11 level=3D-67 >>> wlan0: selected based on RSN IE >>> wlan0: selected BSS 04:f0:21:01:3d:87 ssid=3D'web' >>> wlan0: Request association: reassociate: 0 selected: 04:f0:21:01:3d:87= bssid: 00:00:00:00:00:00 pending: 00:00:00:00:00:00 wpa_ >>> state: SCANNING >>> wlan0: Trying to associate with 04:f0:21:01:3d:87 (SSID=3D'web' freq=3D= 5280 MHz) >>> FT: Stored MDIE and FTIE from (Re)Association Response - hexdump(len=3D= 0): >>> wlan0: Cancelling scan request >>> wlan0: WPA: clearing own WPA/RSN IE >>> wlan0: Automatic auth_alg selection: 0x1 >>> RSN: PMKSA cache search - network_ctx=3D0x0 try_opportunistic=3D0 >>> RSN: Search for BSSID 04:f0:21:01:3d:87 >>> RSN: No PMKSA cache entry found >>> wlan0: RSN: using IEEE 802.11i/D9.0 >>> wlan0: WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 pro= to 2 >>> wlan0: WPA: clearing AP WPA IE >>> WPA: set AP RSN IE - hexdump(len=3D22): 30 14 01 00 00 0f ac 04 01 00 0= 0 0f ac 04 01 00 00 0f ac 02 0c 00 >>> wlan0: WPA: using GTK CCMP >>> wlan0: WPA: using PTK CCMP >>> wlan0: WPA: using KEY_MGMT WPA-PSK >>> WPA: Set own WPA IE default - hexdump(len=3D22): 30 14 01 00 00 0f ac 0= 4 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 >>> wlan0: No keys have been configured - skip key clearing >>> wlan0: State: SCANNING -> ASSOCIATING >>> Limit connection to BSSID 04:f0:21:01:3d:87 freq=3D5280 MHz based on sc= an results (bssid_set=3D0) >>> wpa_driver_bsd_associate: ssid 'web' wpa ie len 22 pairwise 3 group 3 k= ey mgmt 1 >>> wpa_driver_bsd_set_drop_unencrypted: enabled=3D1 >>> bsd_set_opt_ie: set WPA+RSN ie (len 22) >>> wpa_driver_bsd_associate: set PRIVACY 1 >>> wlan0: Setting authentication timeout: 10 sec 0 usec >>> EAPOL: External notification - EAP success=3D0 >>> EAPOL: Supplicant port status: Unauthorized >>> EAPOL: External notification - EAP fail=3D0 >>> EAPOL: Supplicant port status: Unauthorized >>> EAPOL: External notification - portControl=3DAuto >>> EAPOL: Supplicant port status: Unauthorized >>> RSN: Ignored PMKID candidate without preauth flag >>> wlan0: Event ASSOC (0) received >>> wlan0: State: ASSOCIATING -> ASSOCIATED >>> wlan0: Associated to a new BSS: BSSID=3D04:f0:21:01:3d:87 >>> wlan0: No keys have been configured - skip key clearing >>> wlan0: Associated with 04:f0:21:01:3d:87 >>> wlan0: WPA: Association event - clear replay counter >>> wlan0: WPA: Clear old PTK >>> EAPOL: External notification - portEnabled=3D0 >>> EAPOL: Supplicant port status: Unauthorized >>> EAPOL: External notification - portValid=3D0 >>> EAPOL: Supplicant port status: Unauthorized >>> EAPOL: External notification - EAP success=3D0 >>> EAPOL: Supplicant port status: Unauthorized >>> EAPOL: External notification - portEnabled=3D1 >>> EAPOL: SUPP_PAE entering state CONNECTING >>> EAPOL: enable timer tick >>> EAPOL: SUPP_BE entering state IDLE >>> wlan0: Setting authentication timeout: 10 sec 0 usec >>> wlan0: Cancelling scan request >>> EAPOL: startWhen --> 0 >>> EAPOL: disable timer tick >>> EAPOL: SUPP_PAE entering state CONNECTING >>> EAPOL: enable timer tick >>> EAPOL: txStart >>> WPA: drop TX EAPOL in non-IEEE 802.1X mode (type=3D1 len=3D0) >>> wlan0: Event DISASSOC (1) received >>> wlan0: Disassociation notification >>> wlan0: CTRL-EVENT-DISCONNECTED bssid=3D04:f0:21:01:3d:87 reason=3D0 >>> wlan0: Auto connect enabled: try to reconnect (wps=3D0 wpa_state=3D6) >>> wlan0: Setting scan request: 0 sec 100000 usec >>> Added BSSID 04:f0:21:01:3d:87 into blacklist >>> wlan0: Blacklist count 1 --> request scan in 100 ms >>> wlan0: Setting scan request: 0 sec 100000 usec >>> wlan0: Disconnect event - remove keys >>> bsd_set_key: alg=3D0 addr=3D0x0 key_idx=3D0 set_tx=3D0 seq_len=3D0 key_= len=3D0 >>> bsd_del_key: key_idx=3D0 >>> bsd_set_key: alg=3D0 addr=3D0x0 key_idx=3D1 set_tx=3D0 seq_len=3D0 key_= len=3D0 >>> bsd_del_key: key_idx=3D1 >>> bsd_set_key: alg=3D0 addr=3D0x0 key_idx=3D2 set_tx=3D0 seq_len=3D0 key_= len=3D0 >>> bsd_del_key: key_idx=3D2 >>> bsd_set_key: alg=3D0 addr=3D0x0 key_idx=3D3 set_tx=3D0 seq_len=3D0 key_= len=3D0 >>> bsd_del_key: key_idx=3D3 >>> bsd_set_key: alg=3D0 addr=3D0x801c2f4c8 key_idx=3D0 set_tx=3D0 seq_len= =3D0 key_len=3D0 >>> bsd_del_key: addr=3D04:f0:21:01:3d:87 >>> wlan0: State: ASSOCIATED -> DISCONNECTED >>> EAPOL: External notification - portEnabled=3D0 >>> EAPOL: SUPP_PAE entering state DISCONNECTED >>> EAPOL: Supplicant port status: Unauthorized >>> EAPOL: SUPP_BE entering state INITIALIZE >>> EAPOL: Supplicant port status: Unauthorized >>> EAPOL: External notification - portValid=3D0 >>> EAPOL: Supplicant port status: Unauthorized >>> EAPOL: External notification - EAP success=3D0 >>> EAPOL: Supplicant port status: Unauthorized >>> wlan0: State: DISCONNECTED -> SCANNING >>> >>> >>> _______________________________________________ >>> freebsd-stable@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >>> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.or= g" >> > > From owner-freebsd-wireless@FreeBSD.ORG Wed Jan 8 08:41:10 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3D8B9F09; Wed, 8 Jan 2014 08:41:10 +0000 (UTC) Received: from lyra.its.uu.se (lyra.its.uu.se [130.238.7.73]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EE9F31F83; Wed, 8 Jan 2014 08:41:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at uu.se Received: from nyx.uppmax.uu.se (nyx.uppmax.uu.se [130.238.137.40]) by lyra.its.uu.se (Postfix) with ESMTP id 8448338F7D; Wed, 8 Jan 2014 09:31:31 +0100 (CET) Message-ID: <52CD0CEE.5010700@pean.org> Date: Wed, 08 Jan 2014 09:31:42 +0100 From: =?windows-1252?Q?Peter_Ankerst=E5l?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130807 Thunderbird/17.0.8 MIME-Version: 1.0 To: Adrian Chadd Subject: Re: wpa_supplicant problem. References: <79AEC286-90EB-41D0-8CA8-18A78D53C3C6@pean.org> <8CFBC6B5-B683-4EC3-9561-EFFA6CE55755@pean.org> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: "stable@freebsd.org" , "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Wed, 08 Jan 2014 08:41:10 -0000 Hehe, I dont think Im ready for 11 yet. Do you think these fixes will be in 10 any time soon? On 01/08/2014 07:30 AM, Adrian Chadd wrote: > Hm, sounds to me like something I fixed in -HEAD. Try -HEAD. > > The TL;DR - the EAPOL frames are going out at a much higher transmit > rate than the initial association attempts, which means it associates > fine but it can't authenticate successfully. > > Try running -HEAD. I bet it'll work. > > From owner-freebsd-wireless@FreeBSD.ORG Wed Jan 8 17:46:27 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 732A7CCF; Wed, 8 Jan 2014 17:46:27 +0000 (UTC) Received: from mail-qe0-x236.google.com (mail-qe0-x236.google.com [IPv6:2607:f8b0:400d:c02::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1DA13108A; Wed, 8 Jan 2014 17:46:27 +0000 (UTC) Received: by mail-qe0-f54.google.com with SMTP id cy11so2063713qeb.41 for ; Wed, 08 Jan 2014 09:46:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=ELiS7OhV0xVxqnEnVgpGj/8enSOizNbzWsvXMOA/SAA=; b=KmAtKAG9UpF2PkYEIDN5DJiihw6sMXOEByeH4cyYbL6IJ8//jNDUeyvLrhie6U51C0 x7h/TiFJzJWtEDQ6eBbqtpduUXPOu+5SOnrKqvQKpR8ElxOPpmwP8PygR3TSx+D/O1Pr Wi/sD1W3EE+qnJJHe+NVuAEHlCRxRC3LjpSY6ob5+e2JYyk+QYcEYnsTPme4cMk/t1oc Eqie9I9dpmD3lP/HuEu9voG1qmcdXOAols9jV7EVwFFrBYXkeOmkywetIr/7WvdFN36i NEvRbzbAwZo+hR027gYWOwPHEVjwQTjF3YVjd7xnQQJTRiBpqUYH0IqDqXFGdH6n22A6 mYTA== MIME-Version: 1.0 X-Received: by 10.49.24.140 with SMTP id u12mr161956611qef.78.1389203186247; Wed, 08 Jan 2014 09:46:26 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.52.8 with HTTP; Wed, 8 Jan 2014 09:46:26 -0800 (PST) In-Reply-To: <52CD0CEE.5010700@pean.org> References: <79AEC286-90EB-41D0-8CA8-18A78D53C3C6@pean.org> <8CFBC6B5-B683-4EC3-9561-EFFA6CE55755@pean.org> <52CD0CEE.5010700@pean.org> Date: Wed, 8 Jan 2014 09:46:26 -0800 X-Google-Sender-Auth: W8Y0va9ZCbIb85drAcMlls6-FMU Message-ID: Subject: Re: wpa_supplicant problem. From: Adrian Chadd To: =?ISO-8859-1?Q?Peter_Ankerst=E5l?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "stable@freebsd.org" , "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Wed, 08 Jan 2014 17:46:27 -0000 On 8 January 2014 00:31, Peter Ankerst=E5l wrote: > Hehe, > > I dont think Im ready for 11 yet. Do you think these fixes will be in 10 = any > time soon? I can try backporting the EAPOL fix(es) to HEAD but it may involve other fi= xes. I'll take a look. -a From owner-freebsd-wireless@FreeBSD.ORG Thu Jan 9 07:21:49 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 611442F2; Thu, 9 Jan 2014 07:21:49 +0000 (UTC) Received: from graal.it-profi.org.ua (graal.shurik.kiev.ua [193.239.74.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 182EC1543; Thu, 9 Jan 2014 07:21:48 +0000 (UTC) Received: from [217.76.201.82] (helo=thinkpad.it-profi.org.ua) by graal.it-profi.org.ua with esmtpa (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1W19vv-0007Lh-I6; Thu, 09 Jan 2014 09:21:39 +0200 Message-ID: <52CE4E00.3060102@shurik.kiev.ua> Date: Thu, 09 Jan 2014 09:21:36 +0200 From: Alexandr User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Maciej Milewski , Adrian Chadd Subject: Re: Problem connecting to AP References: <52CAB6F2.3010707@shurik.kiev.ua> <52CABD82.2070106@shurik.kiev.ua> <52CBFFD3.1080504@dat.pl> In-Reply-To: <52CBFFD3.1080504@dat.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 217.76.201.82 X-SA-Exim-Mail-From: shuriku@shurik.kiev.ua X-SA-Exim-Scanned: No (on graal.it-profi.org.ua); SAEximRunCond expanded to false Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Thu, 09 Jan 2014 07:21:49 -0000 No, wpa_passphrase didn't help me. 07.01.2014 15:23, Maciej Milewski пишет: > On 06.01.2014 15:28, Alexandr wrote: >> I simply changed key in this listing to "secret". Yes, I tried a very >> simple configuration, no luck: >> >> network={ >> ssid="door" >> psk="secret" >> } > Try using wpa_passphrase: > man wpa_passphrase. > It should create correct psk. > >> 06.01.2014 16:24, Adrian Chadd пишет: >>> The passphrase 'secret' is too short for WPA. >>> >>> I gather it's not _that_, but is it long enough to meet WPA reuirements? >>> >>> Have you tried removing the proto= and bssid lines? You don't strictly >>> need them. >>> >>> Thanks! >>> >>> -a >>> >>> >>> On 6 January 2014 06:00, Alexandr wrote: >>>> Hello, >>>> >>>> I recently upgraded system on my laptop to current with a hope to get my >>>> wireless card working. Now it successfully recognized by kernel: >>>> >>>> iwn0: mem 0xf2d00000-0xf2d01fff irq 17 >>>> at device 0.0 on pci3 >>>> >>>> Unfortunately, I can't connect to my home access point: >>>> >>>> wpa_supplicant[519]: wlan0: CTRL-EVENT-DISCONNECTED >>>> bssid=54:e6:fc:e4:48:c4 reason=0 >>>> wpa_supplicant[519]: wlan0: WPA: 4-Way Handshake failed - pre-shared key >>>> may be incorrect >>>> wpa_supplicant[519]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 >>>> ssid="door" auth_failures=10 duration=30 >>>> >>>> I tried different security settings (WPA-WPA2 + AES-TKIP), wireless >>>> modes, radio channels on my access point, the same error. >>>> >>>> # ifconfig wlan0 >>>> wlan0: flags=8843 metric 0 mtu 1500 >>>> ether 68:5d:43:92:3a:88 >>>> nd6 options=29 >>>> media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) >>>> status: no carrier >>>> ssid door channel 1 (2412 MHz 11g ht/40+) >>>> country US authmode WPA2/802.11i privacy ON deftxkey UNDEF >>>> txpower 13 >>>> bmiss 10 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 >>>> roam:rssi 7 roam:rate 64 protmode CTS ampdulimit 8k -amsdutx amsdurx >>>> shortgi wme roaming MANUAL >>>> >>>> /etc/wpa_supplicant.conf: >>>> >>>> ctrl_interface=/var/run/wpa_supplicant >>>> ctrl_interface_group=wheel >>>> eapol_version=2 >>>> >>>> network={ >>>> ssid="door" >>>> bssid=54:e6:fc:e4:48:c4 >>>> key_mgmt=WPA-PSK >>>> proto=WPA RSN >>>> psk="secret" >>>> } >>>> >>>> >>>> Other home devices connets to AP without problems. Can you point me how >>>> I can debug it? >>>> >>>> >>>> >>>> _______________________________________________ >>>> freebsd-wireless@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>>> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" >> _______________________________________________ >> freebsd-wireless@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" > From owner-freebsd-wireless@FreeBSD.ORG Thu Jan 9 07:29:06 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9D1E63DE; Thu, 9 Jan 2014 07:29:06 +0000 (UTC) Received: from graal.it-profi.org.ua (graal.shurik.kiev.ua [193.239.74.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5342A158A; Thu, 9 Jan 2014 07:29:06 +0000 (UTC) Received: from [217.76.201.82] (helo=thinkpad.it-profi.org.ua) by graal.it-profi.org.ua with esmtpa (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1W1A36-0007Nb-G9; Thu, 09 Jan 2014 09:29:04 +0200 Message-ID: <52CE4FBD.3060208@shurik.kiev.ua> Date: Thu, 09 Jan 2014 09:29:01 +0200 From: Alexandr User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Maciej Milewski , Adrian Chadd Subject: Re: Problem connecting to AP References: <52CAB6F2.3010707@shurik.kiev.ua> <52CABD82.2070106@shurik.kiev.ua> <52CBFFD3.1080504@dat.pl> <52CE4E00.3060102@shurik.kiev.ua> In-Reply-To: <52CE4E00.3060102@shurik.kiev.ua> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 217.76.201.82 X-SA-Exim-Mail-From: shuriku@shurik.kiev.ua X-SA-Exim-Scanned: No (on graal.it-profi.org.ua); SAEximRunCond expanded to false Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Thu, 09 Jan 2014 07:29:06 -0000 By the way, it connects to my work Cisco and Linksys AP's (but only 11g) without any problems... 09.01.2014 09:21, Alexandr пишет: > No, wpa_passphrase didn't help me. > > 07.01.2014 15:23, Maciej Milewski пишет: >> On 06.01.2014 15:28, Alexandr wrote: >>> I simply changed key in this listing to "secret". Yes, I tried a very >>> simple configuration, no luck: >>> >>> network={ >>> ssid="door" >>> psk="secret" >>> } >> Try using wpa_passphrase: >> man wpa_passphrase. >> It should create correct psk. >> >>> 06.01.2014 16:24, Adrian Chadd пишет: >>>> The passphrase 'secret' is too short for WPA. >>>> >>>> I gather it's not _that_, but is it long enough to meet WPA reuirements? >>>> >>>> Have you tried removing the proto= and bssid lines? You don't strictly >>>> need them. >>>> >>>> Thanks! >>>> >>>> -a >>>> >>>> >>>> On 6 January 2014 06:00, Alexandr wrote: >>>>> Hello, >>>>> >>>>> I recently upgraded system on my laptop to current with a hope to get my >>>>> wireless card working. Now it successfully recognized by kernel: >>>>> >>>>> iwn0: mem 0xf2d00000-0xf2d01fff irq 17 >>>>> at device 0.0 on pci3 >>>>> >>>>> Unfortunately, I can't connect to my home access point: >>>>> >>>>> wpa_supplicant[519]: wlan0: CTRL-EVENT-DISCONNECTED >>>>> bssid=54:e6:fc:e4:48:c4 reason=0 >>>>> wpa_supplicant[519]: wlan0: WPA: 4-Way Handshake failed - pre-shared key >>>>> may be incorrect >>>>> wpa_supplicant[519]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 >>>>> ssid="door" auth_failures=10 duration=30 >>>>> >>>>> I tried different security settings (WPA-WPA2 + AES-TKIP), wireless >>>>> modes, radio channels on my access point, the same error. >>>>> >>>>> # ifconfig wlan0 >>>>> wlan0: flags=8843 metric 0 mtu 1500 >>>>> ether 68:5d:43:92:3a:88 >>>>> nd6 options=29 >>>>> media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) >>>>> status: no carrier >>>>> ssid door channel 1 (2412 MHz 11g ht/40+) >>>>> country US authmode WPA2/802.11i privacy ON deftxkey UNDEF >>>>> txpower 13 >>>>> bmiss 10 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 >>>>> roam:rssi 7 roam:rate 64 protmode CTS ampdulimit 8k -amsdutx amsdurx >>>>> shortgi wme roaming MANUAL >>>>> >>>>> /etc/wpa_supplicant.conf: >>>>> >>>>> ctrl_interface=/var/run/wpa_supplicant >>>>> ctrl_interface_group=wheel >>>>> eapol_version=2 >>>>> >>>>> network={ >>>>> ssid="door" >>>>> bssid=54:e6:fc:e4:48:c4 >>>>> key_mgmt=WPA-PSK >>>>> proto=WPA RSN >>>>> psk="secret" >>>>> } >>>>> >>>>> >>>>> Other home devices connets to AP without problems. Can you point me how >>>>> I can debug it? >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> freebsd-wireless@freebsd.org mailing list >>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>>>> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" >>> _______________________________________________ >>> freebsd-wireless@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" From owner-freebsd-wireless@FreeBSD.ORG Thu Jan 9 18:54:29 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D570EE35; Thu, 9 Jan 2014 18:54:29 +0000 (UTC) Received: from mail-qe0-x233.google.com (mail-qe0-x233.google.com [IPv6:2607:f8b0:400d:c02::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8255B1318; Thu, 9 Jan 2014 18:54:29 +0000 (UTC) Received: by mail-qe0-f51.google.com with SMTP id 1so3627222qee.10 for ; Thu, 09 Jan 2014 10:54:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=G7BCijE38IVTb73pW7bcxmNHCsuuNburDZcFCJbAClk=; b=ubos3p1fxe5BqdvdLHwqu+TWAA07EZWKIg3cihLsxzEN6WVVL+Df2MlEvtyR3tl7Lo 3UH3MQOaPRTEUzXNMk04qacZSf1YVw9KKmJNGByD8aAb28Elmd5HVAV9XSvib/yRQO/q KRVSBHxdXBZjZ+Uz1BbecM23ugLHLwjE6NS5xvZaVYVT+wfNOB/IGAit+dlFFrGyL9lK y4flKl6bWOWt/CSgUXAd0p4fgxv3Ovh/3fWU+9zSYI25pwUsdUBTSo6PWv52nnGwlyKd F03WUIGHe8QNB0zpRZCVlVih6jcUV1QW0mSNonuSuriVBgFMcwXN3Jqt7l6VL9OeFarS pHmQ== MIME-Version: 1.0 X-Received: by 10.229.24.4 with SMTP id t4mr10645289qcb.13.1389293668556; Thu, 09 Jan 2014 10:54:28 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.52.8 with HTTP; Thu, 9 Jan 2014 10:54:28 -0800 (PST) In-Reply-To: <46a77b04.1144e.143666e7da5.Coremail.u8j9@163.com> References: <46a77b04.1144e.143666e7da5.Coremail.u8j9@163.com> Date: Thu, 9 Jan 2014 10:54:28 -0800 X-Google-Sender-Auth: QbUxYL2Q7Nq4z0TUuZ1jXoAd-jo Message-ID: Subject: Re: atheros chip From: Adrian Chadd To: =?UTF-8?B?5a2Q5paH?= , "freebsd-embedded@freebsd.org" , "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Thu, 09 Jan 2014 18:54:29 -0000 Hi! So, you can do crossbuilds using my tools: http://code.google.com/p/freebsd-wifi-build There's at least one example board (TL-WR1043nd) that's based on the AR91xx= . The AR7161 is found in the PB42 board and the Routerstation Pro board configurations. There are instructions there that you can follow! Thanks! -Adrian On 5 January 2014 23:22, =E5=AD=90=E6=96=87 wrote: > Hello , Adrian > I am a software engneer comming from china. I want to porting the > freebsd to compex ar9161 board , Can you tell me how to set up the > environment and where I can get the sourcecode? > Thanks > > From owner-freebsd-wireless@FreeBSD.ORG Fri Jan 10 17:37:53 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 086FAE49; Fri, 10 Jan 2014 17:37:53 +0000 (UTC) Received: from mail-qe0-x232.google.com (mail-qe0-x232.google.com [IPv6:2607:f8b0:400d:c02::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A8D201F20; Fri, 10 Jan 2014 17:37:52 +0000 (UTC) Received: by mail-qe0-f50.google.com with SMTP id 1so4794323qec.23 for ; Fri, 10 Jan 2014 09:37:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=i4JMFFw+ZHaMyIQqdMtj3ssURev2J3TUZBqx25FH1S4=; b=pE4GnmTR/IkpsLYgD08kWJL10vtS4xGYhK1Ko7GZ1d92sakZ/upAyL+bmDMrcnoac0 qGULYw1LX906lESbSfR4Ez1VysAwfMBv37gkZuyaI3Eed3DM5jfRzOZRHX+0/pYlkYze e7ghEF/XNVv/cB5G/ZMcQRqZF9LaZsg7PObIuQQFM5tbPMOn+G3PgwrdKA0fXX9h+3/L uys13rXx0gEtZWY4t0drs0VD5bGwq6ZY9QgNTDp7/8Zgx4gQYLRlgrzKPxgxFb9xtIem 0zcVAjToeoruFHlgIn0xSQhlL2ecknRWZggweiEH5zACov4hWf+QrBAqzOy0CgX8IDMw hc3Q== MIME-Version: 1.0 X-Received: by 10.224.15.74 with SMTP id j10mr9789771qaa.26.1389375471888; Fri, 10 Jan 2014 09:37:51 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.52.8 with HTTP; Fri, 10 Jan 2014 09:37:51 -0800 (PST) In-Reply-To: References: Date: Fri, 10 Jan 2014 09:37:51 -0800 X-Google-Sender-Auth: p-tU6DjT1yA84vuadhp6Mav8pD8 Message-ID: Subject: Re: IWN hangs periodically on 10.0RC3 From: Adrian Chadd To: Lars Engels , Kevin Oberman , "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Stable Mailing List X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Fri, 10 Jan 2014 17:37:53 -0000 .. when you see it hang, does anything get logged in dmesg (eg a firmware panic) ? Try recompiling your kernel with: IEEE80211_DEBUG IWN_DEBUG That way it can be debugged :) The first thing I'd check is whether there's more fun races going on in the crypto code - try wlandebug +crypto . -a From owner-freebsd-wireless@FreeBSD.ORG Sat Jan 11 05:02:37 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3FEC8FAD for ; Sat, 11 Jan 2014 05:02:37 +0000 (UTC) Received: from mail-pb0-x22a.google.com (mail-pb0-x22a.google.com [IPv6:2607:f8b0:400e:c01::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 176341179 for ; Sat, 11 Jan 2014 05:02:37 +0000 (UTC) Received: by mail-pb0-f42.google.com with SMTP id uo5so5268808pbc.15 for ; Fri, 10 Jan 2014 21:02:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=RoxKY1V+74ZEDixK5yIDbaDBPxgiQglPzrrFNnNpRyg=; b=lqka3prg5Mpn1OKBxXXI7DsWyUYFy+LveXZhgvhsgHN9A3wrpkIg2ZpHdforSfckd8 dgr7FPAfkpWyO2Md5UiEibuJMgSnZxK5A/yBB68MA9c+2i4zVMUSFIsADwNhhqjnrnGL 3iBfhVbOPxFTZ4DB4u6/rpi+oCHdOP8OZVDfMT+iN8O7voUno4kl5O6QK0KioGh5NZWe nOq2wZORrMSDTGSXqDpMOuGxRkFfvRCTEK1bCpUbfQih3KjFDr3EWb7Q0IFOrMA3m8wi Oi6ex77n7ySHyFSvY++QFwmuZTNWdovAm919jjiKABRUXVHUPvVUQMa4uWjVSpkNaUAT Vt/g== MIME-Version: 1.0 X-Received: by 10.68.17.41 with SMTP id l9mr16166795pbd.76.1389416556640; Fri, 10 Jan 2014 21:02:36 -0800 (PST) Sender: kob6558@gmail.com Received: by 10.67.23.101 with HTTP; Fri, 10 Jan 2014 21:02:36 -0800 (PST) Date: Fri, 10 Jan 2014 21:02:36 -0800 X-Google-Sender-Auth: 63F3zHWrWqyNuayMheI7it_dFEc Message-ID: Subject: IWN performance very bad with 10.0-RC5 From: Kevin Oberman To: FreeBSD Wireless Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Sat, 11 Jan 2014 05:02:37 -0000 Since upgrading my system to 10.0-RC# and now 10.0-RC5, by wireless performance has severely degraded. iwn0@pci0:3:0:0: class=0x028000 card=0x13118086 chip=0x00858086 rev=0x34 hdr=0x00 vendor = 'Intel Corporation' device = 'Centrino Advanced-N 6205 [Taylor Peak]' class = network Throughput is down sharply for TCP file transfers (sftp) between it and a local, wired system. Under 9.2-STABLE I was getting about 23 Mbps. With 10.0-rc5, I get about 11M. Testing also shows occasional, short circuit drops, under half a second each. Once in a while under 10.0-rc3 I would see the link drop and stay down. restarting the interface (service netif restart restart) would restore the link. I just upgraded to 10.0-rc5 this afternoon and have not seen the hang to this point, but this only happened every couple of days. I just noticed that the interface is running '11g' and not 'n'. wlan0: flags=8843 metric 0 mtu 1500 ether a0:88:b4:c6:ad:28 inet 192.168.1.5 netmask 0xffffff00 broadcast 192.168.1.255 nd6 options=29 media: IEEE 802.11 Wireless Ethernet OFDM/48Mbps mode 11g status: associated ssid babcom channel 6 (2437 MHz 11g) bssid 00:26:b8:67:c3:2d country US authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 2:128-bit txpower 15 bmiss 10 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme roaming MANUAL Any idea of the problem or what information I could provide? -- R. Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com From owner-freebsd-wireless@FreeBSD.ORG Sat Jan 11 05:23:54 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D29E610B for ; Sat, 11 Jan 2014 05:23:54 +0000 (UTC) Received: from alogt.com (alogt.com [69.36.191.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AAEA8127B for ; Sat, 11 Jan 2014 05:23:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=7JI6o4xx13GsBLsP0xkYXY85hPFmK1eGhX4CP2B1GxE=; b=FzjO+lu08jfKBz385zQYiNDX3ydtBjSD6PmuQ+zqwpl1cB7m2bHw7Vww1HZwM/K0mWr0zHcIpmXHo94xbm3ZwCaoiOY9QUD3bxMCM2WtRAuL4ed0sNeI8QqZapS+ddBYS0oX/plvNC3weBDQAuHpt4neR4PyLuW0SwRVqhyqDKg=; Received: from [120.176.43.240] (port=43511 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128) (Exim 4.82) (envelope-from ) id 1W1r33-002op1-3r; Fri, 10 Jan 2014 22:23:53 -0700 Date: Sat, 11 Jan 2014 13:23:38 +0800 From: Erich Dollansky To: Kevin Oberman Subject: Re: IWN performance very bad with 10.0-RC5 Message-ID: <20140111132338.7a7fc14c@X220.alogt.com> In-Reply-To: References: Organization: ALO Green Technologies X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erich@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: FreeBSD Wireless X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Sat, 11 Jan 2014 05:23:54 -0000 Hi, On Fri, 10 Jan 2014 21:02:36 -0800 Kevin Oberman wrote: > Since upgrading my system to 10.0-RC# and now 10.0-RC5, by wireless > performance has severely degraded. > > iwn0@pci0:3:0:0: class=0x028000 card=0x13118086 chip=0x00858086 > rev=0x34 hdr=0x00 > vendor = 'Intel Corporation' > device = 'Centrino Advanced-N 6205 [Taylor Peak]' > class = network > it seems that I have the same hardware and the same problem. While a device using run can connect to my access point without problems, iwn is not able to connect anymore. But, it connected earlier without any problems to other access points. iwn never hangs in my case, it is simply not able to connect. Successfully initialized wpa_supplicant wlan0: Trying to associate with 90:61:0c:13:36:fe (SSID='Sumarni' freq=2437 MHz) wlan0: Associated with 90:61:0c:13:36:fe wlan0: CTRL-EVENT-DISCONNECTED bssid=90:61:0c:13:36:fe reason=0 wlan0: WPA: 4-Way Handshake failed - pre-shared key may be incorrect wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="Some Name" auth_failures=1 duration=10 With the same configuration, run0 connects without problems. How could I help to fix this problem? Erich From owner-freebsd-wireless@FreeBSD.ORG Sat Jan 11 05:24:47 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BB512123 for ; Sat, 11 Jan 2014 05:24:47 +0000 (UTC) Received: from mail-qe0-x22d.google.com (mail-qe0-x22d.google.com [IPv6:2607:f8b0:400d:c02::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 73FCE127D for ; Sat, 11 Jan 2014 05:24:47 +0000 (UTC) Received: by mail-qe0-f45.google.com with SMTP id nd7so25733qeb.18 for ; Fri, 10 Jan 2014 21:24:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=pkLWbhEhmfVdUyyiFUByTxa1a2qxj+nnZ6OWIAIrCJc=; b=i8vVeSch0SRpc5Hx6f3ujpl28hKXI9Njf7WgllLxhvKBkXPJlPITVuvxG9glh943yi /WUUD/a1gYKUE6VgqgOYRi0TZMrnNmqKLYzmTL2LkaleYIBcu6z68YwDhYJX6ql4yLVH po7mO4dyMqzKFO99JN/DAGG0bo4ojV1pJWaUDBTrk3ZScnszAhy4nm0dwqIPxp2TbD9P VI4FareLloDLVdOZAOLQ8bwVAN1a+Kd6aC48BwAIXoIMfxrOImdCyoUiaRjVBvNssBB7 9apEIEIZfS7WYYmP3AGclcV2fs8KCAU0bzTM///q6bhTEedHD93xLLnXLhlU04SeeYbc SAJw== MIME-Version: 1.0 X-Received: by 10.49.110.134 with SMTP id ia6mr12486739qeb.78.1389417886648; Fri, 10 Jan 2014 21:24:46 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.52.8 with HTTP; Fri, 10 Jan 2014 21:24:46 -0800 (PST) In-Reply-To: <20140111132338.7a7fc14c@X220.alogt.com> References: <20140111132338.7a7fc14c@X220.alogt.com> Date: Fri, 10 Jan 2014 21:24:46 -0800 X-Google-Sender-Auth: PCiQ1ID_XNlSMBDLSNlX2HbbyeY Message-ID: Subject: Re: IWN performance very bad with 10.0-RC5 From: Adrian Chadd To: Erich Dollansky Content-Type: text/plain; charset=ISO-8859-1 Cc: Kevin Oberman , FreeBSD Wireless X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Sat, 11 Jan 2014 05:24:47 -0000 Hi, diff the drivers between 9.x and 10.x; not much has changed. Try running the 9.x sys/dev/iwn in 10.x, and make sure you use the 9.x firmware. see if that fixes it. -a On 10 January 2014 21:23, Erich Dollansky wrote: > Hi, > > On Fri, 10 Jan 2014 21:02:36 -0800 > Kevin Oberman wrote: > >> Since upgrading my system to 10.0-RC# and now 10.0-RC5, by wireless >> performance has severely degraded. >> >> iwn0@pci0:3:0:0: class=0x028000 card=0x13118086 chip=0x00858086 >> rev=0x34 hdr=0x00 >> vendor = 'Intel Corporation' >> device = 'Centrino Advanced-N 6205 [Taylor Peak]' >> class = network >> > it seems that I have the same hardware and the same problem. While a > device using run can connect to my access point without problems, iwn > is not able to connect anymore. But, it connected earlier without any > problems to other access points. iwn never hangs in my case, it is > simply not able to connect. > > Successfully initialized wpa_supplicant > wlan0: Trying to associate with 90:61:0c:13:36:fe (SSID='Sumarni' > freq=2437 MHz) wlan0: Associated with 90:61:0c:13:36:fe > wlan0: CTRL-EVENT-DISCONNECTED bssid=90:61:0c:13:36:fe reason=0 > wlan0: WPA: 4-Way Handshake failed - pre-shared key may be incorrect > wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="Some Name" > auth_failures=1 duration=10 > > With the same configuration, run0 connects without problems. > > How could I help to fix this problem? > > Erich > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" From owner-freebsd-wireless@FreeBSD.ORG Sat Jan 11 05:36:38 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BCEAC19A; Sat, 11 Jan 2014 05:36:38 +0000 (UTC) Received: from alogt.com (alogt.com [69.36.191.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8BC191307; Sat, 11 Jan 2014 05:36:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=hPzQk4gXPOmY7GSZYdYoEh6+zX9fs2xRJVNNwS+ZZAw=; b=emCC0Xa2NDwhmLVd1PICEAjBFm9L4h2gBG/jY8g8PyfjGcZCd9+PJRjpz1CFkLy8dC6yNCgG0+TpryBhMLY/63CpdIS6++Wf1P+LfFscn/ZUM/32DWVnzi8pkHAPooMecTbXbsQgm7WnN45JIqoLF3obNcTlbaD/MgtMwImGTHQ=; Received: from [120.176.43.240] (port=29172 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128) (Exim 4.82) (envelope-from ) id 1W1rFN-002uBf-AC; Fri, 10 Jan 2014 22:36:37 -0700 Date: Sat, 11 Jan 2014 13:36:10 +0800 From: Erich Dollansky To: Adrian Chadd Subject: Re: IWN performance very bad with 10.0-RC5 Message-ID: <20140111133610.313a4bca@X220.alogt.com> In-Reply-To: References: <20140111132338.7a7fc14c@X220.alogt.com> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: Kevin Oberman , FreeBSD Wireless X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Sat, 11 Jan 2014 05:36:38 -0000 Hi, On Fri, 10 Jan 2014 21:24:46 -0800 Adrian Chadd wrote: > diff the drivers between 9.x and 10.x; not much has changed. > > Try running the 9.x sys/dev/iwn in 10.x, and make sure you use the 9.x > firmware. see if that fixes it. > it was working on 10 until at least summer/fall of last year. I can't recall the precise date as I moved to cable by change. As it always worked outside, I never bothered to test. I will try to get the sources for 9. Erich > > -a > > > On 10 January 2014 21:23, Erich Dollansky wrote: > > Hi, > > > > On Fri, 10 Jan 2014 21:02:36 -0800 > > Kevin Oberman wrote: > > > >> Since upgrading my system to 10.0-RC# and now 10.0-RC5, by wireless > >> performance has severely degraded. > >> > >> iwn0@pci0:3:0:0: class=0x028000 card=0x13118086 chip=0x00858086 > >> rev=0x34 hdr=0x00 > >> vendor = 'Intel Corporation' > >> device = 'Centrino Advanced-N 6205 [Taylor Peak]' > >> class = network > >> > > it seems that I have the same hardware and the same problem. While a > > device using run can connect to my access point without problems, > > iwn is not able to connect anymore. But, it connected earlier > > without any problems to other access points. iwn never hangs in my > > case, it is simply not able to connect. > > > > Successfully initialized wpa_supplicant > > wlan0: Trying to associate with 90:61:0c:13:36:fe (SSID='Sumarni' > > freq=2437 MHz) wlan0: Associated with 90:61:0c:13:36:fe > > wlan0: CTRL-EVENT-DISCONNECTED bssid=90:61:0c:13:36:fe reason=0 > > wlan0: WPA: 4-Way Handshake failed - pre-shared key may be incorrect > > wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="Some Name" > > auth_failures=1 duration=10 > > > > With the same configuration, run0 connects without problems. > > > > How could I help to fix this problem? > > > > Erich > > _______________________________________________ > > freebsd-wireless@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > > To unsubscribe, send any mail to > > "freebsd-wireless-unsubscribe@freebsd.org" From owner-freebsd-wireless@FreeBSD.ORG Sat Jan 11 05:46:01 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5E6821F4 for ; Sat, 11 Jan 2014 05:46:01 +0000 (UTC) Received: from mail-qa0-x232.google.com (mail-qa0-x232.google.com [IPv6:2607:f8b0:400d:c00::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 181A61379 for ; Sat, 11 Jan 2014 05:46:01 +0000 (UTC) Received: by mail-qa0-f50.google.com with SMTP id cm18so3532334qab.37 for ; Fri, 10 Jan 2014 21:45:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=1K2Wtp9h0uQogdLoht8xhVZSjIWPkXhlGbGDyGjgm4g=; b=PlOCwUmX5OnMKh10fAuJxSdBGHyHsmjkQIaLoWWxxAHehOhGsU060rpbEQhwI51xfh 2fd2e5GevOeV7qi47YNEJ3Gx8YfUK1qfTCmBdznbze82rmF7v/iV0h8VPwJilxk8wcC5 QEd3dxbXumjiZpRWP4POOatzi75p1xo4LXupcSGhhfnrMgjRwNvdJh3I2zFJTmrfsaPf eCCLReqYB6iPvMv2rth/gkq+LwYyMtEdsoHZvBKDrJmU05SzbBrp4t9n1lkIDaG+9F6Z z79ErKK0unm9+o8sPB2MlULpwFqlum+9cnSmpwLKzJiPFpNRV9E8KCrK58dShZEdKW6s koxQ== MIME-Version: 1.0 X-Received: by 10.49.76.66 with SMTP id i2mr15413644qew.35.1389419159472; Fri, 10 Jan 2014 21:45:59 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.52.8 with HTTP; Fri, 10 Jan 2014 21:45:59 -0800 (PST) Received: by 10.224.52.8 with HTTP; Fri, 10 Jan 2014 21:45:59 -0800 (PST) In-Reply-To: <20140111133610.313a4bca@X220.alogt.com> References: <20140111132338.7a7fc14c@X220.alogt.com> <20140111133610.313a4bca@X220.alogt.com> Date: Fri, 10 Jan 2014 21:45:59 -0800 X-Google-Sender-Auth: aJLTJZyzgO0hP3DYvivxA8MRzu4 Message-ID: Subject: Re: IWN performance very bad with 10.0-RC5 From: Adrian Chadd To: Erich Dollansky Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: Kevin Oberman , freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Sat, 11 Jan 2014 05:46:01 -0000 Hi, Please help dig up which change broke it. Even just test out the head iwn code from 6 months ago. Adrian On Jan 11, 2014 12:36 AM, "Erich Dollansky" wrote: > Hi, > > On Fri, 10 Jan 2014 21:24:46 -0800 > Adrian Chadd wrote: > > > diff the drivers between 9.x and 10.x; not much has changed. > > > > Try running the 9.x sys/dev/iwn in 10.x, and make sure you use the 9.x > > firmware. see if that fixes it. > > > it was working on 10 until at least summer/fall of last year. I can't > recall the precise date as I moved to cable by change. As it always > worked outside, I never bothered to test. > > I will try to get the sources for 9. > > Erich > > > > -a > > > > > > On 10 January 2014 21:23, Erich Dollansky wrote: > > > Hi, > > > > > > On Fri, 10 Jan 2014 21:02:36 -0800 > > > Kevin Oberman wrote: > > > > > >> Since upgrading my system to 10.0-RC# and now 10.0-RC5, by wireless > > >> performance has severely degraded. > > >> > > >> iwn0@pci0:3:0:0: class=0x028000 card=0x13118086 chip=0x00858086 > > >> rev=0x34 hdr=0x00 > > >> vendor = 'Intel Corporation' > > >> device = 'Centrino Advanced-N 6205 [Taylor Peak]' > > >> class = network > > >> > > > it seems that I have the same hardware and the same problem. While a > > > device using run can connect to my access point without problems, > > > iwn is not able to connect anymore. But, it connected earlier > > > without any problems to other access points. iwn never hangs in my > > > case, it is simply not able to connect. > > > > > > Successfully initialized wpa_supplicant > > > wlan0: Trying to associate with 90:61:0c:13:36:fe (SSID='Sumarni' > > > freq=2437 MHz) wlan0: Associated with 90:61:0c:13:36:fe > > > wlan0: CTRL-EVENT-DISCONNECTED bssid=90:61:0c:13:36:fe reason=0 > > > wlan0: WPA: 4-Way Handshake failed - pre-shared key may be incorrect > > > wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="Some Name" > > > auth_failures=1 duration=10 > > > > > > With the same configuration, run0 connects without problems. > > > > > > How could I help to fix this problem? > > > > > > Erich > > > _______________________________________________ > > > freebsd-wireless@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > > > To unsubscribe, send any mail to > > > "freebsd-wireless-unsubscribe@freebsd.org" > > From owner-freebsd-wireless@FreeBSD.ORG Sat Jan 11 05:51:42 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6DAFE232; Sat, 11 Jan 2014 05:51:42 +0000 (UTC) Received: from mail-pb0-x22c.google.com (mail-pb0-x22c.google.com [IPv6:2607:f8b0:400e:c01::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 343A213E2; Sat, 11 Jan 2014 05:51:42 +0000 (UTC) Received: by mail-pb0-f44.google.com with SMTP id rq2so5276951pbb.17 for ; Fri, 10 Jan 2014 21:51:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=GUtZc8j89VvHnXWhbSVCypJ+xwbRzXea1jep1Vy3vck=; b=ZxSeKz/jQb7bjBV79xg3TOtkiEJUcqeRqMZDZSD9Zq3VuyP1u9PLPlnc84NGB1DnUF lSFhzScl+R/rZYQ4oohHRmqM8iz22SvbPFBr44pHpZ5tL+JP+yt7JazFnmO2v+TlYD5z NQ46r1UZl5IuGCcFQX8r+mRRv/pAUReQM7x6AwEx7b2rs+NPjnSC4jpo8za6fjiYQWmN SyEhkoLRRkxQdaeZCSc/VyD5m4EsIXCO/Feb4l2Uj2p4YiYV+1gnlkUAgMiKQ147K46X ORkQTvRLXMNVRl0d84WTve2uXQIMafQV0CtP9PgpG6O7zHSt1EYLM77bEPM8cOrj3AHq teVw== MIME-Version: 1.0 X-Received: by 10.68.227.36 with SMTP id rx4mr16456801pbc.164.1389419501804; Fri, 10 Jan 2014 21:51:41 -0800 (PST) Sender: kob6558@gmail.com Received: by 10.67.23.101 with HTTP; Fri, 10 Jan 2014 21:51:41 -0800 (PST) In-Reply-To: References: Date: Fri, 10 Jan 2014 21:51:41 -0800 X-Google-Sender-Auth: r2SmyYoyEG_Zst5gxrYYYoPrdSw Message-ID: Subject: Re: IWN hangs periodically on 10.0RC3 From: Kevin Oberman To: Adrian Chadd Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-wireless@freebsd.org" , FreeBSD Stable Mailing List X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Sat, 11 Jan 2014 05:51:42 -0000 On Fri, Jan 10, 2014 at 9:37 AM, Adrian Chadd wrote: > .. when you see it hang, does anything get logged in dmesg (eg a > firmware panic) ? > > Try recompiling your kernel with: > > IEEE80211_DEBUG > IWN_DEBUG > > That way it can be debugged :) > > The first thing I'd check is whether there's more fun races going on > in the crypto code - try wlandebug +crypto . > > > -a > I just sent a message about issues I am seeing with my IWN to wireless@. Then I saw these responses. Sorry. As far as logs go, I wee a number if cases of the following sequence: Jan 1 18:00:12 rogue dbus[1451]: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper) Jan 1 18:00:12 rogue dbus[1451]: [system] Successfully activated service 'org.freedesktop.PackageKit' Jan 1 18:28:56 rogue wpa_supplicant[620]: wlan0: CTRL-EVENT-DISCONNECTED bssid=00:26:b8:67:c3:2d reason=0 Jan 1 18:28:56 rogue kernel: wlan0: link state changed to DOWN Jan 1 18:28:59 rogue wpa_supplicant[620]: wlan0: Trying to associate with 00:26:b8:67:c3:2d (SSID='babcom' freq=2437 MHz) Jan 1 18:28:59 rogue wpa_supplicant[620]: wlan0: Associated with 00:26:b8:67:c3:2d Jan 1 18:28:59 rogue kernel: wlan0: link state changed to UP Jan 1 18:28:59 rogue dhclient[652]: send_packet: No buffer space available Jan 1 18:28:59 rogue devd: Executing '/etc/rc.d/dhclient quietstart wlan0' Jan 1 18:28:59 rogue wpa_supplicant[620]: wlan0: WPA: Key negotiation completed with 00:26:b8:67:c3:2d [PTK=CCMP GTK=CCMP] Jan 1 18:28:59 rogue wpa_supplicant[620]: wlan0: CTRL-EVENT-CONNECTED - Connection to 00:26:b8:67:c3:2d completed [id=1 id_str=] Jan 1 18:29:02 rogue dhclient: New IP Address (wlan0): 192.168.1.5 Jan 1 18:29:02 rogue dhclient: New Subnet Mask (wlan0): 255.255.255.0 Jan 1 18:29:02 rogue dhclient: New Broadcast Address (wlan0): 192.168.1.255 Jan 1 18:29:02 rogue dhclient: New Routers (wlan0): 192.168.1.1 So it seems that the bounce is happening fairly often, but the system usually recovers. It seems to be pretty consistently 2-3 time4s a day. Note that the dbus messages about packagekit always immediately precede the link going down. Every tthe or four of these fail to recover: Jan 3 14:09:05 rogue kernel: wlan0: link state changed to DOWN Jan 3 14:09:56 rogue ntpd[1303]: sendto(198.129.254.218) (fd=25): Network is down Jan 3 14:10:15 rogue ntpd[1303]: sendto(208.79.18.86) (fd=25): Network is down Jan 3 14:10:29 rogue ntpd[1303]: sendto(198.124.252.90) (fd=25): Network is down Jan 3 14:10:49 rogue ntpd[1303]: sendto(198.55.111.5) (fd=25): Network is down Jan 3 14:11:00 rogue ntpd[1303]: sendto(192.95.38.104) (fd=25): Network is down Jan 3 14:14:02 rogue ntpd[1303]: sendto(198.129.252.38) (fd=25): Network is down Jan 3 14:14:12 rogue wpa_supplicant[620]: ioctl[SIOCS80211, op=26, val=0, arg_len=0]: Operation not supported Jan 3 14:14:12 rogue wpa_supplicant[620]: ioctl[SIOCS80211, op=26, val=0, arg_len=0]: Operation not supported Jan 3 14:14:12 rogue wpa_supplicant[620]: wlan0: CTRL-EVENT-TERMINATING Jan 3 14:14:12 rogue dhclient[652]: connection closed Jan 3 14:14:12 rogue dhclient[652]: exiting. Jan 3 14:14:12 rogue wpa_supplicant[67153]: Successfully initialized wpa_supplicant Jan 3 14:14:16 rogue wpa_supplicant[67154]: wlan0: Trying to associate with 00:26:b8:67:c3:2d (SSID='babcom' freq=2437 MHz) Jan 3 14:14:16 rogue wpa_supplicant[67154]: wlan0: Associated with 00:26:b8:67:c3:2d Jan 3 14:14:16 rogue kernel: wlan0: link state changed to UP Jan 3 14:14:16 rogue devd: Executing '/etc/rc.d/dhclient quietstart wlan0' Jan 3 14:14:16 rogue dhclient[67191]: send_packet: No buffer space available Jan 3 14:14:17 rogue wpa_supplicant[67154]: wlan0: WPA: Key negotiation completed with 00:26:b8:67:c3:2d [PTK=CCMP GTK=CCMP] Jan 3 14:14:17 rogue wpa_supplicant[67154]: wlan0: CTRL-EVENT-CONNECTED - Connection to 00:26:b8:67:c3:2d completed [id=1 id_str=] Jan 3 14:14:18 rogue dhclient: New IP Address (wlan0): 192.168.1.5 Jan 3 14:14:18 rogue dhclient: New Subnet Mask (wlan0): 255.255.255.0 Jan 3 14:14:18 rogue dhclient: New Broadcast Address (wlan0): 192.168.1.255 Jan 3 14:14:18 rogue dhclient: New Routers (wlan0): 192.168.1.1 The restart took place when I restarted the interface about 5 minutes after it went down and, as you can see, it came up normally. I'll admit that I am completely baffled by the dbus/packagekit tie-in as I can't see what packagekit would do to touch the network. I'll be building a new kernel with debug shortly. In my other message (to wireless) I also mentioned the (possibly unrelated) issue of poor performance and and periodic sub-second connectivity drops. -- R. Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com From owner-freebsd-wireless@FreeBSD.ORG Sat Jan 11 08:48:09 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 83A7DDC8; Sat, 11 Jan 2014 08:48:09 +0000 (UTC) Received: from alogt.com (alogt.com [69.36.191.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 579871E92; Sat, 11 Jan 2014 08:48:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=/n+cKP6NYcPCSx3LptznQvLFbiI4aVxoyDPUD3s7WNE=; b=KQpNq1iwNnm5wG4s2GCogolYWaBxe5Mm1ggAeZVG8JtEmCwWjwkIKTHBQByHZedawKzOLtoe7sRX4VZtKJBZ6Jd2H5sWW9w2OIZ7DIR2x/KFrP2qX5HGnhYkQphEsX+iJOAJr/Q3F7QvdyNlxnONnkjGLV9NVkGfM1CUFOHPiP8=; Received: from [120.172.201.31] (port=32779 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128) (Exim 4.82) (envelope-from ) id 1W1uEh-003xTq-H0; Sat, 11 Jan 2014 01:48:08 -0700 Date: Sat, 11 Jan 2014 16:47:36 +0800 From: Erich Dollansky To: Adrian Chadd Subject: Re: IWN performance very bad with 10.0-RC5 Message-ID: <20140111164736.3184162e@X220.alogt.com> In-Reply-To: References: <20140111132338.7a7fc14c@X220.alogt.com> <20140111133610.313a4bca@X220.alogt.com> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: Kevin Oberman , freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Sat, 11 Jan 2014 08:48:09 -0000 Hi, On Fri, 10 Jan 2014 21:45:59 -0800 Adrian Chadd wrote: > Please help dig up which change broke it. Even just test out the head > iwn code from 6 months ago. I will try. One other question. Where do I find the firmware? Erich > > Adrian > On Jan 11, 2014 12:36 AM, "Erich Dollansky" > wrote: > > > Hi, > > > > On Fri, 10 Jan 2014 21:24:46 -0800 > > Adrian Chadd wrote: > > > > > diff the drivers between 9.x and 10.x; not much has changed. > > > > > > Try running the 9.x sys/dev/iwn in 10.x, and make sure you use > > > the 9.x firmware. see if that fixes it. > > > > > it was working on 10 until at least summer/fall of last year. I > > can't recall the precise date as I moved to cable by change. As it > > always worked outside, I never bothered to test. > > > > I will try to get the sources for 9. > > > > Erich > > > > > > -a > > > > > > > > > On 10 January 2014 21:23, Erich Dollansky wrote: > > > > Hi, > > > > > > > > On Fri, 10 Jan 2014 21:02:36 -0800 > > > > Kevin Oberman wrote: > > > > > > > >> Since upgrading my system to 10.0-RC# and now 10.0-RC5, by > > > >> wireless performance has severely degraded. > > > >> > > > >> iwn0@pci0:3:0:0: class=0x028000 card=0x13118086 > > > >> chip=0x00858086 rev=0x34 hdr=0x00 > > > >> vendor = 'Intel Corporation' > > > >> device = 'Centrino Advanced-N 6205 [Taylor Peak]' > > > >> class = network > > > >> > > > > it seems that I have the same hardware and the same problem. > > > > While a device using run can connect to my access point without > > > > problems, iwn is not able to connect anymore. But, it connected > > > > earlier without any problems to other access points. iwn never > > > > hangs in my case, it is simply not able to connect. > > > > > > > > Successfully initialized wpa_supplicant > > > > wlan0: Trying to associate with 90:61:0c:13:36:fe > > > > (SSID='Sumarni' freq=2437 MHz) wlan0: Associated with > > > > 90:61:0c:13:36:fe wlan0: CTRL-EVENT-DISCONNECTED > > > > bssid=90:61:0c:13:36:fe reason=0 wlan0: WPA: 4-Way Handshake > > > > failed - pre-shared key may be incorrect wlan0: > > > > CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="Some Name" > > > > auth_failures=1 duration=10 > > > > > > > > With the same configuration, run0 connects without problems. > > > > > > > > How could I help to fix this problem? > > > > > > > > Erich > > > > _______________________________________________ > > > > freebsd-wireless@freebsd.org mailing list > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > > > > To unsubscribe, send any mail to > > > > "freebsd-wireless-unsubscribe@freebsd.org" > > > > From owner-freebsd-wireless@FreeBSD.ORG Sat Jan 11 12:53:26 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 78827D3 for ; Sat, 11 Jan 2014 12:53:26 +0000 (UTC) Received: from mail-qe0-x231.google.com (mail-qe0-x231.google.com [IPv6:2607:f8b0:400d:c02::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3025B1125 for ; Sat, 11 Jan 2014 12:53:26 +0000 (UTC) Received: by mail-qe0-f49.google.com with SMTP id w4so2652191qeb.22 for ; Sat, 11 Jan 2014 04:53:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=CT/7fPMvVd5IX6ynFP2Hc5FhFGWBSH+UyX2nXA/xjFg=; b=gnraH3nPY/4te36pW33W07bFtQW3y3ZwbX7+75zZ4MmNpQJA48uVDe/3nxzSD9i6eG RU+O6cOHVZF+13+DdZdaZo7SezN7OjD6ELmhNpsN5gZljLeJDMAkvdAQ55LsN0My3SfX ReNFvcjZWP9E7vc0rslOZ4hlyYmoOAVgUPsXOVJS7o0uNTu20gvtlJoOpXxAgzd6HgsV twY0TQ0odi0QvMBT7km0JFtgXI66Ctu1RN1Eyse5I88qy2vfbO8V1QK+IUA9HFBhduie RDuKCFDIU0PXs7NQ0korqT810WR4k3bS1vExJgqLXxl4DDDvTZnCPRqsa65BhU4WwpCh DXwQ== MIME-Version: 1.0 X-Received: by 10.224.13.147 with SMTP id c19mr3400212qaa.76.1389444805383; Sat, 11 Jan 2014 04:53:25 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.52.8 with HTTP; Sat, 11 Jan 2014 04:53:24 -0800 (PST) Received: by 10.224.52.8 with HTTP; Sat, 11 Jan 2014 04:53:24 -0800 (PST) In-Reply-To: <20140111164736.3184162e@X220.alogt.com> References: <20140111132338.7a7fc14c@X220.alogt.com> <20140111133610.313a4bca@X220.alogt.com> <20140111164736.3184162e@X220.alogt.com> Date: Sat, 11 Jan 2014 04:53:24 -0800 X-Google-Sender-Auth: w1RdpbesHpehYopwALamS53O43A Message-ID: Subject: Re: IWN performance very bad with 10.0-RC5 From: Adrian Chadd To: Erich Dollansky Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: Kevin Oberman , freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Sat, 11 Jan 2014 12:53:26 -0000 The iwnfw module. It has paths into share for the firmware images. On Jan 11, 2014 3:48 AM, "Erich Dollansky" wrote: > Hi, > > On Fri, 10 Jan 2014 21:45:59 -0800 > Adrian Chadd wrote: > > > Please help dig up which change broke it. Even just test out the head > > iwn code from 6 months ago. > > I will try. > > One other question. Where do I find the firmware? > > Erich > > > > Adrian > > On Jan 11, 2014 12:36 AM, "Erich Dollansky" > > wrote: > > > > > Hi, > > > > > > On Fri, 10 Jan 2014 21:24:46 -0800 > > > Adrian Chadd wrote: > > > > > > > diff the drivers between 9.x and 10.x; not much has changed. > > > > > > > > Try running the 9.x sys/dev/iwn in 10.x, and make sure you use > > > > the 9.x firmware. see if that fixes it. > > > > > > > it was working on 10 until at least summer/fall of last year. I > > > can't recall the precise date as I moved to cable by change. As it > > > always worked outside, I never bothered to test. > > > > > > I will try to get the sources for 9. > > > > > > Erich > > > > > > > > -a > > > > > > > > > > > > On 10 January 2014 21:23, Erich Dollansky wrote: > > > > > Hi, > > > > > > > > > > On Fri, 10 Jan 2014 21:02:36 -0800 > > > > > Kevin Oberman wrote: > > > > > > > > > >> Since upgrading my system to 10.0-RC# and now 10.0-RC5, by > > > > >> wireless performance has severely degraded. > > > > >> > > > > >> iwn0@pci0:3:0:0: class=0x028000 card=0x13118086 > > > > >> chip=0x00858086 rev=0x34 hdr=0x00 > > > > >> vendor = 'Intel Corporation' > > > > >> device = 'Centrino Advanced-N 6205 [Taylor Peak]' > > > > >> class = network > > > > >> > > > > > it seems that I have the same hardware and the same problem. > > > > > While a device using run can connect to my access point without > > > > > problems, iwn is not able to connect anymore. But, it connected > > > > > earlier without any problems to other access points. iwn never > > > > > hangs in my case, it is simply not able to connect. > > > > > > > > > > Successfully initialized wpa_supplicant > > > > > wlan0: Trying to associate with 90:61:0c:13:36:fe > > > > > (SSID='Sumarni' freq=2437 MHz) wlan0: Associated with > > > > > 90:61:0c:13:36:fe wlan0: CTRL-EVENT-DISCONNECTED > > > > > bssid=90:61:0c:13:36:fe reason=0 wlan0: WPA: 4-Way Handshake > > > > > failed - pre-shared key may be incorrect wlan0: > > > > > CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="Some Name" > > > > > auth_failures=1 duration=10 > > > > > > > > > > With the same configuration, run0 connects without problems. > > > > > > > > > > How could I help to fix this problem? > > > > > > > > > > Erich > > > > > _______________________________________________ > > > > > freebsd-wireless@freebsd.org mailing list > > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > > > > > To unsubscribe, send any mail to > > > > > "freebsd-wireless-unsubscribe@freebsd.org" > > > > > > > >