From nobody Fri Sep 01 22:06:51 2023 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 4RcsZc3KBkz4rpTt; Fri, 1 Sep 2023 22:07:04 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 4RcsZc2zM7z4qLW; Fri, 1 Sep 2023 22:07:04 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693606024; 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=FXGHF57mvN5887mSHRfLS05ItHH2w+jJbvbhbYJPfFA=; b=oN/kJA/g7HFtBVukY2Fk4NKi2xsS231HYV0ASOu+NBkn3Ru5CHpalSwlJBWr8H3MBy64up q9Ppqfane+i5fjrnxiZiLerC5I+1aDFGwaAbTBDfUx+aGvSKZ/1Ruh6zODlTF3X714KnKV paY8T6OKjo3IbJcrNfJjOfBS2p9ySCJvqZiLWhUf+kf1+M4Xq6dc37PFcdjyPgYK5fQP7M E+HYIm14ef0du3ExYTbU8jHnTWpVTMIkL3mhEJ5hCXnpg90KvPLdFlReOmUF1zYapUxtGK 3Sk0dCxHYHF7q+UueQ/i0jhmPGqwYCZlWJLKh5Bh4Cob74JoyOjFudDiCkk51g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693606024; a=rsa-sha256; cv=none; b=sTFO0GMY2Q2lxIG2FjwI3oIqgIzIhf2rtBPblHZRk4T9Cn/fu7BKhls/WPnv8/O1Wk1NkF nxRVjcY49zZE6DxpLyV8Sriejwo317kDyG4pv+OJSDbahi5lDrihIkG1WkchjT3X61mk2U K14B1CiGcmzvA3aWuix7svh96yx6zNNU1YlrV8t2LACLJGKfLGJBiyRsivrOP5RaE69UtK P94OESYaFUeG83ib17yQo7WCfl14gZa1ioOc5uL1ZNySSfzKRYhh49GkFlfl/BPxvuc0Z4 80ccM7ZYw7xzVhHhNoORMzkSUuyNrfFwahLZboJzuflqMJzj76qHBM+NoE3dfw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693606024; 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=FXGHF57mvN5887mSHRfLS05ItHH2w+jJbvbhbYJPfFA=; b=hTI+JYFoDFXgwM30fFxlFwDaI4nq0iCJ722pW22DlAZWi5HM+Ya1XhpIg+vkRrOPnifVqU Cwuu9laKe+edt1rQE3/s3uQjsrUMc36kT7nRSOWZ4k0WIgrFzd9cyACSY/3A8sysw01/U0 8us3jXZ7v3j+WdIeGPWszHhMdsRdsJx2iZMpv9hZG7G2ls8m0iUkhp6ptejZsR338po1df BVkIEN9HbotSA5Mtwm4dP9FbtdaWIqi/YoL705lzPCQpGN9kEVdw8w22BOdyavlcwy1VzQ ENDSwZLFwUAmJQ0quZ+5FF1kCp1HOScEUDQSwekvJqzqr3NhNNJd3sVA7yiyMA== Received: from mail-ot1-f51.google.com (mail-ot1-f51.google.com [209.85.210.51]) (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 4RcsZc1lyNz4sY; Fri, 1 Sep 2023 22:07:04 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-ot1-f51.google.com with SMTP id 46e09a7af769-6bb07d274feso1851749a34.0; Fri, 01 Sep 2023 15:07:04 -0700 (PDT) X-Gm-Message-State: AOJu0YwVAwN4WgSbdJmIczgAe5hxC8hJgMvEoJJTsrjP+K5iDgtgc7ap 7ehrm/UwaORjiqzmtPXib0XYllknqbLSpaef+Gw= X-Google-Smtp-Source: AGHT+IGOsP/5OcYTW1SvhGDFc2ncJi5gzxwXrgOLzWr/WStmtL+4mk6lgQnWfwcoqw7Whovhn4IZo9wEgfQNj2jaDXA= X-Received: by 2002:a05:6830:10c4:b0:6b7:518a:1672 with SMTP id z4-20020a05683010c400b006b7518a1672mr3888163oto.34.1693606023234; Fri, 01 Sep 2023 15:07:03 -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> <20220813205406.lat5e6aryzliw3op@mutt-hbsd> In-Reply-To: <20220813205406.lat5e6aryzliw3op@mutt-hbsd> From: Nuno Teixeira Date: Fri, 1 Sep 2023 23:06:51 +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="000000000000678bb40604536106" --000000000000678bb40604536106 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello all! After one year I was in need to use ipv6 on wireless and everything is working ok. I'm running 15-CURRENT: --- 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" --- wlan0: flags=3D8843 metric 0 mtu 15= 00 options=3D0 ether 6c:6a:77:df:09:21 inet 192.168.1.68 netmask 0xffffff00 broadcast 192.168.1.255 inet6 fe80::6e6a:77ff:fedf:921%wlan0 prefixlen 64 scopeid 0x3 inet6 2001:8a0:de5b:8300:6e6a:77ff:fedf:921 prefixlen 64 autoconf pltime 90000 vltime 90000 groups: wlan ssid MEO-787FB0 channel 11 (2462 MHz 11g) bssid 00:06:91:78:7f:b0 regdomain ETSI country PT authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 2:128-bit txpower 30 bmiss 7 scanvalid 60 protmode CTS wme roaming MANUAL parent interface: iwlwifi0 media: IEEE 802.11 Wireless Ethernet OFDM/18Mbps mode 11g status: associated nd6 options=3D23 --- Thanks all, Shawn Webb escreveu no dia s=C3=A1bado, 13/08/= 2022 =C3=A0(s) 21:55: > 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! > > > > 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 > 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" > > > 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.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 m= e > > > 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 > > > > > > > > > -- > > Nuno Teixeira > > FreeBSD Committer (ports) > > -- > 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) --000000000000678bb40604536106 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello all!

After one year I = was in need to use ipv6 on wireless and everything is working ok.
I'm running 15-CURRENT:

---
wla= ns_iwlwifi0=3D"wlan0"
create_args_wlan0=3D"wlanmode sta r= egdomain ETSI country PT"
ifconfig_wlan0_ipv6=3D"inet6 accept_= rtadv"
ifconfig_wlan0=3D"WPA SYNCDHCP"
rtsold_enable= =3D"YES"
---
wlan0: flags=3D8843<UP,BROADC= AST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
=C2=A0 =C2=A0 =C2=A0= =C2=A0 options=3D0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ether 6c:6a:77:df:09:21<= br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 inet 192.168.1.68 netmask 0xffffff00 broadca= st 192.168.1.255
=C2=A0 =C2=A0 =C2=A0 =C2=A0 inet6 fe80::6e6a:77ff:fedf:= 921%wlan0 prefixlen 64 scopeid 0x3
=C2=A0 =C2=A0 =C2=A0 =C2=A0 inet6 200= 1:8a0:de5b:8300:6e6a:77ff:fedf:921 prefixlen 64 autoconf pltime 90000 vltim= e 90000
=C2=A0 =C2=A0 =C2=A0 =C2=A0 groups: wlan
=C2=A0 =C2=A0 =C2=A0= =C2=A0 ssid MEO-787FB0 channel 11 (2462 MHz 11g) bssid 00:06:91:78:7f:b0=C2=A0 =C2=A0 =C2=A0 =C2=A0 regdomain ETSI country PT authmode WPA2/802.1= 1i privacy ON
=C2=A0 =C2=A0 =C2=A0 =C2=A0 deftxkey UNDEF AES-CCM 2:128-b= it txpower 30 bmiss 7 scanvalid 60
=C2=A0 =C2=A0 =C2=A0 =C2=A0 protmode = CTS wme roaming MANUAL
=C2=A0 =C2=A0 =C2=A0 =C2=A0 parent interface: iwl= wifi0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 media: IEEE 802.11 Wireless Ethernet O= FDM/18Mbps mode 11g
=C2=A0 =C2=A0 =C2=A0 =C2=A0 status: associated
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 nd6 options=3D23<PERFORMNUD,ACCEPT_RTADV,AUT= O_LINKLOCAL>
---

Thanks all,

Shawn Webb <shawn.webb@ha= rdenedbsd.org> escreveu no dia s=C3=A1bado, 13/08/2022 =C3=A0(s) 21:= 55:
I should hav= e 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!
>
> 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 <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 Teixeira wrote: > > > Hello,
> > >
> > > Due to ISP changes I was forced to use ipv6 on my re0 ethern= et 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 countr= y 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/lo= g/wpa.log" without success.
> >
> > Caveat: the last time I used the iwlwifi driver was somewhere bet= ween
> > 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 +dot1xs= m +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:=C2=A0 =C2=A0class=3D0x028000 rev=3D0x00 hdr= =3D0x00 vendor=3D0x8086
> > device=3D0x06f0 subvendor=3D0x8086 subdevice=3D0x4070
> >=C2=A0 =C2=A0 =C2=A0vendor=C2=A0 =C2=A0 =C2=A0=3D 'Intel Corpo= ration'
> >=C2=A0 =C2=A0 =C2=A0device=C2=A0 =C2=A0 =C2=A0=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<= br> > > [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=3D0x35= 1
> > [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. Plea= se let me
> > know if you have any questions or comments.
> >
> > Thanks,
> >
> > --
> > Shawn Webb
> > Cofounder / Security Engineer
> > HardenedBSD
> >
> >
> > https://git.hardenedbsd.org/hardenedbsd/pubke= ys/-/raw/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc=
> >
>
>
> --
> Nuno Teixeira
> FreeBSD Committer (ports)

--
Shawn Webb
Cofounder / Security Engineer
HardenedBSD

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


--
Nuno Teixeira
FreeBSD Committ= er (ports)
--000000000000678bb40604536106--