From nobody Sun Aug 7 21:27:51 2022 X-Original-To: freebsd-current@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 4M1C9d2Y8Cz4Xq2f; Sun, 7 Aug 2022 21:28:05 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:13b:39f::9f:25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M1C9c17lmz3TgZ; Sun, 7 Aug 2022 21:28:03 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 62F4E8D4A142; Sun, 7 Aug 2022 21:27:55 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 5BE37BD487B; Sun, 7 Aug 2022 21:27:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id L7-7IUTtvC8I; Sun, 7 Aug 2022 21:27:52 +0000 (UTC) Received: from nv.sbone.de (nv.sbone.de [IPv6:fde9:577b:c1a9:31::2013:138]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 87330BD3C10; Sun, 7 Aug 2022 21:27:52 +0000 (UTC) Date: Sun, 7 Aug 2022 21:27:51 +0000 (UTC) From: "Bjoern A. Zeeb" To: Nuno Teixeira cc: freebsd-wireless@freebsd.org, FreeBSD CURRENT Subject: Re: [iwlwifi] ipv6 connection problem In-Reply-To: Message-ID: References: X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 4M1C9c17lmz3TgZ X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 2a01:4f8:13b:39f::9f:25 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net X-Spamd-Result: default: False [-3.30 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; R_SPF_ALLOW(-0.20)[+ip6:2a01:4f8:13b:39f::9f:25]; MIME_GOOD(-0.10)[text/plain]; TO_DN_SOME(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org,freebsd-wireless@freebsd.org]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; DMARC_NA(0.00)[zabbadoz.net]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE]; RCVD_COUNT_FIVE(0.00)[5]; RCPT_COUNT_THREE(0.00)[3]; FROM_HAS_DN(0.00)[]; RCVD_TLS_LAST(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Sun, 7 Aug 2022, Nuno Teixeira wrote: Hi, > Due to ISP changes I was forced to use ipv6 on my re0 ethernet so I can > have a funcional internet. > > Now I'm trying to get ipv6 on iwlwifi (AX201) with /etc/rc.conf: > --- > wlans_iwlwifi0="wlan0" > create_args_wlan0="wlanmode sta regdomain ETSI country PT" > ifconfig_wlan0_ipv6="inet6 accept_rtadv" > ifconfig_wlan0="WPA SYNCDHCP" > rtsold_enable="YES" > --- > but wpa_supplicant doesn't connect after trying for some seconds. > > How do I obtain more details to help showing my problem? > I've tried "wpa_supplicant_flags="-f /var/log/wpa.log" without success. Let's get some more information on this.. (a) this is unlikely related to IPv6? The only thing that would do is pass down more multicast addresses than with just IPv4 (and that's after assoc normally). I run some on IPv6-only. Let me ask you anyway, so we can be sure. If you remove the IPv6 config, does wpa_supplicant associate fine? (could also be a different tooling issue). (b) does `ifconfig wlan0 list scan` show your AP when it doesn't? If it doesn't that is more likely the problem. And that remains a problem for some conditions I am also facing. More on 11a than 11g. (c) Then the question is if wpa_supplicant blacklists the network; `wpa_cli blacklist` would show. If it does try the following sequence to make it try more often: CMD=wpa_cli SSID= ${CMD} blacklist clear ${CMD} disable ${SSID} ${CMD} enable ${SSID} ${CMD} list_networks (d) given you didn't say, what does `freebsd-version -r -u` say, just to rule out you are missing the latest wpa fixes. (e) what you can do is enable more wpa_supplicant logging; I often use wpa_supplicant_flags="-sdd" in /etc/rc.conf which will log to syslog instead of the debug file but it'll increase debugging a lot (and warning, it may also log keying material). Bjoern -- Bjoern A. Zeeb r15:7