From nobody Fri Dec 23 14:48:51 2022 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NdqnL6xXzz1Lkvf for ; Fri, 23 Dec 2022 14:48:54 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NdqnK72y8z3psD for ; Fri, 23 Dec 2022 14:48:53 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of cy.schubert@cschubert.com has no SPF policy when checking 3.97.99.32) smtp.mailfrom=cy.schubert@cschubert.com; dmarc=none Received: from shw-obgw-4002a.ext.cloudfilter.net ([10.228.9.250]) by cmsmtp with ESMTP id 8Sc8pFPxec9C48jLxpDk5r; Fri, 23 Dec 2022 14:48:53 +0000 Received: from spqr.komquats.com ([70.66.148.124]) by cmsmtp with ESMTPA id 8jLvpFJGiyAOe8jLwpfKG1; Fri, 23 Dec 2022 14:48:53 +0000 X-Authority-Analysis: v=2.4 cv=e5oV9Il/ c=1 sm=1 tr=0 ts=63a5bfd5 a=Cwc3rblV8FOMdVN/wOAqyQ==:117 a=Cwc3rblV8FOMdVN/wOAqyQ==:17 a=kj9zAlcOel0A:10 a=sHyYjHe8cH0A:10 a=vxP3BzG0AAAA:8 a=85N1-lAfAAAA:8 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=EkcXrb_YAAAA:8 a=08b6VZKX2Obth5-BGjEA:9 a=CjuIK1q_8ugA:10 a=4tHceQipB5Rc01mo_vQZ:22 a=cyfSibbquD4hpIoiQNSb:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 a=LK5xJRSDVpKd5WXXoEvA:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id 7FC0A6D3 for ; Fri, 23 Dec 2022 06:48:51 -0800 (PST) Received: by slippy.cwsent.com (Postfix, from userid 1000) id 6CA981EA; Fri, 23 Dec 2022 06:48:51 -0800 (PST) X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7+dev Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: freebsd-hackers@freebsd.org Subject: Re: wpa_supplicant in base and in ports In-reply-to: References: Comments: In-reply-to void message dated "Fri, 23 Dec 2022 01:24:07 +0000." List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 23 Dec 2022 06:48:51 -0800 Message-Id: <20221223144851.6CA981EA@slippy.cwsent.com> X-CMAE-Envelope: MS4xfLyMEiQoqc0mVxk019M24Ueq+B04ZxTDQPcKvUL1qves0RLOruZ0W89/WpDl2EBhbpmC2Z5rA0kk21co1i7CQ2Z3+mfzYjqY45tRaGyU6XY07avtO0Ta 2AIY37z+JF+x6rwPEizfSbQJb6SnOHa7mWNNKOaQGOgod6kBQJNTEH7UKMycJ95t+NIfzGFXQ7GXkI0SBab4SNxP2YNyNHkpiiE= X-Spamd-Result: default: False [-1.79 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.99)[-0.992]; MV_CASE(0.50)[]; RCVD_IN_DNSWL_MED(-0.20)[3.97.99.32:from]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[cschubert.com: no valid DMARC record]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; R_SPF_NA(0.00)[no SPF record]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[Cy.Schubert@cschubert.com]; RCPT_COUNT_ONE(0.00)[1]; REPLYTO_EQ_FROM(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Queue-Id: 4NdqnK72y8z3psD X-Spamd-Bar: - X-ThisMailContainsUnwantedMimeParts: N In message , void writes: > Hi hackers@ > > I know there's been a lot of work in -current (and maybe some of this > has been MFC'd, not sure) regarding wlan stuff over the last year; this > is why I'm asking about this here. > > As I'm having a few issues [1] with connecting reliably with wifi on > stable/13-n253168-46c09d766d26 amd64, do I stand a better chance of > solving them with either upgrading the os to -current or installing any > of > > security/wpa_supplicant > security/wpa_supplicant-devel > security/wpa_supplicant29 > > instead of using the wpa_supplicant in base? > > [1] it's using ath0 for wlan0. It's set up as a wireless client > with SYNCDHCP. /var/log/messages has this over and over: > > Dec 21 18:25:41 REDACTED ntpd[18024]: error resolving pool > 2.uk.pool.ntp.org: Name does not resolve (8) > Dec 21 18:26:10 REDACTED kernel: ath0: ath_edma_recv_tasklet: > sc_inreset_cnt > 0; skipping > Dec 21 18:26:48 REDACTED ntpd[18024]: error resolving pool > 2.uk.pool.ntp.org: Name does not resolve (8) > Dec 21 18:27:52 REDACTED syslogd: last message repeated 1 times > Dec 21 18:28:57 REDACTED wpa_supplicant[43489]: Successfully initialized > wpa_supplicant > Dec 21 18:28:57 REDACTED wpa_supplicant[43489]: ioctl[SIOCS80211, op=20, > val=0, arg_len=7]: Invalid argument > Dec 21 18:28:57 REDACTED syslogd: last message repeated 1 times > Dec 21 18:28:57 REDACTED wpa_supplicant[43489]: ioctl[SIOCS80211, > op=103, val=0, arg_len=128]: Operation now in progress > Dec 21 18:28:57 REDACTED wpa_supplicant[43489]: wlan0: > CTRL-EVENT-SCAN-FAILED ret=-1 retry=1 > > until I restart wlan0 and wpa_supplicant 15 or so times, it eventually > synchs: > > wlan0: flags=8843 metric 0 mtu > 1500 > ether xx;xx:xx:xx:xx:xx > inet 192.168.1.71 netmask 0xffffff00 broadcast 192.168.1.255 > groups: wlan > ssid REDACTED_5G channel 108 (5540 MHz 11a ht/40+) bssid yy:yy:yy:yy:yy:yy > regdomain ETSI country GB indoor ecm authmode WPA2/802.11i privacy ON > deftxkey UNDEF AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 23 bmiss 7 > mcastrate 6 mgmtrate 6 scanvalid 60 ampdulimit 64k ampdudensity 4 > shortgi -uapsd wme burst roaming MANUAL > > Once the connection is established, it's stable. But why won't it > connect post-reboot? and would upgrading the os to current or installing > the above-mentioned ports help? What hardware device is your wlan0? That would be "parent interface". -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e^(i*pi)+1=0