From owner-freebsd-wireless@freebsd.org Thu Feb 14 20:42:27 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3AFEE14E1033 for ; Thu, 14 Feb 2019 20:42:27 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E15298B006 for ; Thu, 14 Feb 2019 20:42:25 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wm1-x334.google.com with SMTP id j125so7457766wmj.1 for ; Thu, 14 Feb 2019 12:42:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tiOORTfU1hs9hIGqmD8TyNnmS2hXb+iqNIGyCpcaOjY=; b=atdq1VLkrPaNaJuUS7MB6NLp/zT+nSI0QsG8RzPCf+8TB1OEKUf41ZT/tJpn4JDHHk SZjW4Nmj2LMJj8NFoWqy2nGSbnvBpyfjMmCEWq5eEV/5WA2JSI1w1CqGRU17+0X/rH2f mn4IW5arl8E0uDizO3/FmJfVySljpsMOmt/gp5YaZf6IfZvom38KYBSDBaY1XyHc9Gok UijTwwpLuGUL+VXYYrT51il4tjjiYHKfJdLyr6AdxnxH3KgCYggUvy7KVTbWjPrZiLz8 aSD5em2tb6rS3YJEJykYpep94ir6JkzlnX10pleXKBSM6nnduw6dfsoBKPQNcby4cxHe uJeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tiOORTfU1hs9hIGqmD8TyNnmS2hXb+iqNIGyCpcaOjY=; b=cosYUaGcPhAZDIXpId/LKUJYelI/sH1yogtVZ3s0Vl1qHidZObMadIgApoTuRdMbbD FFYvmxYYMwJncqkEUBTNaZX9tRf96Z710rK7rq9oc325lNhB+Ql7kYho6Q7T/0dopLfD svOPagCDhmKPQ0JvvybnLSR8KBhnS7igjhNjoNvQ9svkN3QsPHAq1KCRXEsrj8mBRxk5 Xz3V/4UlvmKIB9COI1hy0NOrTxT5tLuZRC9UmgbM522TaCKeM07VB1sDBoQDMCDhwdp4 /xkAxnWvpgwJRerM/2eape1YZEpHyNhww7E37n7DuDCpoUry4mYm4427OrNSrIImXcMy /2Gw== X-Gm-Message-State: AHQUAubeJWwQ8zBpXRJR7Gkbuba5UKs0WF0igQ7AZSlauWVY0PN8y7Fo xnFf/oFT5GH3gT5BM9suT4begzv2vzdDfynnAio= X-Google-Smtp-Source: AHgI3IauMQaiN6cdBMoN/GdH+5GBtcRpnPDH2y6H2LLQR0pSkcYOvHbos2umWKD/xmNNx4h7671ISaljUqJQ+Qd52kU= X-Received: by 2002:a7b:c752:: with SMTP id w18mr4173266wmk.97.1550176944473; Thu, 14 Feb 2019 12:42:24 -0800 (PST) MIME-Version: 1.0 References: <877eehriwm.fsf@x230.onfire.org> <875ztmn9lc.fsf@x230.onfire.org> In-Reply-To: <875ztmn9lc.fsf@x230.onfire.org> From: Adrian Chadd Date: Thu, 14 Feb 2019 12:42:11 -0800 Message-ID: Subject: Re: No association with WPA2 wireless lan sometimes (11.2) To: Christian Barthel Cc: "freebsd-wireless@freebsd.org" X-Rspamd-Queue-Id: E15298B006 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=atdq1VLk; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of adrianchadd@gmail.com designates 2a00:1450:4864:20::334 as permitted sender) smtp.mailfrom=adrianchadd@gmail.com X-Spamd-Result: default: False [-6.54 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.81)[-0.811,0]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-wireless@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[4.3.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-2.72)[ip: (-9.26), ipnet: 2a00:1450::/32(-2.30), asn: 15169(-1.98), country: US(-0.07)]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.29 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, 14 Feb 2019 20:42:27 -0000 Hm, it'd be good to see driver debugging. It'd be good there to see if the actual auth frames are being exchanged and ACKed at the MAC level or not. I've seen some pretty crappy behaviours both with how some APs wanna try band steering (by dropping you off 2g when they see you've sent a probe on 5g) and just crappy 2g behaviour in congested networks. It'd be nice to know which this is. -a On Wed, 13 Feb 2019 at 22:54, Christian Barthel wrote: > Christian Barthel writes: > > > Hello, > > > > I am using FreeBSD 11.2 on a Thinkpad X230 (dmesg attached). I am using > > a WPA2 wireless lan with iwn and wpa_supplicant.conf. This configuration > > works very well - sometimes. But at other times, I can't associate with > > the access point and I don't understand the reason why it fails. > > > > I've tested this with iwn0/wlan0 and attached a verbose log > > (wpa.debug.iwn0.txt) while wpa_supplicant tried to authenticate. I > > don't know why the authentication timed out? Other clients (Android, > > Linux) are working. Attached is also the "ifconfig wlan0 list scan" > > listing. > > To follow-up for other readers: I've set the bssid= option in > wpa_supplicant.conf to forcibly connect to the 5GHz wireless > lan. This works much better and it turns out that other devices > automatically switched to the 5GHz band. I thought that leaving > out the bssid option would also switch automatically but that did > not work so well. > > I am still wondering why the 2.4GHz band is not working anymore > but I don't have access to the AP itself (it looks like there are > no interfering APs except this one; but perhaps, something else > is causing it trouble). > > -- > Christian Barthel > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org > " >