From nobody Sat Aug 13 20:49:34 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 4M4t2g1ffqz4Z7Zw; Sat, 13 Aug 2022 20:49:47 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M4t2g1Cd1z46v7; Sat, 13 Aug 2022 20:49:47 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660423787; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=UYAigjqGBtOkle41NHDyaTxXc0aWOLu+MW8ZLFJaRI0=; b=GFdRxkKI7suLnoi0fg4eYBCDJ4cMQtGYUYyWDLNNqszD5CzLVooYBNuoZJhFqhjkMl75mF iCI/Bhx91eXMjlAXY1AZbCF2gi3+vtrW2EwaHbGOV/iuW3FzO2N0KYk/j9heweXjSPqMiX p4dZaBN9DBGo01dcMh1XkOOzdTIaxr76m5p5vAqh5PWOqJ7SfGiZExIZQtsY7slIcAN7TS Alw7lYLT91dDl5agYz/MLLMU/MRa5qTUyAHlEwcvkLLP1WyaWrR3rBjCl9b6j+DnyYz9Mj O5b18oTfNslMZ9LzZ7q5dyRIPneLU3JiQ93yoND1Gnqs6Stf6ZTcV/DGGtiydw== Received: from mail-ua1-f43.google.com (mail-ua1-f43.google.com [209.85.222.43]) (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)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4M4t2g09LBzrdy; Sat, 13 Aug 2022 20:49:47 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-ua1-f43.google.com with SMTP id b22so531256uap.0; Sat, 13 Aug 2022 13:49:47 -0700 (PDT) X-Gm-Message-State: ACgBeo1H4hK2eB03C399DL2Mj8RHp1p0gemcmNh0FFVDoZ1bB3CVF8Y3 dENMqrhOWrEO07dPBx9nXkhHAc0IhgTmbj8WR2s= X-Google-Smtp-Source: AA6agR40ZC4gjMJ3iqkb9yNWYKqllQW1hYWiueDOCHSDNJZ9eHEUb9ZvnBDAjpwVAoIDl9TZ4wtxCRftOuQcdi+P4g0= X-Received: by 2002:ab0:785a:0:b0:386:d33c:d636 with SMTP id y26-20020ab0785a000000b00386d33cd636mr4092675uaq.87.1660423786476; Sat, 13 Aug 2022 13:49:46 -0700 (PDT) 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 References: <20220813202027.2mhq7cyuqpntk6h5@mutt-hbsd> In-Reply-To: <20220813202027.2mhq7cyuqpntk6h5@mutt-hbsd> From: Nuno Teixeira Date: Sat, 13 Aug 2022 21:49:34 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [iwlwifi] ipv6 connection problem To: Shawn Webb Cc: freebsd-wireless@freebsd.org, FreeBSD CURRENT Content-Type: multipart/alternative; boundary="000000000000f83bf405e62589c3" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660423787; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=UYAigjqGBtOkle41NHDyaTxXc0aWOLu+MW8ZLFJaRI0=; b=Ut1rNAWJTpTRq85mzoZVht78u3YLYdQarAtu3LPUea+YJh+n58RksHnHG7n23/2E+5YpFe 8lFjNCXRIa1aaB2UhqUIy9T5si4UxnaSAc5AuOtwsNXRuqyHFf5EfCieeCoLqemrReuy9b ohijR5fWq0KY38VNqr25ujHOp6GLXZi479d9cgJOM49aipn0Py1IKNXK5OgvNi05efn+cW Px8vlCf00T/h+GPYLbzZcvU6dyZ/M4z1Ru5oabqPKIHnEnAs0JrIYf3HVdD066vLny01mh 7x4IOovxtz+pHUI19zbipmd5s0oDZ3TcAKyaXsJ+YSrqVG3QUFF1RGVzidOJ3Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660423787; a=rsa-sha256; cv=none; b=gXUXkSbwJgFVLfIWs5WVHXy+jecUpM567F5jZSts6P45400CQdR8mXQ5SJcfiakG5c/6o1 Gk+i5T2lA+Cr7/0nypIcTr64sFkG23ZzJFoQ1bt6Z59Al5y66AZ0hdxLtWcLvyCnBu1qUu 7kRMcGmD4yuHVVoIsFxBf1cDHwEksWb9+AMbBLVCIpYWp3hW6w6nhCY3E9ZWZ0f9tIrt6V J53BXBhJd6g4RrGS1SHDI4AOKHUcbArojY0b9jti1X/Q1EbP4aOhyKb1ufA+PI88UR8F7k cPDR9apdUC/3QvSkQEYY9QTmdRAdHvWPna5/Xg3sHEzT3qf/cn5XL73FeEgSgw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N --000000000000f83bf405e62589c3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Shawn! 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. Think we have to wait a little more and see if people that use ifwwifi driver do some tests on ipv6. Thanks, Shawn Webb escreveu no dia s=C3=A1bado, 13/08/= 2022 =C3=A0(s) 21:21: > 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 can > > 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 succes= s. > > 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=3D0= x8086 > 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.ucod= e > 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/0= 3A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc > --=20 Nuno Teixeira FreeBSD Committer (ports) --000000000000f83bf405e62589c3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Shawn!

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&q= uot;WPA DHCP"
rtsold_enable=3D"YES"
---
and no carrier.

Think we have to wait a little = more and see if people that use ifwwifi driver do some tests on ipv6.
=

Thanks,

<= div dir=3D"ltr" class=3D"gmail_attr">Shawn Webb <shawn.webb@hardenedbsd.org> escreveu no dia s= =C3=A1bado, 13/08/2022 =C3=A0(s) 21:21:
On Sun, Aug 07, 2022 at 06:16:20PM +0100, Nuno Teix= eira wrote:
> Hello,
>
> Due to ISP changes I was forced to use ipv6 on my re0 ethernet so I ca= n
> 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.<= br> >
> How do I obtain more details to help showing my problem?
> I've tried "wpa_supplicant_flags=3D"-f /var/log/wpa.log&= quot; without success.

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&quo= t;
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:=C2=A0 =C2=A0class=3D0x028000 rev=3D0x00 hdr=3D0x00 ve= ndor=3D0x8086 device=3D0x06f0 subvendor=3D0x8086 subdevice=3D0x4070
=C2=A0 =C2=A0 vendor=C2=A0 =C2=A0 =C2=A0=3D 'Intel Corporation'
=C2=A0 =C2=A0 device=C2=A0 =C2=A0 =C2=A0=3D 'Comet Lake PCH CNVi WiFi&#= 39;
=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.ucode = 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<= br> know if you have any questions or comments.

Thanks,

--
Shawn Webb
Cofounder / Security Engineer
HardenedBSD

https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/m= aster/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc


--
Nun= o Teixeira
FreeBSD Committer (ports)
--000000000000f83bf405e62589c3--