From nobody Sat Aug 13 20:54:06 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 4M4t9H4DVVz4Z8nD for ; Sat, 13 Aug 2022 20:55:31 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-qt1-x833.google.com (mail-qt1-x833.google.com [IPv6:2607:f8b0:4864:20::833]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M4t9G73BMz49bw for ; Sat, 13 Aug 2022 20:55:30 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: by mail-qt1-x833.google.com with SMTP id s11so3120413qtx.6 for ; Sat, 13 Aug 2022 13:55:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc; bh=RUtM/Se7+BEvrHY3HMso/2I54ow2rVpfU7YpimB/CU8=; b=AJTKxhcqKMMFez33dX6UULDST+5oyoDOCY8MjXBUgqRQZ/4hV5qQZxbbJw6Lu4T8Bo 5VZ292GK6uA8OAGTKCp3vUrrSS2G5RfHj8fpk7834v3ZiF+M1eafiX/ZTLwlAVOKAg7/ OA20uMKwsmxjMcIgbMeEUtOQhp2mVoqT5V3Dai3bXVFuINAyUoidsbmU9G5Ypmz0WTRG 084yIB48d6AhbT21KS7jHPRWOHiRKpfAks1TakYEVHUMHJVPm2HWz6/t5FZEy3b144Jd ppK3tmUAIOIeKVP3njS5kVdSpTlau+NgugCAOlLHg4QRNBeDiawN3rCvOBysozF1QTWY CJMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=RUtM/Se7+BEvrHY3HMso/2I54ow2rVpfU7YpimB/CU8=; b=z/7Np797WsggV0Y9fIXhvHf3jT1CAI6i3p8fSWuHTWaYSVpFRegJJ0LKwaMaoczC9j lEktm5p7Ql60vPa4iEs9ABJyZyiTrFfz6yxglg7f32OiTlOZO25XvD3Whsi+JFL+2/rC vFUh32IntnKF4PqtLMsDHkrI5DGw2IenDiCikHJgs1NSkaIjDK6IgT1QIaQrRXIGDQ0t XZYIpaFpakT8+1sKgSliTlrtZLsGblAObAEFrvjxZ1Z0DDQnr47zcDHIkppWxHUZ3yfA f0g+s37GP+e7zeU1SmjwOm+kC9CTotg1J4vSVJitcG0CyeQMOF97d7HD7p+kqHwxHUqD un/A== X-Gm-Message-State: ACgBeo1+v92m43JDKBBVQsJAmlT0v41+0ZstigpeHE8eOg1Z/UPr5Nf7 eUSu5KYYSjSVZQhZMaTVHQyWlA== X-Google-Smtp-Source: AA6agR77PYL23KNc1M1g/srQhzM4INIbAUtdJhs4YY098eD6P/onVXCnHYbmjzat37uiLSs+0uXOIQ== X-Received: by 2002:ac8:5c50:0:b0:344:559b:961a with SMTP id j16-20020ac85c50000000b00344559b961amr1784628qtj.665.1660424130238; Sat, 13 Aug 2022 13:55:30 -0700 (PDT) Received: from mutt-hbsd (pool-100-16-219-215.bltmmd.fios.verizon.net. [100.16.219.215]) by smtp.gmail.com with ESMTPSA id bt14-20020ac8690e000000b00342f6c31da7sm4422148qtb.94.2022.08.13.13.55.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Aug 2022 13:55:29 -0700 (PDT) Date: Sat, 13 Aug 2022 16:54:06 -0400 From: Shawn Webb To: Nuno Teixeira Cc: freebsd-wireless@freebsd.org, FreeBSD CURRENT Subject: Re: [iwlwifi] ipv6 connection problem Message-ID: <20220813205406.lat5e6aryzliw3op@mutt-hbsd> X-Operating-System: FreeBSD mutt-hbsd 14.0-CURRENT-HBSD FreeBSD 14.0-CURRENT-HBSD X-PGP-Key: https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/blob/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc References: <20220813202027.2mhq7cyuqpntk6h5@mutt-hbsd> 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: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2vvghu3rdz6mxytt" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4M4t9G73BMz49bw X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hardenedbsd.org header.s=google header.b=AJTKxhcq; dmarc=none; spf=pass (mx1.freebsd.org: domain of shawn.webb@hardenedbsd.org designates 2607:f8b0:4864:20::833 as permitted sender) smtp.mailfrom=shawn.webb@hardenedbsd.org X-Spamd-Result: default: False [-5.10 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; R_DKIM_ALLOW(-0.20)[hardenedbsd.org:s=google]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::833:from]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[hardenedbsd.org:+]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[hardenedbsd.org]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; ARC_NA(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --2vvghu3rdz6mxytt Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I should have mentioned that my wireless AP isn't your typical AP. It's running HardenedBSD 13-STABLE on a PC-Engines APU2 with an Atheros WNIC. Here's the relevant configs on the WAP: =3D=3D=3D=3D begin rc.conf =3D=3D=3D=3D ifconfig_igb0=3D"DHCP" ifconfig_igb0_ipv6=3D"inet6 accept_rtadv" wlans_ath0=3D"wlan0" create_args_wlan0=3D"wlanmode hostap mode 11a up" ifconfig_wlan0=3D"HOSTAP" cloned_interfaces=3D"bridge0" ifconfig_bridge0=3D"addm igb0 addm wlan0 span igb1 up" =3D=3D=3D=3D end rc.conf =3D=3D=3D=3D =3D=3D=3D=3D begin hostapd-wlan0.conf =3D=3D=3D=3D interface=3Dwlan0 ctrl_interface=3D/var/run/hostapd-wlan0 ctrl_interface_group=3Dwheel ssid=3D[redacted] wpa=3D2 wpa_passphrase=3D[redacted] wpa_key_mgmt=3DWPA-PSK wpa_pairwise=3DCCMP =3D=3D=3D=3D end hostapd-wlan0.conf =3D=3D=3D=3D On Sat, Aug 13, 2022 at 09:49:34PM +0100, Nuno Teixeira wrote: > Hello Shawn! >=20 > I've tested your config: > --- > wlans_iwlwifi0=3D"wlan0" > create_args_wlan0=3D"wlanmode sta regdomain ETSI country PT" > ifconfig_wlan0_ipv6=3D"inet6 accept_rtadv" > ifconfig_wlan0=3D"WPA DHCP" > rtsold_enable=3D"YES" > --- > and no carrier. >=20 > Think we have to wait a little more and see if people that use ifwwifi > driver do some tests on ipv6. >=20 > Thanks, >=20 > Shawn Webb escreveu no dia s=E1bado, 13/08/2= 022 > =E0(s) 21:21: >=20 > > On Sun, Aug 07, 2022 at 06:16:20PM +0100, Nuno Teixeira wrote: > > > Hello, > > > > > > Due to ISP changes I was forced to use ipv6 on my re0 ethernet so I c= an > > > have a funcional internet. > > > > > > Now I'm trying to get ipv6 on iwlwifi (AX201) with /etc/rc.conf: > > > --- > > > wlans_iwlwifi0=3D"wlan0" > > > create_args_wlan0=3D"wlanmode sta regdomain ETSI country PT" > > > ifconfig_wlan0_ipv6=3D"inet6 accept_rtadv" > > > ifconfig_wlan0=3D"WPA SYNCDHCP" > > > rtsold_enable=3D"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=3D"-f /var/log/wpa.log" without succ= ess. > > > > Caveat: the last time I used the iwlwifi driver was somewhere between > > one and two months ago, during which time there have been several > > changes in src related to wifi/linuxkpi stuff. > > > > Hardware: Dell Precision 7550, BIOS revision 1.13.0 > > > > Dual stack IPv4+IPv6 worked for me that last time I used iwlwifi. > > Here's my relevant configs: > > > > =3D=3D=3D=3D begin rc.conf =3D=3D=3D=3D > > ifconfig_em0_ipv6=3D"inet6 accept_rtadv" > > ifconfig_em0=3D"DHCP" > > > > #wlans_iwlwifi0=3D"wlan0" > > create_args_wlan0=3D"wlanmode sta" > > wlandebug_wlan0=3D"+state +crypto +node +auth +assoc +dot1xsm +wpa" > > ifconfig_wlan0=3D"WPA DHCP" > > ifconfig_wlan0_ipv6=3D"inet6 accept_rtadv" > > =3D=3D=3D=3D end rc.conf =3D=3D=3D=3D > > > > =3D=3D=3D=3D begin `pciconf -lv` =3D=3D=3D=3D > > iwlwifi0@pci0:0:20:3: class=3D0x028000 rev=3D0x00 hdr=3D0x00 vendor= =3D0x8086 > > device=3D0x06f0 subvendor=3D0x8086 subdevice=3D0x4070 > > vendor =3D 'Intel Corporation' > > device =3D 'Comet Lake PCH CNVi WiFi' > > =3D=3D=3D=3D end `pciconf -lv` =3D=3D=3D=3D > > > > =3D=3D=3D=3D begin dmesg.boot =3D=3D=3D=3D > > 27] iwlwifi0: successfully loaded firmware image > > 'iwlwifi-QuZ-a0-hr-b0-71.ucode' > > [27] iwlwifi0: api flags index 2 larger than supported by driver > > [27] iwlwifi0: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.37 > > [27] iwlwifi0: loaded firmware version 71.058653f6.0 QuZ-a0-hr-b0-71.uc= ode > > op_mode iwlmvm > > [27] iwlwifi0: Detected Intel(R) Wi-Fi 6 AX201 160MHz, REV=3D0x351 > > [28] iwlwifi0: Detected RF HR B3, rfid=3D0x10a100 > > [28] iwlwifi0: base HW address: [redacted] > > =3D=3D=3D=3D end dmesg.boot =3D=3D=3D=3D > > > > Hopefully this helps. But this is all the info I've got. Please let me > > know if you have any questions or comments. > > > > Thanks, > > > > -- > > Shawn Webb > > Cofounder / Security Engineer > > HardenedBSD > > > > > > https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb= /03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc > > >=20 >=20 > --=20 > Nuno Teixeira > FreeBSD Committer (ports) --=20 Shawn Webb Cofounder / Security Engineer HardenedBSD https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/03A= 4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc --2vvghu3rdz6mxytt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAmL4D2cACgkQ/y5nonf4 4foPjxAApuN4hbWxjWlYLn5PdR5qrJmNKa/cFxlk/8DmcLaiAE3l2BQMwI7zjriR 9PubY8M5GbDpZp0eKOtNo53DitGtTr3pppSl+Gp5bJAmUTJk+hspVwMx15uVgZHo 58Cm0rYXZbE/xyP1TipWjX6X9jKF6xZ1ABqbxVS7D/hPaSDYSpa7VdvR6fCfPsCO yCmtdU08zkLpFkRfaNiL7eWo5BNgAsnJEgBHw8mWEe08KL4glPeb4DjYRYpXANeN kmVhtFdPfzUNU3ebMzHgDEhEAzEwa5i64vi+dJhahpxKJeT0NLZhhVA/vRatOoHZ XuU16dIGQwjknip+9QTPcaZyU5pXNHvu8ZI+zxwq9s4CQ4nwBjmOWT2aremlk9xc YctINF1cMFkQrJo9wL4o+x91n3Q5lpLspoAM9LDwHbU720/170L+qbTIJ8kbulVq /Um+ZCL8UBHbtNmA3BescTi88q7ds1toZ1M/8gy0hSuZ6UzsLCb4bdWTo6FSaoMT cxXzfBfEdfu24tEKcP59Z5FPFuBqL1L2fd4pee8alL7CqY19GOvG0zDK23jq6EoO J5jafnoiJ42uaaPhU5nnyIIDsFWg6KCESyBZ1XlrOsVyCiBOvbTeLKM3bCX2eoli BAtTo7MEGTRn3mOjctCnORweiA9nsAIam4Gq93o7NQQlcFpz3k8= =itkQ -----END PGP SIGNATURE----- --2vvghu3rdz6mxytt--