Re: [iwlwifi] ipv6 connection problem

From: Shawn Webb <shawn.webb_at_hardenedbsd.org>
Date: Sat, 13 Aug 2022 20:54:06 UTC
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:

==== begin rc.conf ====
ifconfig_igb0="DHCP"
ifconfig_igb0_ipv6="inet6 accept_rtadv"

wlans_ath0="wlan0"
create_args_wlan0="wlanmode hostap mode 11a up"
ifconfig_wlan0="HOSTAP"

cloned_interfaces="bridge0"
ifconfig_bridge0="addm igb0 addm wlan0 span igb1 up"
==== end rc.conf ====

==== begin hostapd-wlan0.conf ====
interface=wlan0
ctrl_interface=/var/run/hostapd-wlan0
ctrl_interface_group=wheel
ssid=[redacted]
wpa=2
wpa_passphrase=[redacted]
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
==== end hostapd-wlan0.conf ====

On Sat, Aug 13, 2022 at 09:49:34PM +0100, Nuno Teixeira wrote:
> Hello Shawn!
> 
> I've tested your config:
> ---
> wlans_iwlwifi0="wlan0"
> create_args_wlan0="wlanmode sta regdomain ETSI country PT"
> ifconfig_wlan0_ipv6="inet6 accept_rtadv"
> ifconfig_wlan0="WPA DHCP"
> rtsold_enable="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ábado, 13/08/2022
> ŕ(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="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.
> >
> > 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:
> >
> > ==== begin rc.conf ====
> > ifconfig_em0_ipv6="inet6 accept_rtadv"
> > ifconfig_em0="DHCP"
> >
> > #wlans_iwlwifi0="wlan0"
> > create_args_wlan0="wlanmode sta"
> > wlandebug_wlan0="+state +crypto +node +auth +assoc +dot1xsm +wpa"
> > ifconfig_wlan0="WPA DHCP"
> > ifconfig_wlan0_ipv6="inet6 accept_rtadv"
> > ==== end rc.conf ====
> >
> > ==== begin `pciconf -lv` ====
> > iwlwifi0@pci0:0:20:3:   class=0x028000 rev=0x00 hdr=0x00 vendor=0x8086
> > device=0x06f0 subvendor=0x8086 subdevice=0x4070
> >     vendor     = 'Intel Corporation'
> >     device     = 'Comet Lake PCH CNVi WiFi'
> > ==== end `pciconf -lv` ====
> >
> > ==== begin dmesg.boot ====
> > 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=0x351
> > [28] iwlwifi0: Detected RF HR B3, rfid=0x10a100
> > [28] iwlwifi0: base HW address: [redacted]
> > ==== end dmesg.boot ====
> >
> > 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
> >
> 
> 
> -- 
> Nuno Teixeira
> FreeBSD Committer (ports)

-- 
Shawn Webb
Cofounder / Security Engineer
HardenedBSD

https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc