Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Sep 2023 23:06:51 +0100
From:      Nuno Teixeira <eduardo@freebsd.org>
To:        Shawn Webb <shawn.webb@hardenedbsd.org>
Cc:        freebsd-wireless@freebsd.org,  FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: [iwlwifi] ipv6 connection problem
Message-ID:  <CAFDf7UKEHzpCn-3_tN4ood0B8y68oehnR2oxGWjArNj6bfFRBA@mail.gmail.com>
In-Reply-To: <20220813205406.lat5e6aryzliw3op@mutt-hbsd>
References:  <CAFDf7ULaHmG-yr7_nbi0rWFD3KbNi237FvfFCJGDdBQV0WTP2A@mail.gmail.com> <20220813202027.2mhq7cyuqpntk6h5@mutt-hbsd> <CAFDf7UKs2AYUOXjc0rRnSa0XX9Ntnn==qPN3wBfSrmFTmoxZYQ@mail.gmail.com> <20220813205406.lat5e6aryzliw3op@mutt-hbsd>

next in thread | previous in thread | raw e-mail | index | archive | help
--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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
---

Thanks all,

Shawn Webb <shawn.webb@hardenedbsd.org> 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 <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 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

<div dir=3D"ltr"><div>Hello all!</div><div><br></div><div>After one year I =
was in need to use ipv6 on wireless and everything is working ok.</div><div=
>I&#39;m running 15-CURRENT:<br></div><div><br></div><div>---</div><div>wla=
ns_iwlwifi0=3D&quot;wlan0&quot;<br>create_args_wlan0=3D&quot;wlanmode sta r=
egdomain ETSI country PT&quot;<br>ifconfig_wlan0_ipv6=3D&quot;inet6 accept_=
rtadv&quot;<br>ifconfig_wlan0=3D&quot;WPA SYNCDHCP&quot;<br>rtsold_enable=
=3D&quot;YES&quot;</div><div>---</div><div>wlan0: flags=3D8843&lt;UP,BROADC=
AST,RUNNING,SIMPLEX,MULTICAST&gt; metric 0 mtu 1500<br>=C2=A0 =C2=A0 =C2=A0=
 =C2=A0 options=3D0<br>=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<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 inet6 fe80::6e6a:77ff:fedf:=
921%wlan0 prefixlen 64 scopeid 0x3<br>=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<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 groups: wlan<br>=C2=A0 =C2=A0 =C2=A0=
 =C2=A0 ssid MEO-787FB0 channel 11 (2462 MHz 11g) bssid 00:06:91:78:7f:b0<b=
r>=C2=A0 =C2=A0 =C2=A0 =C2=A0 regdomain ETSI country PT authmode WPA2/802.1=
1i privacy ON<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 deftxkey UNDEF AES-CCM 2:128-b=
it txpower 30 bmiss 7 scanvalid 60<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 protmode =
CTS wme roaming MANUAL<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 parent interface: iwl=
wifi0<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 media: IEEE 802.11 Wireless Ethernet O=
FDM/18Mbps mode 11g<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 status: associated<br>=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 nd6 options=3D23&lt;PERFORMNUD,ACCEPT_RTADV,AUT=
O_LINKLOCAL&gt;</div><div>---</div><div><br></div><div>Thanks all,<br></div=
></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr"=
>Shawn Webb &lt;<a href=3D"mailto:shawn.webb@hardenedbsd.org">shawn.webb@ha=
rdenedbsd.org</a>&gt; escreveu no dia s=C3=A1bado, 13/08/2022 =C3=A0(s) 21:=
55:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px =
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I should hav=
e mentioned that my wireless AP isn&#39;t your typical AP.<br>
It&#39;s running HardenedBSD 13-STABLE on a PC-Engines APU2 with an<br>
Atheros WNIC.<br>
<br>
Here&#39;s the relevant configs on the WAP:<br>
<br>
=3D=3D=3D=3D begin rc.conf =3D=3D=3D=3D<br>
ifconfig_igb0=3D&quot;DHCP&quot;<br>
ifconfig_igb0_ipv6=3D&quot;inet6 accept_rtadv&quot;<br>
<br>
wlans_ath0=3D&quot;wlan0&quot;<br>
create_args_wlan0=3D&quot;wlanmode hostap mode 11a up&quot;<br>
ifconfig_wlan0=3D&quot;HOSTAP&quot;<br>
<br>
cloned_interfaces=3D&quot;bridge0&quot;<br>
ifconfig_bridge0=3D&quot;addm igb0 addm wlan0 span igb1 up&quot;<br>
=3D=3D=3D=3D end rc.conf =3D=3D=3D=3D<br>
<br>
=3D=3D=3D=3D begin hostapd-wlan0.conf =3D=3D=3D=3D<br>
interface=3Dwlan0<br>
ctrl_interface=3D/var/run/hostapd-wlan0<br>
ctrl_interface_group=3Dwheel<br>
ssid=3D[redacted]<br>
wpa=3D2<br>
wpa_passphrase=3D[redacted]<br>
wpa_key_mgmt=3DWPA-PSK<br>
wpa_pairwise=3DCCMP<br>
=3D=3D=3D=3D end hostapd-wlan0.conf =3D=3D=3D=3D<br>
<br>
On Sat, Aug 13, 2022 at 09:49:34PM +0100, Nuno Teixeira wrote:<br>
&gt; Hello Shawn!<br>
&gt; <br>
&gt; I&#39;ve tested your config:<br>
&gt; ---<br>
&gt; wlans_iwlwifi0=3D&quot;wlan0&quot;<br>
&gt; create_args_wlan0=3D&quot;wlanmode sta regdomain ETSI country PT&quot;=
<br>
&gt; ifconfig_wlan0_ipv6=3D&quot;inet6 accept_rtadv&quot;<br>
&gt; ifconfig_wlan0=3D&quot;WPA DHCP&quot;<br>
&gt; rtsold_enable=3D&quot;YES&quot;<br>
&gt; ---<br>
&gt; and no carrier.<br>
&gt; <br>
&gt; Think we have to wait a little more and see if people that use ifwwifi=
<br>
&gt; driver do some tests on ipv6.<br>
&gt; <br>
&gt; Thanks,<br>
&gt; <br>
&gt; Shawn Webb &lt;<a href=3D"mailto:shawn.webb@hardenedbsd.org" target=3D=
"_blank">shawn.webb@hardenedbsd.org</a>&gt; escreveu no dia s=C3=A1bado, 13=
/08/2022<br>
&gt; =C3=A0(s) 21:21:<br>
&gt; <br>
&gt; &gt; On Sun, Aug 07, 2022 at 06:16:20PM +0100, Nuno Teixeira wrote:<br=
>
&gt; &gt; &gt; Hello,<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Due to ISP changes I was forced to use ipv6 on my re0 ethern=
et so I can<br>
&gt; &gt; &gt; have a funcional internet.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Now I&#39;m trying to get ipv6 on iwlwifi (AX201) with /etc/=
rc.conf:<br>
&gt; &gt; &gt; ---<br>
&gt; &gt; &gt; wlans_iwlwifi0=3D&quot;wlan0&quot;<br>
&gt; &gt; &gt; create_args_wlan0=3D&quot;wlanmode sta regdomain ETSI countr=
y PT&quot;<br>
&gt; &gt; &gt; ifconfig_wlan0_ipv6=3D&quot;inet6 accept_rtadv&quot;<br>
&gt; &gt; &gt; ifconfig_wlan0=3D&quot;WPA SYNCDHCP&quot;<br>
&gt; &gt; &gt; rtsold_enable=3D&quot;YES&quot;<br>
&gt; &gt; &gt; ---<br>
&gt; &gt; &gt; but wpa_supplicant doesn&#39;t connect after trying for some=
 seconds.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; How do I obtain more details to help showing my problem?<br>
&gt; &gt; &gt; I&#39;ve tried &quot;wpa_supplicant_flags=3D&quot;-f /var/lo=
g/wpa.log&quot; without success.<br>
&gt; &gt;<br>
&gt; &gt; Caveat: the last time I used the iwlwifi driver was somewhere bet=
ween<br>
&gt; &gt; one and two months ago, during which time there have been several=
<br>
&gt; &gt; changes in src related to wifi/linuxkpi stuff.<br>
&gt; &gt;<br>
&gt; &gt; Hardware: Dell Precision 7550, BIOS revision 1.13.0<br>
&gt; &gt;<br>
&gt; &gt; Dual stack IPv4+IPv6 worked for me that last time I used iwlwifi.=
<br>
&gt; &gt; Here&#39;s my relevant configs:<br>
&gt; &gt;<br>
&gt; &gt; =3D=3D=3D=3D begin rc.conf =3D=3D=3D=3D<br>
&gt; &gt; ifconfig_em0_ipv6=3D&quot;inet6 accept_rtadv&quot;<br>
&gt; &gt; ifconfig_em0=3D&quot;DHCP&quot;<br>
&gt; &gt;<br>
&gt; &gt; #wlans_iwlwifi0=3D&quot;wlan0&quot;<br>
&gt; &gt; create_args_wlan0=3D&quot;wlanmode sta&quot;<br>
&gt; &gt; wlandebug_wlan0=3D&quot;+state +crypto +node +auth +assoc +dot1xs=
m +wpa&quot;<br>
&gt; &gt; ifconfig_wlan0=3D&quot;WPA DHCP&quot;<br>
&gt; &gt; ifconfig_wlan0_ipv6=3D&quot;inet6 accept_rtadv&quot;<br>
&gt; &gt; =3D=3D=3D=3D end rc.conf =3D=3D=3D=3D<br>
&gt; &gt;<br>
&gt; &gt; =3D=3D=3D=3D begin `pciconf -lv` =3D=3D=3D=3D<br>
&gt; &gt; iwlwifi0@pci0:0:20:3:=C2=A0 =C2=A0class=3D0x028000 rev=3D0x00 hdr=
=3D0x00 vendor=3D0x8086<br>
&gt; &gt; device=3D0x06f0 subvendor=3D0x8086 subdevice=3D0x4070<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0vendor=C2=A0 =C2=A0 =C2=A0=3D &#39;Intel Corpo=
ration&#39;<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0device=C2=A0 =C2=A0 =C2=A0=3D &#39;Comet Lake =
PCH CNVi WiFi&#39;<br>
&gt; &gt; =3D=3D=3D=3D end `pciconf -lv` =3D=3D=3D=3D<br>
&gt; &gt;<br>
&gt; &gt; =3D=3D=3D=3D begin dmesg.boot =3D=3D=3D=3D<br>
&gt; &gt; 27] iwlwifi0: successfully loaded firmware image<br>
&gt; &gt; &#39;iwlwifi-QuZ-a0-hr-b0-71.ucode&#39;<br>
&gt; &gt; [27] iwlwifi0: api flags index 2 larger than supported by driver<=
br>
&gt; &gt; [27] iwlwifi0: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.37<br>
&gt; &gt; [27] iwlwifi0: loaded firmware version 71.058653f6.0 QuZ-a0-hr-b0=
-71.ucode<br>
&gt; &gt; op_mode iwlmvm<br>
&gt; &gt; [27] iwlwifi0: Detected Intel(R) Wi-Fi 6 AX201 160MHz, REV=3D0x35=
1<br>
&gt; &gt; [28] iwlwifi0: Detected RF HR B3, rfid=3D0x10a100<br>
&gt; &gt; [28] iwlwifi0: base HW address: [redacted]<br>
&gt; &gt; =3D=3D=3D=3D end dmesg.boot =3D=3D=3D=3D<br>
&gt; &gt;<br>
&gt; &gt; Hopefully this helps. But this is all the info I&#39;ve got. Plea=
se let me<br>
&gt; &gt; know if you have any questions or comments.<br>
&gt; &gt;<br>
&gt; &gt; Thanks,<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; Shawn Webb<br>
&gt; &gt; Cofounder / Security Engineer<br>
&gt; &gt; HardenedBSD<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; <a href=3D"https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/=
master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc" rel=3D"=
noreferrer" target=3D"_blank">https://git.hardenedbsd.org/hardenedbsd/pubke=
ys/-/raw/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc=
</a><br>
&gt; &gt;<br>
&gt; <br>
&gt; <br>
&gt; -- <br>
&gt; Nuno Teixeira<br>
&gt; FreeBSD Committer (ports)<br>
<br>
-- <br>
Shawn Webb<br>
Cofounder / Security Engineer<br>
HardenedBSD<br>
<br>
<a href=3D"https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Sha=
wn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc" rel=3D"noreferrer=
" target=3D"_blank">https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/m=
aster/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc</a><br>
</blockquote></div><br clear=3D"all"><br><span class=3D"gmail_signature_pre=
fix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><div dir=3D"l=
tr"><span style=3D"color:rgb(102,102,102)">Nuno Teixeira<br>FreeBSD Committ=
er (ports)</span></div></div>

--000000000000678bb40604536106--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7UKEHzpCn-3_tN4ood0B8y68oehnR2oxGWjArNj6bfFRBA>